|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [Qemu-devel] [PATCH V9 10/16] xen: Introduce the Xen map
On Wed, 26 Jan 2011, Anthony Liguori wrote:
> > +void qemu_invalidate_map_cache(void)
> > +{
> > + unsigned long i;
> > + MapCacheRev *reventry;
> > +
> > + qemu_aio_flush();
> >
>
> This is bizarre? Why is this needed?
>
Sorry, I forgot to reply to this question.
Xen might send an IOREQ_TYPE_INVALIDATE at any time and we have to
flush the mapcache in response. Of course we cannot flush the mapcache
if there are any in flight AIO's, so we have to make sure they are all
completed before destroying all the mappings.
Maybe there is better API to do that than calling qemu_aio_flush()?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH V9 07/16] xen: Add the Xen platform pci device, (continued)
- [Xen-devel] [PATCH V9 07/16] xen: Add the Xen platform pci device, anthony . perard
- [Xen-devel] [PATCH V9 08/16] piix_pci: Introduces Xen specific call for irq., anthony . perard
- [Xen-devel] [PATCH V9 09/16] xen: add a 8259 Interrupt Controller, anthony . perard
- [Xen-devel] [PATCH V9 11/16] configure: Always use 64bits target physical addresses with xen enabled., anthony . perard
- [Xen-devel] [PATCH V9 10/16] xen: Introduce the Xen mapcache, anthony . perard
- [Xen-devel] [PATCH V9 12/16] Introduce qemu_ram_ptr_unlock., anthony . perard
- [Xen-devel] [PATCH V9 13/16] vl.c: Introduce getter for shutdown_requested and reset_requested., anthony . perard
- [Xen-devel] [PATCH V9 14/16] xen: Initialize event channels and io rings, anthony . perard
- [Xen-devel] [PATCH V9 15/16] xen: Set running state in xenstore., anthony . perard
- [Xen-devel] [PATCH V9 16/16] acpi-piix4: Add Xen hypercall for sleep state., anthony . perard
|
|
|
|
|