From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1zJt-0003su-Ur for qemu-devel@nongnu.org; Wed, 14 Apr 2010 05:55:42 -0400 Received: from [140.186.70.92] (port=47680 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1zJp-0003q6-Vb for qemu-devel@nongnu.org; Wed, 14 Apr 2010 05:55:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1zJl-0007qs-SL for qemu-devel@nongnu.org; Wed, 14 Apr 2010 05:55:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44612) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1zJh-0007q5-4C for qemu-devel@nongnu.org; Wed, 14 Apr 2010 05:55:29 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E9tSpS006358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 14 Apr 2010 05:55:28 -0400 From: Gerd Hoffmann Date: Wed, 14 Apr 2010 11:55:11 +0200 Message-Id: <1271238922-10008-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RfC PATCH 00/11] Add spice support to qemu. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi folks, Here is a early spice patch series for review and comments. It is not yet complete (save/load/migration isn't addressed at all yet) and it has some known issues (local rendering isn't fully functional). Also things are in flux in upstream spice, this patch series depends on not-yet committed libspice patches (see below for build instructions). Nevertheless it works good enougth that you can start playing with it and I also like to gather review comments and get merge planning started. Some background info: Spice is a remote desktop protocol. The (slightly outdated) project website with background information is http://www.spice-space.org/ The download section has windows guest drivers. You need the unstable versions for these patches. Building spice: The spice project runs under the freedesktop.org umbrella now, the git repositories are hosted @ freedesktop.org. You'll need: (1) spice-protocol. http://cgit.freedesktop.org/spice/spice-protocol/ This carries all the spice protocol structs. (2) celt051. http://www.spice-space.org/yum_repo_data/f12/src/celt051-0.5.1.3-0.fc12.src.rpm Version 0.5.1 of the celt audio codec. This is the only unusual (aka distros don't carry it) build dependency left for spice. (3) A bunch of devel packages. Especially log4cpp and cegui. Everything else spice needs should be on your disk already if you are doing qemu development. (4) A pretty recent pixman version (0.18.0+). (5) spice itself. http://cgit.freedesktop.org/~kraxel/spice/log/?h=api.v3 This brings both libspice-server and the spice client. (6) This patch series. Also available from http://cgit.freedesktop.org/spice/qemu/log/?h=spice.v3 If everything goes well qemu configure should autodetect that spice is available. Testing & using spice: * Enable spice in qemu: qemu -spice port=1234,password=$secret # password protected qemu -spice port=1234,disable-ticketing # allow connects without password * Enable qxl vga device (recommended): qemu -spice $options -vga qxl * Enable multihead (in theory, just noticed its broken, to be debugged ...) qemu -spice $options -vga qxl -device qxl * Enable sound: QEMU_AUDIO_DRV=spice qemu -spice $options -device AC97 * Adding a absolute pointing device aka tablet is strongly recommended: qemu -usbdevice tablet * Start spice client: spicec -h localhost -p 1234 -w $secret The spice client has two important hot keys: Shift+F11 (toggle Fullscreen) and Shift+F12 (release pointer grab). If you add a usb tablet you hopefully never ever need Shift+F12 though. cheers, Gerd