From Fedora Project Wiki


This test case will test setting up a virtual guest with spice.

How to test

  1. Click on the local connection.
  2. Click NEW button at the top of Virtual Machine Manager dialog.
  3. Fill out virtual machine name ,such as vm-test,and Click Forward button.
  4. Point the ISO image Location, and Forward
  5. Check Automatically detect operating system based on install media
  6. Click Forward button.
  7. Select Memory and CPUs, and click Forward. (such as 512M and 2 cpus)
  8. Create a disk image and Click Forward button.
  9. Open Advanced options,uncheck Set a fixed mac address,select the correct architecture .Click Customize configuration before install
  10. Click Finish button.
  11. Then Divert to guest virtual details page, remove the Display VNC device . click the Add Hardware button at the left bottom, Add Graphics -> Type SPICE server . Click Finish , and back to guest detail overview pannel, Apply and Click Begin Installation.
  12. Start the guest , and try following commands to access spice graphic interface
 #ps -aef |grep spice 
/usr/libexec/qemu-kvm .................... -spice port=5900,addr=,disable-ticketing -vga cirrus -device 
AC97,id=sound0,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
 #spicec -h -p $spice_port  (in this example , it is 5900)

Expected Results

  1. You could access the spice interface and continue the guest installation.