Re: [PATCH] kvm: robustify steal time record

From: Radim
Date: Tue May 03 2016 - 11:31:00 EST

2016-05-03 03:19+0000, Wanpeng Li:
> From: Wanpeng Li <>
> Guest should only trust data to be valid when version haven't changed
> before and after reads of steal time. Besides not changing, it has to
> be an even number. Hypervisor may write an odd number to version field
> to indicate that an update is in progress.
> kvm_steal_clock() in guest has already done the read side, make write
> side in hypervisor more robust by following the above rule.
> Reviewed-by: Wincy Van <fanwenyi0529@xxxxxxxxx>
> Signed-off-by: Wanpeng Li <>
> ---

Queued, thanks.