added test for spice and fixed iso test
This commit is contained in:
parent
3dbf701c35
commit
f29f71bc56
2 changed files with 20 additions and 1 deletions
|
@ -6,6 +6,6 @@ qemu-system-x86_64 \
|
|||
-smp 4 \
|
||||
-m 4G \
|
||||
-boot d \
|
||||
-cdrom win.iso \
|
||||
-cdrom winsp.iso \
|
||||
-vga virtio \
|
||||
-monitor stdio
|
||||
|
|
19
tests/spice.sh
Executable file
19
tests/spice.sh
Executable file
|
@ -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}
|
Loading…
Reference in a new issue