qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] kvm: Reallocate dirty_bmap when we change a slot


From: Peter Xu
Subject: Re: [PATCH] kvm: Reallocate dirty_bmap when we change a slot
Date: Thu, 21 Nov 2019 12:17:35 -0500
User-agent: Mutt/1.11.4 (2019-03-13)

On Thu, Nov 21, 2019 at 04:56:45PM +0000, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
> 
> kvm_set_phys_mem can be called to reallocate a slot by something the
> guest does (e.g. writing to PAM and other chipset registers).
> This can happen in the middle of a migration, and if we're unlucky
> it can now happen between the split 'sync' and 'clear'; the clear
> asserts if there's no bmap to clear.   Recreate the bmap whenever
> we change the slot, keeping the clear path happy.
> 
> Typically this is triggered by the guest rebooting during a migrate.
> 
> Corresponds to:
> https://bugzilla.redhat.com/show_bug.cgi?id=1772774
> https://bugzilla.redhat.com/show_bug.cgi?id=1771032
> 
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>

Reviewed-by: Peter Xu <address@hidden>

Thanks!

-- 
Peter Xu




reply via email to

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