[Pkg-libvirt-maintainers] Bug#840853: Reassign

Neil Williams codehelp at debian.org
Thu Oct 20 11:08:52 UTC 2016


reassign 840853 qemu
retitle 840853 qemu 2.7 requires linuxboot_dma.bin but does not provide or depend on it
affects 840853 + python-guestfs
found 840853 1:2.7+dfsg-1
thanks

Test scripts using python-guestfs fail with QEMU 2.7, as does the
guestfs tool itself. This appears to be because QEMU 2.7 cannot find
linuxboot_dma.bin in the following command used by guestfs:

/usr/bin/qemu-system-x86_64 \
    -global virtio-blk-pci.scsi=off \
    -nodefconfig \
    -enable-fips \
    -nodefaults \
    -display none \
    -machine accel=kvm:tcg \
    -m 500 \
    -no-reboot \
    -rtc driftfix=slew \
    -no-hpet \
    -global kvm-pit.lost_tick_policy=discard \
    -kernel /var/tmp/.guestfs-1000/appliance.d/kernel \
    -initrd /var/tmp/.guestfs-1000/appliance.d/initrd \
    -device virtio-scsi-pci,id=scsi \
    -drive file=/tmp/libguestfsiuwwOX/scratch.1,cache=unsafe,format=raw,id=hd0,if=none \
    -device scsi-hd,drive=hd0 \
    -drive file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
    -device scsi-hd,drive=appliance \
    -device virtio-serial-pci \
    -serial stdio \
    -device sga \
    -chardev socket,path=/tmp/libguestfsiuwwOX/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -append 'panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check lpj=10639240 acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen'
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
Could not open option rom 'linuxboot_dma.bin': No such file or directory
Could not open option rom 'sgabios.bin': No such file or directory

The lack of sgabios.bin does not seem to affect this particular test.

The requirement for linuxboot_dma.bin is specific to QEMU 2.7 and is
not provided by the seabios package (which provides linuxboot_dma.bin).
As a workaround, symlinking linuxboot_dma.bin as linuxboot.bin
in /usr/share/seabios/ allows the guestfs operations to proceed.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20161020/919f4aaa/attachment-0001.sig>


More information about the Pkg-libvirt-maintainers mailing list