qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Jamie Lokier <jamie@shareable.org>
Cc: Alexey Eremenko <alexey.eremenko@qumranet.com>,
	Fedora/Linux Management Tools <et-mgmt-tools@redhat.com>,
	kvm@vger.kernel.org, libvir-list@redhat.com,
	qemu-devel@nongnu.org, Jun Koi <junkoi2004@gmail.com>
Subject: Re: [et-mgmt-tools] Re: [libvirt] RE: [Qemu-devel] [ANNOUNCE] virt-mem tools version 0.2.8 released
Date: Sun, 10 Aug 2008 11:07:32 +0100	[thread overview]
Message-ID: <20080810100732.GA31209@amd.home.annexia.org> (raw)
In-Reply-To: <20080810012827.GD20183@shareable.org>

On Sun, Aug 10, 2008 at 02:28:27AM +0100, Jamie Lokier wrote:
> Javier Guerra wrote:
> > On Thu, Aug 7, 2008 at 8:06 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
> > > I think the message here is, install libvirt & be happy :-)
> > 
> > nice as this tool sounds, i would need far more than this to make me
> > switch from a simple, easily scriptable command-line to a generic,
> > 'lowest common', solution like libvirt.
> > 
> > of course, i hope it keeps getting better.  who knows? maybe in a year
> > or so it would be comparable to the CLI.
> 
> Regrettably I agree for the moment.
> 
> I ended up writing a Perl management script for my KVM VMs because
> libvirt was just too muddled and limited for my needs, and because the
> config file format confused me, didn't handle everything I needed, and
> I didn't find clear documentation on it.

The configuration format is documented here:

  http://libvirt.org/formatdomain.html

You can also print out the configuration from any existing guest using
'virsh dumpxml <domain>' if you need examples.

I'm intrigued by what your Perl management script needed that isn't
exposed by libvirt.  Libvirt deliberately doesn't expose the full
feature set of any one hypervisor which it supports, but instead
exposes common features.  The reason for this is so that you can
switch hypervisor technologies later on.

Clearly, we all love KVM, but people have different needs from
hypervisors and KVM won't fit all of them.  For example, lightweight
container-based approaches are better for some virtualization problems
(particularly where you really need to run 100s or 1000s of guests on
a single machine), and people will still be running Xen and VMWare for
many years to come.

[...]
> What would be nicer is a VM management protocol build in to QEMU, KVM
> and XEN, which is a bit like the monitor, but supports multiple client
> connections and overlapping operations (where reasonable), and is a
> bit more structured, so e.g. you can get the state of anything whose
> state you can set, you can wait for events, etc.  The somewhat
> object-based config file work that's been discussed not long ago would
> be a good thing to structure it around.

This is what libvirt gives you (and lots more, eg. secure remote
access to hypervisors, bindings to Perl & many other languages, etc.).
Can you be more specfic about what you couldn't do with libvirt?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

  reply	other threads:[~2008-08-10 10:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06 20:00 [Qemu-devel] [ANNOUNCE] virt-mem tools version 0.2.8 released Richard W.M. Jones
2008-08-07 10:20 ` Alexey Eremenko
2008-08-07 10:40   ` [libvirt] " Jun Koi
2008-08-07 10:47     ` Daniel P. Berrange
2008-08-07 12:55       ` Alexey Eremenko
2008-08-07 12:59         ` Richard W.M. Jones
2008-08-07 13:03         ` Samuel Thibault
2008-08-07 13:06       ` [et-mgmt-tools] " Richard W.M. Jones
2008-08-07 14:30         ` Javier Guerra
2008-08-10  1:28           ` Jamie Lokier
2008-08-10 10:07             ` Richard W.M. Jones [this message]
2008-08-10 14:04               ` Richard W.M. Jones

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=20080810100732.GA31209@amd.home.annexia.org \
    --to=rjones@redhat.com \
    --cc=alexey.eremenko@qumranet.com \
    --cc=et-mgmt-tools@redhat.com \
    --cc=jamie@shareable.org \
    --cc=junkoi2004@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=libvir-list@redhat.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).