{"id":571,"date":"2014-03-24T06:48:20","date_gmt":"2014-03-24T13:48:20","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=571"},"modified":"2014-03-24T07:05:41","modified_gmt":"2014-03-24T14:05:41","slug":"spice-display-for-kvm-guests","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/spice-display-for-kvm-guests\/","title":{"rendered":"SPICE and QXL Display for KVM Guests"},"content":{"rendered":"
Very short note on how I used SPICE for accessing a Windows 7 desktop running under KVM. \u00a0SPICE and QXL provides improved Graphics experience in the guest.<\/p>\n
I found more detailed information here:\u00a0http:\/\/www.linux-kvm.org\/page\/SPICE<\/p>\n
In virt manager when editing the guest look under Display Spice heading:<\/span><\/strong><\/span> Install tools in Windows guest tools:<\/strong><\/span> At the time I installed spice-guest-tools-0.74.exe was current. Since this is a KVM guest I already use the virtio drivers for the network interface and disk. The spice guest tools install additional drivers like VIRTIO Balloon Driver and VIRTIO-Serial Driver.<\/p>\n Hints:<\/strong><\/span> Very short note on how I used SPICE for accessing a Windows 7 desktop running under KVM. \u00a0SPICE and QXL<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-571","post","type-post","status-publish","format-standard","hentry","category-spice"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/571\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n- Type \u00a0== Spice Server
\n- Address \u00a0== All interfaces
\n** I tried to set the port manually but it keeps defaulting back to Auto.<\/p>\n\r\n# virsh dumpxml win7-2 | grep spice\r\n <channel type='spicevmc'>\r\n <target type='virtio' name='com.redhat.spice.0'\/>\r\n <graphics type='spice' port='5901' autoport='yes' listen='0.0.0.0'>\r\n <redirdev bus='usb' type='spicevmc'>\r\n...\r\n<\/pre>\n
\nDownload and install here http:\/\/www.spice-space.org\/download.html<\/p>\nFrom the remote desktop access as follow:<\/strong><\/span>\r\n
\r\n# apt-get install virt-viewer spice-client-gtk\r\n$ remote-viewer spice:\/\/192.168.10.10:5901\r\n<\/pre>\n
\n** As mentioned I could not set the port manually for some reason so I had to go look on the KVM host process list to see which port was being used.
\n** Also make sure you don't have a firewall blocking the port you are after.<\/p>\n","protected":false},"excerpt":{"rendered":"