[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
qemu vm stopped working after upgrade
From: |
daggs |
Subject: |
qemu vm stopped working after upgrade |
Date: |
Sat, 17 Jul 2021 17:25:45 +0200 |
Greetings,
yesterday I performed a long overdue upgrade of my server. I've ended up with
one of my vms not working.
kernel, ucode, qemu and libvirt were upgraded however I've ruled them all out
as possible suspect after reverted to the previous versions so qemu version is
not that important.
I'm using version 6.0.0
after investigation, I got to these two scripts, one works, the other doesn't.
this is the working one:
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"}'
this doesn't work, it is extrapolation of cmd line that is executed by libvirt.:
LC_ALL=C \
PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin
\
HOME=/var/lib/libvirt/qemu/domain-2-streamer-vm-q35 \
USER=root \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-2-streamer-vm-q35/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-2-streamer-vm-q35/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-2-streamer-vm-q35/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=streamer-vm-q35,debug-threads=on \
-S \
-machine
pc-q35-5.0,accel=kvm,usb=off,smm=on,dump-guest-core=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format
\
-cpu host,migratable=on \
-smp 4,sockets=1,dies=1,cores=2,threads=2 \
-m 15360 \
-blockdev
'{"driver":"file","filename":"/usr/share/edk2-ovmf/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}'
\
-blockdev
'{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}'
\
-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"}'
\
-blockdev
'{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}'
\
-display none \
-device
vfio-pci,host=0000:00:02.0,id=hostdev1,romfile=/home/streamer/gpu-8086:5912-uefi.rom,multifunction=on
\
-blockdev
'{"driver":"file","filename":"/home/streamer/streamer.img.qcow2","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}'
\
-blockdev
'{"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage","backing":null}'
\
-msg timestamp=on
I cannot seem to file why, can anyone assist?
Thanks,
Dagg.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- qemu vm stopped working after upgrade,
daggs <=