From Fedora Project Wiki

Revision as of 07:49, 14 April 2011 by Rhe (talk | contribs) (Created page with '{{QA/Test_Case |description=This test case will test setting up a virtual guest with spice. |actions= # Click on the local connection. # Click NEW button at the top of Virtual Ma...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

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=127.0.0.1,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 127.0.0.1 -p $spice_port  (in this example , it is 5900)

Expected Results

  1. Confirm that the guest has obtained a DHCP address and download the appropriate files via TFTP
  2. No errors during booting