On Sat, Jul 31, 2021 at 12:19:59PM +0200, daggs wrote:>Greetings,
>
>a few weeks ago I've upgraded my system, this resulted with qemu and
libvirt being upgraded to 6.0.0 and ~7.5.0 respectfully.
>I have two vms running on my system, router and streamer.
>the router vm works great, the streamer vm doesn't.
>after the streamer vm start, the monitor screen gets black and thats it. no
relevant error are found in the log, see: http://dpaste.com/ERWDEJQPC
>the xml ca be found at https://dpaste.com/FQDN6NTN2
>in contrast the following oneliner works: qemu-system-x86_64 \
>-machine pc-q35-5.0,accel=kvm,usb=off,smm=on,dump-guest-core=off \
>-cpu host,migratable=on \
>-m 15360 \
>-smp 4,sockets=1,dies=1,cores=2,threads=2 \
>-drive file=/home/streamer/streamer.img.qcow2.new,if=virtio,format=qcow2 \
>-device
vfio-pci,host=0000:00:02.0,romfile=/home/streamer/gpu-8086:5912-uefi.rom,multifunction=on
\
>-device vfio-pci,host=0000:00:1f.3,multifunction=on \
>-usb \
>-device usb-host,vendorid=0x046d,productid=0xc52e \
>-device usb-host,vendorid=0x2548,productid=0x1002 \
>-display none \
>-netdev tap,id=hostnet0,ifname=virtsw-streamer,script=no,downscript=no \
>-device e1000e,netdev=hostnet0,id=net0,mac=52:54:00:5a:4c:8c \
>-blockdev
'{"driver":"file","filename":"/usr/share/edk2-ovmf/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}'
\
>-blockdev
'{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/streamer-vm-q35_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}'
>
>another issue encountered caused by this param: "-audiodev
id=audio1,driver=none" which is auto added to the qemu line.
>if I add the line to the above oneliner, the guest doesn't detects the
pt sound card. without it it does and it works.
>
The links have expired, so I cannot look at the XML. However do you
have any <audio/> in the XML at all? I believe that without it we are
disabling any audio backends since no audio HW was requested.
>help on solving both issues will be appreciated.
>
>Thanks,
>
>Dagg
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
<http://listman.redhat.com/archives/libvirt-users/attachments/20210802/e710198a/attachment.sig>