Comment 46 for bug 1734856

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-01-03 02:12 EDT-------
Tested, it is working fine in both xenial and zesty.

information of zesty:
-----------------------
1)kernel level
root@ltc-fire4:/var/lib/libvirt/images# uname -a
Linux ltc-fire4 4.10.0-42-generic #46-Ubuntu SMP Mon Dec 4 14:35:45 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-fire4:/var/lib/libvirt/images#

2) slof package level:slof package level:
root@ltc-fire4:/var/lib/libvirt/images# dpkg -l | grep slof
ii qemu-slof 20161019+dfsg-1ubuntu0.1 all Slimline Open Firmware -- QEMU PowerPC version

3) Recreation steps:
i) Prep a guest
ii) Remove in the os section
<boot dev='hd'/>
iii) Add this on your former primary disk:
<boot order='1'/>
iv) And then add the xml content generated with:
echo "" > disk.xml;
for i in {1..24}; do
h=$(printf "\x$(printf %x $((98+$i)))")
echo "<disk type='file' device='disk'><driver name='qemu' type='qcow2'/><source file='/var/lib/uvtool/libvirt/images/cpaelzer-bionic-t$i.qcow'/><alias name='virtio-disk0'/><target dev='vd$h' bus='virtio'/><boot order='$((i+1))'/></disk>" >> disk.xml
qemu-img create -f qcow2 /var/lib/uvtool/libvirt/images/cpaelzer-bionic-t$i.qcow 1M
echo "<disk type='file' device='disk'><driver name='qemu' type='qcow2'/><source file='/var/lib/uvtool/libvirt/images/cpaelzer-bionic-tb$i.qcow'/><alias name='virtio-disk0'/><target dev='vdb$h' bus='virtio'/><boot order='$((i+24+1))'/></disk>" >> disk.xml
qemu-img create -f qcow2 /var/lib/uvtool/libvirt/images/cpaelzer-bionic-tb$i.qcow 1M
done
v) virsh start guest-name --console

4)will be attaching guest xml and ouput of lsblk command output from the guest.