[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/5] memory: Flush coalesced MMIO on selected re
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH 2/5] memory: Flush coalesced MMIO on selected region access |
Date: |
Mon, 25 Jun 2012 11:36:40 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
On 06/25/2012 10:00 AM, Jan Kiszka wrote:
> Instead of flushing pending coalesced MMIO requests on every vmexit,
> this provides a mechanism to selectively flush when memory regions
> related to the coalesced one are accessed. This first of all includes
> the coalesced region itself but can also applied to other regions, e.g.
> @@ -521,6 +522,18 @@ void memory_region_add_coalescing(MemoryRegion *mr,
> void memory_region_clear_coalescing(MemoryRegion *mr);
>
> /**
> + * memory_region_set_flush_coalesced: Enforce memory coalescing flush before
> + * accesses.
> + *
> + * Ensure that pending coalesced MMIO request are flushed before the memory
> + * region is accessed. This property is automatically enabled for all regions
> + * passed to memory_region_set_coalescing() and
> memory_region_add_coalescing().
> + *
> + * @mr: the memory region to be updated.
> + */
> +void memory_region_set_flush_coalesced(MemoryRegion *mr);
> +
> +/**
Please provide a way to clear the flag (and autoclear on clear_coalesced).
--
error compiling committee.c: too many arguments to function
[Qemu-devel] [PATCH 1/5] i82378: Remove bogus MMIO coalescing, Jan Kiszka, 2012/06/25