Chris J Arges | 27 Jun 2012 18:59
Favicon

[natty][SRU][PATCH] bug #1018440 - KVM domain restore reboots the domain instead

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

(Continue reading)

Tim Gardner | 27 Jun 2012 19:05
Favicon

ACK: [natty][SRU][PATCH] bug #1018440 - KVM domain restore reboots the domain instead


--

-- 
Tim Gardner tim.gardner <at> canonical.com

Brad Figg | 27 Jun 2012 20:56
Favicon

Ack: [natty][SRU][PATCH] bug #1018440 - KVM domain restore reboots the domain instead

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
> 
> 
> 
(Continue reading)

Tim Gardner | 27 Jun 2012 21:02
Favicon

APPLIED: [natty][SRU][PATCH] bug #1018440 - KVM domain restore reboots the domain instead


--

-- 
Tim Gardner tim.gardner <at> canonical.com


Gmane