From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: QEMU / KVM support in libvirt & virt-manager Date: Thu, 22 Feb 2007 22:16:54 +0000 Message-ID: <20070222221654.GR22473@redhat.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org FYI, as of libvirt 0.2.0 and virt-manager 0.3.1 there is now (experimental!) support for managing virtual machines running under QEMU or KVM virtualization platforms, as well as the existing Xen support. Project sites: http://libvirt.org/ http://virt-manager.org/ Release announcements here: http://www.redhat.com/archives/libvir-list/2007-February/msg00033.html http://www.redhat.com/archives/et-mgmt-tools/2007-February/msg00121.html A little background info, since we've not updated any docs yet... (yes we suck, will do better with docs soon) The QEMU driver provides a spawn-on-demand daemon which manages all the QEMU instances, their monitor consoles, and config files for offline guest VMs. The KVM support is implemented as part of the generic QEMU driver in libvirt, and can be activated by setting the domain type to 'kvm' in the XML description of a guest being created. As an example description of a KVM guest with QEMUs slirp based user networking, a single harddisk and VNC graphics console, the XML would look like: demo c7a5fdb0-3daf-9455-926a-d65c16db1809 403456 403456 1 hvm /usr/bin/qemu The 'virsh' tool can be used to interact with libvirt & QEMU/KVM from the shell by specifying an explicit hypervisor URI. eg to list machines: virsh --connect qemu://session list The 'virt-install' tool has also been adapted to support provisioning of QEMU / KVM guests, for example: virt-install \ --connect qemu://session \ --name demo \ --ram 400 \ --file /home/berrange/q.img \ --cdrom /home/berrange/fedora-core-6-boot-x86_64.iso \ --accelerate \ --vnc \ --vncport 5905 Finally, 'virt-manager' has been adapted to support all its usual management capabilities for QEMU / KVM guests. Simply select 'QEMU' as the hypevisor type when it puts up the initial 'open connection' dialog. NB. These are the very first prototype releases to support QEM & KVM and we know of many bugs[1] / limitations. We expect to have updated releases over the coming weeks/months which will make it much more robust / generally useful to regular users.... Regards, Dan. [1] The spawn-on-demand bit is broken, so requires /usr/libexec/libvirt_qemud to be run manually. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV