[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v1 03/22] kvm: use separate MemoryListeners for me
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [RFC v1 03/22] kvm: use separate MemoryListeners for memory and I/O |
Date: |
Thu, 4 Oct 2012 16:44:31 +0000 |
On Thu, Oct 4, 2012 at 6:33 AM, Avi Kivity <address@hidden> wrote:
> On 10/03/2012 10:16 PM, Blue Swirl wrote:
>> > +static MemoryListener kvm_io_listener = {
>>
>> const
>>
>
> There is a list link field in there. It's a mixed data/ops structure
> (perhaps we should make it a traditional ->ops-> pointer).
I grepped for MemoryListener and in hw/xen_pt.c 'const' already
exists, so it looked OK but the code actually copies the structure to
writable memory.
>
> --
> I have a truly marvellous patch that fixes the bug which this
> signature is too narrow to contain.
>
- [Qemu-devel] [RFC v1 00/22] Integrate DMA into the memory API, Avi Kivity, 2012/10/03
- [Qemu-devel] [RFC v1 01/22] memory: rename 'exec-obsolete.h', Avi Kivity, 2012/10/03
- [Qemu-devel] [RFC v1 02/22] vhost: use MemoryListener filtering to only monitor RAM address space, Avi Kivity, 2012/10/03
- [Qemu-devel] [RFC v1 05/22] memory: prepare AddressSpace for exporting, Avi Kivity, 2012/10/03
- [Qemu-devel] [RFC v1 04/22] xen_pt: use separate MemoryListeners for memory and I/O, Avi Kivity, 2012/10/03
- [Qemu-devel] [RFC v1 03/22] kvm: use separate MemoryListeners for memory and I/O, Avi Kivity, 2012/10/03
[Qemu-devel] [RFC v1 09/22] memory: use new MEMORY_LISTENER_DEFAULT_OPS, Avi Kivity, 2012/10/03
[Qemu-devel] [RFC v1 06/22] memory: export AddressSpace, Avi Kivity, 2012/10/03
[Qemu-devel] [RFC v1 07/22] memory: maintain a list of address spaces, Avi Kivity, 2012/10/03
[Qemu-devel] [RFC v1 08/22] memory: provide defaults for MemoryListener operations, Avi Kivity, 2012/10/03