Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1144490
Summary: | QEMU crashes on source host during migration | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> |
Component: | qemu | Assignee: | Fedora Virtualization Maintainers <virt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | amit.shah, berrange, cfergeau, crobinso, dwmw2, gkurz, itamar, mst, pbonzini, rjones, scottt.tw, virt-maint |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-2.1.2-4.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-11 07:02:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Berrangé
2014-09-19 14:12:14 UTC
I know there are some patches that are already accumulating for qemu 2.1.2 that I think are migration related. mst, does that assertion `!n->vhost_started' sound familiar? yes, a known bug, will be fixed in 2.1.2 qemu-2.1.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qemu-2.1.1-2.fc21 Package qemu-2.1.1-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qemu-2.1.1-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11180/qemu-2.1.1-2.fc21 then log in and leave karma (feedback). qemu-2.1.2-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qemu-2.1.2-2.fc21 qemu-2.1.2-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. Because of that BZ, the latest QEMU packages for fedora21 are broken with pseries booting from a virtio disk. When looking at the source RPM, I have spotted the following patch file: 0006-virtio-pci-enable-bus-master-for-old-guests.patch From a9862ff2c205aa289b62abcb7ddd03c7630f5c7a Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" <mst> Date: Thu, 11 Sep 2014 18:45:33 +0200 Subject: [PATCH] virtio-pci: enable bus master for old guests commit cc943c36faa192cd4b32af8fe5edb31894017d35 pci: Use bus master address space for delivering MSI/MSI-X messages breaks virtio-net for rhel6.[56] x86 guests because they don't enable bus mastering for virtio PCI devices. For the same reason, rhel6.[56] ppc64 guests cannot boot on a virtio-blk disk anymore. Old guests forgot to enable bus mastering, enable it automatically on DRIVER (guests use some devices before DRIVER_OK). Reported-by: Greg Kurz <gkurz.ibm.com> Reviewed-by: Greg Kurz <gkurz.ibm.com> Tested-by: Greg Kurz <gkurz.ibm.com> Signed-off-by: Michael S. Tsirkin <mst> (cherry picked from commit e43c0b2ea5574efb0bedebf6a7d05916eefeba52) This commit has been reviewed as toxic and reverted from the QEMU master branch upstream: http://git.qemu-project.org/?p=qemu.git;a=commit;h=45363e46aeebfc99753389649eac7c7fc22bfe52 If fedora21 is supposed to act as an hypervisor for pseries guest, you should consider reverting this commit as well. (In reply to Greg Kurz from comment #7) > Because of that BZ, the latest QEMU packages for fedora21 are broken with > pseries booting from a virtio disk. > > When looking at the source RPM, I have spotted the following patch file: > > 0006-virtio-pci-enable-bus-master-for-old-guests.patch > Oops my bad, wrong patch file... I meant: 0007-virtio-pci-fix-migration-for-pci-bus-master.patch From 2c8d6826ebaf1bf846edd213f8fe8f95c0c300cb Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" <mst> Date: Thu, 11 Sep 2014 18:34:29 +0300 Subject: [PATCH] virtio-pci: fix migration for pci bus master ... Cc: Jason Wang <jasowang> Cc: Greg Kurz <gkurz.ibm.com> Signed-off-by: Michael S. Tsirkin <mst> (cherry picked from commit 4d43d3f3c8147ade184df9a1e9e82826edd39e19) qemu-2.1.2-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qemu-2.1.2-4.fc21 Package qemu-2.1.2-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qemu-2.1.2-4.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12404/qemu-2.1.2-4.fc21 then log in and leave karma (feedback). qemu-2.1.2-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |