Bug 1353222 - Failure to recover saved state if usb keyboard present
Summary: Failure to recover saved state if usb keyboard present
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-06 14:52 UTC by Zeeshan Ali
Modified: 2016-09-20 01:43 UTC (History)
14 users (show)

Fixed In Version: libvirt-1.3.3.2-1.fc24
Clone Of:
Environment:
Last Closed: 2016-07-22 15:58:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zeeshan Ali 2016-07-06 14:52:24 UTC
Description of problem:

If xml definition of a domain contains a USB keyboard device:

    <input type='keyboard' bus='usb'/>

libvirt fails to start the domain:

# start fedora23-wor
error: Failed to start domain fedora23-wor
error: operation failed: job: unexpectedly failed

Here is the log:

2016-07-06T14:30:09.571487Z qemu-system-x86_64: Unknown savevm section or instance '0000:00:06.7/3/usb-kbd' 0
2016-07-06T14:30:09.573564Z qemu-system-x86_64: load of migration failed: Invalid argument

Version-Release number of selected component (if applicable):

libvirt: 1.3.3.1
qemu: 2.6.0-4

Host is Fedora 24.

Comment 1 Pavel Hrdina 2016-07-07 08:20:12 UTC
Fixed in upstream:

commit 3d3d1dfa3125a71e7944c725e554fbfcfaac9c5f
Author: Pavel Hrdina <phrdina>
Date:   Fri May 6 13:55:15 2016 +0200

    domain_conf: fix migration/managedsave with usb keyboard

Needs to be backported to Fedora.  Assigning to Cole in order to handle the fedora package.

Comment 2 Fedora Update System 2016-07-19 11:25:21 UTC
libvirt-1.3.3.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-65cc608ebe

Comment 3 Fedora Update System 2016-07-20 01:53:43 UTC
libvirt-1.3.3.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-65cc608ebe

Comment 4 Fedora Update System 2016-07-22 15:56:55 UTC
libvirt-1.3.3.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.