qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] fsl-imx6: Swap Ethernet interrupt defines


From: Guenter Roeck
Subject: Re: [Qemu-devel] [PATCH] fsl-imx6: Swap Ethernet interrupt defines
Date: Thu, 8 Mar 2018 07:05:45 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/08/2018 06:51 AM, Peter Maydell wrote:
On 8 March 2018 at 14:47, Guenter Roeck <address@hidden> wrote:
On 03/08/2018 02:50 AM, Peter Maydell wrote:
So do the works-by-accident kernels fail on QEMU because
we don't emulate some bit of the ethernet device ?
Ideally we could fix that so we could boot newer kernels
without breaking the old ones...


I don't know if a fix working for all versions of Linux is even possible.
Creating both interrupts might be an option, but would likely cause
other problems since some versions of Linux would handle the same
interrupt twice, while others expect the second interrupt
to be associated with the timer.

Did the older Linux kernels work on the real hardware? (I
would guess so, but sometimes these things only get tested
on emulation...) If so, then in theory "make QEMU work like
the hardware" should allow all the kernels to work on QEMU.


Good point. I'll assume that this is the case, and have another look.
Unfortunately I don't have real hardware, so it is difficult to observe
the differences for real.

Guenter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]