I am trying to run a Windows 10 image on Alpine 3.15 using PCI passthrough. However, at the moment I am stumped because it seems spice is disabled, which in and of itself isn’t the end of the world, I don’t need the graphical client. Even so, I don’t understand how to tweak the parameters sent to qemu when starting the VM? I understand there is raw.qemu
to add extra parameters, but how do I remove or tweak the ones already there? Or am I barking up the wrong end of the tree here?
This is the current result when I try to start the VM:
# lxc start win10
Error: Failed to run: forklimits limit=memlock:unlimited:unlimited -- /usr/bin/qemu-system-x86_64 -S -name win10 -uuid 6de5f776-381c-46cc-95ad-a4c737c8b60f -daemonize -cpu host -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny -readconfig /var/log/lxd/win10/qemu.conf -spice unix=on,disable-ticketing=on,addr=/var/log/lxd/win10/qemu.spice -pidfile /var/log/lxd/win10/qemu.pid -D /var/log/lxd/win10/qemu.log -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas nobody: qemu-system-x86_64: -spice unix=on,disable-ticketing=on,addr=/var/log/lxd/win10/qemu.spice: spice support is disabled
: Process exited with non-zero value 1
Try `lxc info --show-log win10` for more info