<div class="gmail_quote"><div class="gmail_quote"><div class="im">2012/2/12 Yonit Halperin <span dir="ltr"><<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 02/11/2012 01:29 PM, Daniel Parnak wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I want to test spice on my virtual machines but I have problem.<br>
I create 2 virtual machines (one for server, one for client) on VMware<br>
Workstation 8 and I run on them Fedora-16-x86_64-Live-Desktop.<br>
<br>
# On server I do:<br>
yum -y install qemu-kvm libvirt python-virtinst bridge-utils<br>
systemctl start libvirtd.service<br>
chkconfig libvirtd on<br>
yum -y install spice-server spice-protocol<br>
qemu-img create /tmp/fedora.qcow 8G<br>
qemu -cdrom /dev/cdrom -hda /tmp/fedora.qcow -boot d -net nic -net user<br>
-m 1024<br>
<br>
# Then after run virtual machine I start spice<br>
qemu -spice port=5930<br>
<br>
</blockquote></div>
Hi, you should add the "-spice <spice-params>" at the same command you run the vm. No need for 2 different `qemu` runs.<br>
In addition, you probably also want to add to spice-params ",disable-ticketing" and to qemu params -vga qxl.<br>
<br></blockquote><div><br></div></div><div>Thanks, now I do:</div><div><br></div><div>qemu -cdrom /tmp/FreeBSD-8.2-RELEASE-i386-disc1.iso -hda /tmp/fedora.qcow -boot d -net nic -net user -m 1024 -spice port=5930,disable-ticketing -vga qxl<br>
<br>and I receive:<br><br><i>do_spice_init: starting 0.10.1<br>
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD<br>spice_server_add_interface: SPICE_INTERFACE_MOUSE<br>spice_server_add_interface: SPICE_INTERFACE_QXL<br>red_worker_main: begin<br>display_channel_create: create display channel<br>
cursor_channel_create: create cursor channel</i><br><br>vm doesn't start, and I still can't connect from spicec to server<br><br></div><div class="im"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
# On client's machine I install spice client<br>
yum -y install spice-client spice-protocol<br>
spicec -h 192.168.163.128 -p 5930<br>
<br>
And I receive warning:<br>
failed to connect: no route to host (113)<br>
<br>
I can ping server and host. Tcpdump shows that when I want to connect<br>
via spicec packages are sent, and host receive it.<br>
<br>
What is wrong? And how can I resolve this problem?<br>
<br>
Greetings,<br>
Daniel<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/spice-devel</a><br>
</blockquote>
</blockquote></div></div><br>
</div><br>