qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 for-xen-4.5] xen_disk: fix unmapping of persi


From: George Dunlap
Subject: Re: [Qemu-devel] [PATCH v3 for-xen-4.5] xen_disk: fix unmapping of persistent grants
Date: Thu, 13 Nov 2014 19:21:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/13/2014 05:42 PM, Roger Pau Monne wrote:
This patch fixes two issues with persistent grants and the disk PV backend
(Qdisk):

  - Keep track of memory regions where persistent grants have been mapped
    since we need to unmap them as a whole. It is not possible to unmap a
    single grant if it has been batch-mapped. A new check has also been added
    to make sure persistent grants are only used if the whole mapped region
    can be persistently mapped in the batch_maps case.
  - Unmap persistent grants before switching to the closed state, so the
    frontend can also free them.

Signed-off-by: Roger Pau Monné <address@hidden>
Reported-by: George Dunlap <address@hidden>

Tested-by: George Dunlap <address@hidden>




reply via email to

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