From f29f71bc568be1e6227269f8ad83c00a249787be Mon Sep 17 00:00:00 2001 From: cvoges12 Date: Tue, 5 Oct 2021 22:21:46 +0000 Subject: [PATCH] added test for spice and fixed iso test --- tests/iso.sh | 2 +- tests/spice.sh | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 tests/spice.sh diff --git a/tests/iso.sh b/tests/iso.sh index e205f53..5ad18b3 100755 --- a/tests/iso.sh +++ b/tests/iso.sh @@ -6,6 +6,6 @@ qemu-system-x86_64 \ -smp 4 \ -m 4G \ -boot d \ - -cdrom win.iso \ + -cdrom winsp.iso \ -vga virtio \ -monitor stdio diff --git a/tests/spice.sh b/tests/spice.sh new file mode 100755 index 0000000..08bb7ec --- /dev/null +++ b/tests/spice.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +qemu-system-x86_64 \ + -enable-kvm \ + -daemonize \ + -cpu host \ + -smp 4 \ + -net nic \ + -net user,hostname=windowsvm \ + -m 4G \ + -boot d \ + -cdrom Win*.iso \ + -vga qxl \ + -device virtio-serial-pci \ + -spice port=${SPICE_PORT},disable-ticketing=on \ + -device virtserialport,chardev=${CHARDEV_ID},name=com.redhat.spice.0 \ + -chardev spicevmc,id=${CHARDEV_ID},name=vdagent + +exec spicy --title Windows 127.0.0.1 -p ${SPICE_PORT}