-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
qemu-kvm-8.2.0-3.el9
-
None
-
None
-
rhel-sst-virtualization
-
ssg_virtualization
-
19
-
23
-
None
-
False
-
-
None
-
None
-
Pass
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
qemu crashed when migrate guest with blob resources enabled
Version-Release number of selected component (if applicable):
libvirt-9.5.0-6.el9.x86_64
qemu-kvm-8.0.0-13.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. prepare a guest with the following xml snippet
- virsh dumpxml lizhu --xpath //video
<video>
<model type="virtio" heads="1" primary="yes" blob="on"/>
<alias name="video0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>
2. migrate the guest to another host
- virsh migrate lizhu qemu+ssh://$target_host/system --verbose --live
Migration: [98.32 %]error: operation failed: domain is not running
3. check the qemu log on target host
#cat /var/log/libvirt/qemu/lizhu.log
...
2023-08-30 14:35:30.653+0000: Domain id=1 is tainted: host-cpu
char device redirected to /dev/pts/2 (label charserial0)
2023-08-30T14:35:37.352236Z qemu-kvm: Failed to load virtio-gpu:virtio-gpu
2023-08-30T14:35:37.352266Z qemu-kvm: error while loading state for
instance 0x0 of device '0000:00:01.0/virtio-gpu'
2023-08-30T14:35:37.352442Z qemu-kvm: load of migration failed: Invalid argument
2023-08-30 14:35:37.754+0000: shutting down, reason=crashed
4. check the qemu log on source host
#cat /var/log/libvirt/qemu/lizhu.log
...
2023-08-30 14:35:30.974+0000: initiating migration
2023-08-30 14:35:37.789+0000: shutting down, reason=crashed
5. check the guest states on source host
- virsh domstate lizhu --reason
shut off (unknown)
Actual results:
Migration failed, qemu crashed
Expected results:
Qemu should not crash.
- depends on
-
RHEL-14111 Rebase qemu-kvm to QEMU 8.2.0
- Closed
- external trackers
- links to
-
RHBA-2023:121202 qemu-kvm bug fix and enhancement update
- mentioned on