I was wrong about the default of the name attribute to the
virtserialport and when providing it the virtio-ports symlink is created
as expected in my direct qemu test. My original problem was that
libguestfs-test-tool doesn't work with this udev version and that is
still the case even though it calls qemu with a name correctly.
/usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-nodefaults \
-nographic \
-device virtio-scsi-pci,id=scsi \
-drive
file=/tmp/libguestfs-test-tool-sda-Q5S2Kp,cache=none,format=raw,id=hd0,if=none \
-device scsi-hd,drive=hd0 \
-drive
file=/var/tmp/.guestfs-0/root.3806,snapshot=on,id=appliance,if=none,cache=unsafe
\
-device scsi-hd,drive=appliance \
-machine accel=kvm:tcg \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfs9a65wc/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /var/tmp/.guestfs-0/kernel.3806 \
-initrd /var/tmp/.guestfs-0/initrd.3806 \
-append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off
printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1
TERM=xterm
I'm not sure why it still fails with
/dev/virtio-ports/org.libguestfs.channel.0: No such file or directory
but it would seem to be an issue with libguestfs-tools possibly and not
udev. Sorry for the misleading report.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242794
Title:
Missing virtio-port symlinks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1242794/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs