[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 11/11] usb/ehci: Put RAM in undefined MMIO re
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 11/11] usb/ehci: Put RAM in undefined MMIO regions |
Date: |
Fri, 26 Oct 2012 09:37:22 +0100 |
On 26 October 2012 06:47, Peter Crosthwaite
<address@hidden> wrote:
> Just put RAM regions in the unimplemented spaces in the MMIO region. These
> regions have undefined behaviour, but this at least stops QEMU from
> segfaulting
> when the guest bangs on these registers (and sucessfully fakes reading and
> writing the registers with no side effects).
I definitely don't like this. RAZ/WI might be OK, but implementing
random areas of devices as RAM smells like a hack. Better would be
to identify what the guest is actually doing in these areas.
And we still need to actually identify what is segfaulting and
fix that as a separate bug -- can we have a backtrace please?
-- PMM
[Qemu-devel] [PATCH v2 10/11] usb/ehci: Debug mode compile fixes, Peter Crosthwaite, 2012/10/26
[Qemu-devel] [PATCH v2 08/11] xilinx_zynq: add USB controllers, Peter Crosthwaite, 2012/10/26