SPICE and desktop virtualization



Similar documents
Virtualization Management the ovirt way

RED HAT ENTERPRISE VIRTUALIZATION

Running Windows 8 on top of Android with KVM. 21 October Zhi Wang, Jun Nakajima, Jack Ren

Open Source Virtualization with ovirt. DI (FH) René Koch Systems Engineer Siedl Networks GmbH Grazer Linuxtage,

Aqua Accelerated Protocol (AAP) For Mac User Manual

Here is a demonstration of the Aqua Accelerated Protocol (AAP) software see the Aqua Connect YouTube Channel

Visualization Cluster Getting Started

RED HAT ENTERPRISE VIRTUALIZATION & CLOUD COMPUTING

KVM on S390x. Revolutionizing the Mainframe

Red Hat VDI. David Simmons

Remote Desktop In OpenSUSE 10.3

Product Description. Licenses Notice. Introduction TC-200

Developing tests for the KVM autotest framework

Comparing Free Virtualization Products

System Requirements for Computer-Based Testing AzMERIT

RELEASE NOTES. Release Notes. Introduction. Platform. Product/version/build: Remote Control ( ) ActiveX Guest 11.

VMware View 4 with PCoIP I N F O R M AT I O N G U I D E

Integrating ovirt and Foreman to Empower your Data-Center

The QEMU/KVM Hypervisor

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

ovirt: Open Your Virtual Data Center

Installing & Using KVM with Virtual Machine Manager COSC 495

2009 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

About Parallels Desktop 7 for Mac

Example of Standard API

Gigabyte Management Console User s Guide (For ASPEED AST 2400 Chipset)

Land Information New Zealand (LINZ) SALT Database. Migration from original hardware to virtualised hardware: Process Documentation

Access to remote DVR from IE USER S MANUAL CONTENT

RDM+ Remote Desktop for Android. Getting Started Guide

Virtualization in Linux KVM + QEMU

Parallels Desktop 4 for Windows and Linux Read Me

Terminal Server Guide

Professional Xen Visualization

VMware Horizon FLEX User Guide

Ultra Thin Client TC-401 TC-402. Users s Guide

Remote desktop protocols. A comparison of Spice, NX and VNC. Bachelor Degree Project in Network and System administration G2E 15h Spring term 2012

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

Required Virtual Interface Maps to... mgmt0. bridge network interface = mgmt0 wan0. bridge network interface = wan0 mgmt1

YOUR STRATEGIC VIRTUALIZATION ALTERNATIVE. Greg Lissy Director, Red Hat Virtualization Business. James Rankin Senior Solutions Architect

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

SMS Remote Software User Manual. Pro Series & Contender Series DVRs

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

KANGAROO MOBILE DESKTOP USER GUIDE

VMware Horizon FLEX User Guide

Backup & Disaster Recovery Appliance User Guide

LiveBackup. Jagane Sundar

PARALLELS SERVER BARE METAL 5.0 README

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

KVM Architecture Overview

Report on virtualisation technology as used at the EPO for Online Filing software testing

EyeSoft Quick Setup Guide For latest software update / manual, please see Please see Manual for detailed instructions.

Windows Embedded 7 E versus Windows Embedded 7 P

Frequently Asked Questions

PARALLELS SERVER 4 BARE METAL README

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Interacting with Users

PLUS TV ANALOG USB STICK Installation Manual

Desktop Virtualization. The back-end

QUESTIONS & ANSWERS. ItB tender 72-09: IT Equipment. Elections Project

Seagate NAS OS 4 Reviewers Guide: NAS / NAS Pro / Business Storage Rackmounts

Introduction to ovirt

ScanWin Installation and Windows 7-64 bit operating system

Windows Server 2008 R2 Essentials

Introduction to Mirametrix EyeTracker

How do I Check if My Computer is Compatible with Windows 7

VRM Monitor. Online Help

Introduction to Virtualization & KVM

VERITAS Backup Exec TM 10.0 for Windows Servers

SecureLinx Spider Duo Quick Start Guide

Shellshock Security Patch for X86

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Kaltura On-Prem Evaluation Package - Getting Started

IBM Cloud Manager with OpenStack

Desktop Linux Distribution. { Showdown } Jeff Osier-Mixon

USB 2.0 VGA ADAPTER USER MANUAL

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

October Gluster Virtual Storage Appliance User Guide

Developing a dynamic, real-time IT infrastructure with Red Hat integrated virtualization

Advanced Network and System Administration

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

Date: December 2009 Version: 1.0. How Does Xen Work?

ProHVM (Probus-IT Hyper-V Manager)

RemoteApp 101 Delivering Seamless Remote Applications

