Unit tests for IOThread XML Conversion
@@ -371,51 +371,51 @@ var _ = Describe("Converter", func() {
<disk device="disk" type="file">
<source file="/var/run/kubevirt-private/vmi-disks/myvolume/disk.img"></source>
<target bus="virtio" dev="vda"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="2"></driver>
<alias name="ua-mydisk"></alias>
</disk>
<disk device="disk" type="file">
<source file="/var/run/libvirt/cloud-init-dir/mynamespace/testvmi/noCloud.iso"></source>
<target bus="virtio" dev="vdb"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="3"></driver>
<alias name="ua-mydisk1"></alias>
</disk>
<disk device="cdrom" type="file">
<source file="/var/run/libvirt/cloud-init-dir/mynamespace/testvmi/noCloud.iso"></source>
<target bus="sata" dev="sda" tray="closed"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="1"></driver>
<alias name="ua-cdrom_tray_unspecified"></alias>
</disk>
<disk device="cdrom" type="file">
<source file="/var/run/kubevirt-private/vmi-disks/volume1/disk.img"></source>
<target bus="sata" dev="sdb" tray="open"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="1"></driver>
<readonly></readonly>
<alias name="ua-cdrom_tray_open"></alias>
</disk>
<disk device="floppy" type="file">
<source file="/var/run/kubevirt-private/vmi-disks/volume2/disk.img"></source>
<target bus="fdc" dev="fda" tray="closed"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="1"></driver>
<alias name="ua-floppy_tray_unspecified"></alias>
</disk>
<disk device="floppy" type="file">
<source file="/var/run/kubevirt-private/vmi-disks/volume3/disk.img"></source>
<target bus="fdc" dev="fdb" tray="open"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="1"></driver>
<readonly></readonly>
<alias name="ua-floppy_tray_open"></alias>
</disk>
<disk device="disk" type="file">
<source file="/var/run/kubevirt-private/vmi-disks/volume4/disk.img"></source>
<target bus="sata" dev="sdc"></target>
- <driver name="qemu" type="raw"></driver>
+ <driver name="qemu" type="raw" iothread="1"></driver>
<alias name="ua-should_default_to_disk"></alias>
</disk>
<disk device="disk" type="file">
<source file="/var/run/libvirt/kubevirt-ephemeral-disk/volume5/disk.qcow2"></source>
<target bus="sata" dev="sdd"></target>
- <driver name="qemu" type="qcow2"></driver>
+ <driver name="qemu" type="qcow2" iothread="1"></driver>
<alias name="ua-ephemeral_pvc"></alias>
<backingStore type="file">
<format type="raw"></format>
