kvm: dompmwakeup fails if domain becomes pmsuspended

Bug #1366868 reported by Chris J Arges
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
seabios (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Won't Fix
Undecided
Chris J Arges

Bug Description

[Impact]

When using qemu/kvm/libvirt, if one suspends the VM using actual power suspending code, the guest cannot resume using 'virsh dompmwakeup'.

[Test Case]

1) Create a KVM VM and install Trusty using libvirt (although qemu alone will also exhibit this problem)
2) Inside the vm run (as root): 'echo mem > /sys/power/state'
3) From the hypervisor run 'virsh dompmwakeup <domain name>'
4) The domain should resume

[Regression Potential]

Commit 40d020f56226aee7c75a6c29f471c4b866765732 from seabios backported into trusty fixes the issue.

Tags: trusty
Chris J Arges (arges)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Chris J Arges (arges)
Changed in linux (Ubuntu):
status: In Progress → Fix Released
assignee: Chris J Arges (arges) → nobody
Changed in linux (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → Medium
Changed in linux (Ubuntu):
importance: Medium → Undecided
Revision history for this message
Chris J Arges (arges) wrote :

This is a qemu issue, not a kernel issue. This works with qemu 2.1, and not 2.0. Doing a bisect now.

no longer affects: linux (Ubuntu)
Changed in qemu (Ubuntu):
status: New → Fix Released
no longer affects: linux (Ubuntu Trusty)
Changed in qemu (Ubuntu Trusty):
assignee: nobody → Chris J Arges (arges)
status: New → In Progress
importance: Undecided → Medium
Chris J Arges (arges)
description: updated
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks, we can combine this SRU with bug 1324174.

Chris J Arges (arges)
description: updated
Chris J Arges (arges)
no longer affects: qemu (Ubuntu Trusty)
no longer affects: qemu (Ubuntu)
Changed in seabios (Ubuntu Trusty):
assignee: nobody → Chris J Arges (arges)
status: New → In Progress
Changed in seabios (Ubuntu):
status: New → Fix Released
description: updated
Chris J Arges (arges)
description: updated
description: updated
Revision history for this message
Chris J Arges (arges) wrote :

This fix has been uploaded into the trusty queue.

Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted seabios into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/seabios/1.7.4-4ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in seabios (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : [seabios/trusty] verification still needed

The fix for this bug has been awaiting testing feedback in the -proposed repository for trusty for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Mathew Hodson (mhodson)
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package removed from archive

The version of seabios in the proposed pocket of Trusty that was purported to fix this bug report has been removed because the bugs that were to be fixed by the upload were not verified in a timely (105 days) fashion.

Changed in seabios (Ubuntu Trusty):
status: Fix Committed → Won't Fix
Mathew Hodson (mhodson)
tags: added: trusty
removed: removal-candidate verification-needed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.