Public bug reported:

[ Impact ]

  On ARM64, VM's can not wakeup after a dompmsuspend is issued.

[Test Case]

Configure a system with Xenial, install qemu from cloud-archive:pike
Install:  qemu-efi virt-manager libvirt-bin qemu-guest-agent qemu-system-aarch64

qemu-system-aarch64:
  Installed: 1:2.10+dfsg-0ubuntu3.1~cloud0
  Candidate: 1:2.10+dfsg-0ubuntu3.1~cloud0

libvirt-bin:
  Installed: 3.6.0-1ubuntu5~cloud0
  Candidate: 3.6.0-1ubuntu5~cloud0


On the test system:   

   1. create a virtual machine that runs fine (in this example Ubuntu 17.10)
   2. Install qemu-guest-agent on the VM
       
qemu-guest-agent:
  Installed: 1:2.10+dfsg-0ubuntu3.1
  Candidate: 1:2.10+dfsg-0ubuntu3.1


   3. Power off the VM and edit the xml to enable qemu-guest-agent:
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>


   4. suspend it
      $ sudo virsh dompmsuspend ubuntu1710 --target mem

      Console will report:  
       $ sudo virsh dompmsuspend ubuntu1710 --target mem
       Domain ubuntu1710 successfully suspended


   5. confirm that the VM suspends
      virsh-list will still identify the VM as running however the VM is now 
inaccessible via console. We appear to be suspended. But no logs can be found 
actually confirming this is happening.  


   3. wake it up
      $ sudo virsh dompmwakeup ubuntu1710
        Domain ubuntu1710 successfully woken up

Observed Result:
      The VM will never wakeup, the console will not respond to keystrokes, the 
VM must be reset in order to recover it. 

Expected Result:
      The VM wakesup as expected and is fully functional

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- (arm64) unable to dompmwakeup a domain after being suspended
+ (arm64) unable to dompmwakeup a vm after being suspended

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737786

Title:
  (arm64) unable to dompmwakeup a vm after being suspended

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1737786/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to