Deskpool Quick Start. Version: V2.1.x. Based on Hyper-V Server 2012 R2. Shenzhen Jieyun Technology Co., Ltd (

Aqua Connect Remote Desktop Services 3.7 User Manual

AdminToys Suite. Installation & Setup Guide

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

Next Generation Now: Red Hat Enterprise Linux 6 Virtualization A Unique Cloud Approach. Jeff Ruby Channel Manager jruby@redhat.com

Transcription:

SPICE and desktop virtualization Gerd Hoffmann <kraxel@redhat.com> Red Hat LinuxTag, May 11th 1

What is SPICE Simple Protocol for Independent Computing Environments Virtual desktop infrastructure SPICE network protocol. Virtual hardware (QXL). Server and client implementations. 2

SPICE history Created by Qumranet. Startup company which created KVM. Acquired by Red Hat. freedesktop.org project since January 2010. SPICE support merged into qemu during 0.14 development cycle. 3

Server and desktop virtualization Server virtualization is commonplace these days, every hoster has offers. Virtual machine. CPU & memory. Storage. Network. Administrator access. Text mode (ssh, serial line). Low end graphics (vnc). For desktop virtualization you need more... 4

Wanted: better graphics Powerful graphics ideally 3D which is good enough for desktop effects. gnome shell windows aero Multihead support. 5

SPICE: QXL graphics adapter VGA framebuffer (8M) Virtual PCI Device. bar 0 ram rendering commands, command data cmd rings, control fields (8k) Two variants, with and without VGA compatibility, for multihead. bar 1 vram surfaces: offscreen pixmaps (textures) 3D support not yet available. bar 2 rom qxl device info (8k) bar 3 io initialization + reset 6

SPICE: QXL rendering QEMU VM Guest QXL spice spice server display cursor client lfb renderer renderer vnc / sdl 7

Wanted: multimedia 8

SPICE: sound + video Sound forwarding. Video stream support. Recognized by screen update patterns. Time stamps for synchronization. 9

QEMU: audio devices Intel HDA support (merged in 0.14). Fix Win7 64bit sound issue. Experimental USB audio bits (not merged). 10

Wanted: Desktop Integration. Resize guest display. Cut+paste. Needs guest cooperation. 11

SPICE: vm channel & guest agent Channel between guest and spice client. Nowdays a virtio-serial port. Used to be a PCI device. Provides additional features when the agent is installed and active in the guest. Guest Display configuration (including multihead). Cut+paste support. Absolute mouse events without USB tablet. 12

Wanted: USB support 13

SPICE: USB forwarding Remote USB protocol (currently in development). Will also be usable without SPICE. 14

QEMU: USB needs some love Add physical port handling (started in 0.14). savevm / migration support (started in 0.14). Remote wake-up support (merged in 0.14). Fix CPU burning. Needs guest help. Get ready for USB 2.0 and 3.0 (started in 0.14). Fix, improve and cleanup the USB subsystem. Finally merge EHCI support. Improve isochronous xfers support (started in master). 15

Wanted: printing Print to the printer next to you, not the one in the server room or data center. 16

SPICE: network tunneling Allow guests to access network ressources (i.e. printers) in the client network. Experimental, off by default. Configuration & Security issues. Need to check out other options. USB Printer? Cloud printing? 17

Big picture: Network protocol & Guest devices QEMU VM Guest vdagent qxl driver standard guest drivers vmc virtio-serial QXL (cirrus) Keyboard Mouse Tablet ES1370 AC97 HDA USB Devices spice server main display cursor inputs record playback smartcard usb forward spice client user's machine 18

Integrate SPICE New spice-gtk client project. libraries with glib objects and gtk widgets. gtk-based client application spicy. virt-manager supports spice (0.8.7+). vinagre supports spice (3.0). 19

Getting started Easy way: Fedora 15 & virt-manager. Starting qemu + client manually: qemu command line: qemu -vga qxl -usbdevice tablet \ -spice port=1234,disable-ticketing classic spice client command line: spicec -h localhost -p 1234 spicy: Just start it, comes up with a dialog. Command line options work too. 20

Enable TLS, server side qemu -readconfig spice.cfg [spice] port = "5920" # disable-ticketing = "on" password = "secret" tls-port = "5921" x509-cacert-file = "/home/kraxel/mini-ca/data/ca.crt" x509-cert-file = "/home/kraxel/mini-ca/rincewind.crt" x509-key-file = "/home/kraxel/mini-ca/rincewind.key" tls-channel = "main" tls-channel = "inputs" plaintext-channel = "display" 21

Enable TLS, client side spicy -h rincewind.home.kraxel.org \ -p 5920 -s 5921 -w secret \ --ca-file /home/kraxel/mini-ca/data/ca.crt CA certificate can also be copyed / symlinked to $HOME/.spicec/spice_truststore.pem 22

Enable agent, qemu config qemu -readconfig vmchannel.cfg [chardev "vmchannel"] backend = "spicevmc" name = "vdagent" [device] driver = "virtio-serial" [device] driver = "virtserialport" name = "com.redhat.spice.0" chardev = "vmchannel" 23

Enable agent, guest setup Windows Fetch vdagent.zip from spice-space.org, unpack somewhere. Run vdservice install Fedora 14+15, RHEL 6.1 yum install spice-vdagent Other Linux guests: Get the bits from http://cgit.freedesktop.org/spice/linux/vd_agent/ 24

Ressources http://www.kraxel.org/slides/2011-linuxtag-spice.pdf www.spice-space.org Wiki, docs, downloads. spice-devel@lists.freedesktop.org cgit.freedesktop.org Most git repositories are in the spice section. The X11 qxl driver is in the x.org drivers section. http://gitorious.org/spice-gtk 25