[Spice-devel] Does not show Pre-Boot Login Menu (When using FDE) When Using Qemu

Ahmad Ismail ismail783 at gmail.com
Thu May 5 04:53:13 UTC 2022


When I run VM with the following command:

qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 2 -m 4096 \
-drive file=/media/blueray/WDPurple8TB/QEMU_Backup/ubuntu.qcow2,if=virtio \
-vga virtio -display gtk,gl=on

I get the following screen:

https://i.stack.imgur.com/HofCx.png

But I do not see this screen when I use spice using:

#!/bin/bash

QEMU_AUDIO_DRV=spice

qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 2 -m 8192 \
-drive file=/media/blueray/WDPurple8TB/QEMU_Backup/ubuntu.qcow2,if=virtio \
-machine vmport=off \
-vga qxl -usb -device qemu-xhci -device usb-tablet \
-soundhw hda \
-spice port=5911,addr=127.0.0.1,disable-ticketing \
-device virtio-serial-pci \
-chardev spicevmc,id=spicechannel0,debug=0,name=vdagent \
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
-device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0
\
-chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 \
-daemonize

remote-viewer --spice-shared-dir=/media/blueray/WDPurple8TB/QEMU_Backup/Ubuntu_Share
spice://127.0.0.1:5911 > /dev/null 2>&1 &

The problem is I need to use spice for other features.

What can I do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20220505/e8e7aade/attachment.htm>


More information about the Spice-devel mailing list