[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] balloon: Do not save VM state wrt asynchronous
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: [PATCH] balloon: Do not save VM state wrt asynchronous virtio operations |
Date: |
Tue, 09 Mar 2010 20:20:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Adam Litke <address@hidden> wrote:
> When working with the VM state (for loadvm/savevm and migration), it is not
> valid to load and store pointers since the validity of those pointers cannot
> be
> assured in the new qemu address space. Therefore, virtio_balloon_save() and
> virtio_balloon_load() must not handle the stats-related fields in struct
> VirtIOBalloon.
>
> If a memory stats request is in-flight at the time of a migration or savevm,
> the request will not complete and should be resubmitted once migration or
> loadvm completes. Note that this extremely small race window can only be
> triggered using QMP so it is not possible to hang the user monitor.
>
> Signed-off-by: Adam Litke <address@hidden>
Acked-by: Juan Quintela <address@hidden>