From: "Daniel P. Berrange" <berrange-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: QEMU / KVM support in libvirt & virt-manager
Date: Thu, 22 Feb 2007 22:16:54 +0000 [thread overview]
Message-ID: <20070222221654.GR22473@redhat.com> (raw)
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:
<domain type='kvm'>
<name>demo</name>
<uuid>c7a5fdb0-3daf-9455-926a-d65c16db1809</uuid>
<memory>403456</memory>
<currentMemory>403456</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='i686' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/bin/qemu</emulator>
<disk type='file' device='disk'>
<source file='/home/berrange/q.img'/>
<target dev='hda'/>
</disk>
<interface type='user'>
</interface>
<graphics type='vnc' port='-1'/>
</devices>
</domain>
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
next reply other threads:[~2007-02-22 22:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 22:16 Daniel P. Berrange [this message]
[not found] ` <20070222221654.GR22473-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-02-25 5:32 ` QEMU / KVM support in libvirt & virt-manager Avi Kivity
[not found] ` <45E11F8A.8080306-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-25 8:34 ` Avi Kivity
[not found] ` <45E14A07.6090207-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-25 16:29 ` Daniel P. Berrange
[not found] ` <20070225162945.GA13570-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-02-27 15:20 ` Avi Kivity
[not found] ` <45E44C3B.3010305-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-27 15:31 ` Daniel P. Berrange
2007-02-25 15:50 ` Daniel P. Berrange
[not found] ` <20070225155025.GB4132-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-02-25 16:48 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070222221654.GR22473@redhat.com \
--to=berrange-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox