QA:Testcase Virtualization Spice listen on all public network interfaces

From FedoraProject

Jump to: navigation, search

Contents

Description

Setup

Make sure you have a guest , which could be started successfully

How to test

  1. force off the running guest
  2. go the guest detail pannel , remove the Display VNC device
  3. click the Add Hardware button at the left bottom
  4. Add Graphics -> Type SPICE server
  5. Check on the Listen on all public network interfaces checkbox
  6. Click Finish , and back to guest detail overview pannel , click Apply button
  7. Start the guest , and try following commands to access spice graphic interface
# ps -aef |grep spice
/usr/libexec/qemu-kvm .................... -spice port=5900,addr=0.0.0.0,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 $Your_host_IP -p $spice_port  (in this example , it is 5900)
e.g. spicec -h 10.66.4.220 -p 5900

Expected Results

  1. You could access the spice interface from public host IP which is not 127.0.0.1