Re: [PATCH v2 2/6] KVM-HV: KVM Steal time implementation

From: Avi Kivity
Date: Wed Feb 02 2011 - 05:09:47 EST


On 02/01/2011 09:58 PM, Glauber Costa wrote:
>
> Guest reads version (result: 2)
> Guest starts reading data
> Live migration; vcpu->arch.sversion is zeroed
> Steal time update; vcpu->arch.sversion += 2; write to guest
> Guest continues reading data
> Guest reads version (result: 2)
>
> So the guest is unaware that an update has occurred while it was reading
> the data.
Ok, fair.

By the way, kvmclock have the same problem, then


It needs the same fix then.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/