Ack: [natty][SRU][PATCH] bug #1018440 - KVM domain restore reboots the domain instead
Brad Figg
brad.figg at canonical.com
Wed Jun 27 18:56:09 UTC 2012
On 06/27/2012 09:59 AM, Chris J Arges wrote:
> BugLink: https://bugs.launchpad.net/bugs/1018440
>
> == Natty SRU Justification ==
>
> KVM domain restore reboots the domain instead, the reported uptime is
> incorrect.
>
> == Fix ==
>
> Upstream patch : 5233dd51ece1615d54ab96c4cbe9ac3cc595e955 fixes the
> issue. This patch is present in Oneiric onwards. This patch only allows
> vmx_decache_cr3 to be run iff vcpu->arch.cr3 is stale.
>
> == Testcase ==
>
> 1 Start a VM
> 2 let it accumulate some uptime; maybe start a background job
> 3 save or managedsave the VM and verify that it becomes "shut off"
> 4 restore or start the saved VM.
> 5 check uptime of VM and state of background job, if started.
>
> The uptime of the restored VM should represent the time it was up before
> being saved. It shows as being 0 since the VM gets rebooted
>
> Thanks,
> --chris j arges
>
>
>
>
>
--
Brad Figg brad.figg at canonical.com http://www.canonical.com
More information about the kernel-team
mailing list