-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
libvirt-10.0.0-4.el9
-
None
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
25
-
27
-
None
-
QE ack, Dev ack
-
False
-
-
None
-
None
-
Pass
-
Automated
-
None
What were you trying to do that didn't work?
Migrate a vm with vhostvdpa disk, it failed:
# virsh migrate fjin1 qemu+tcp://
error: internal error: cannot precreate storage for disk type 'vhostvdpa'
h3. Please provide the package NVR for which bug is seen:
libvirt-10.0.0-2.el9.x86_64
h3. How reproducible:
100%
h3. Steps to reproduce
# Prepare two hosts, create vhostvdpa disk on them:
modprobe vhost-vdpa modprobe vdpa-sim-blk vdpa dev add mgmtdev vdpasim_blk name blk0 vdpa dev add mgmtdev vdpasim_blk name blk1
# Start a vm with vhostvdpa disk:
<disk type="vhostvdpa" device="disk"> <driver name="qemu" type="raw" cache="none"/> <source dev="/dev/vhost-vdpa-1" index="1"/> <target dev="vdc" bus="virtio"/> </disk>
# Try to migrate vm to the other host:
# virsh migrate fjin1 qemu+tcp://{target_host}
/system --zerocopy --parallel --live --p2p --undefinesource --persistent --copy-storage-all --migrate-disks vdc
error: internal error: cannot precreate storage for disk type 'vhostvdpa'
Expected results
Migration can succeed
Actual results
Migration failed
- links to
-
RHBA-2023:125049 libvirt bug fix and enhancement update