All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Fehlig <jfehlig@novell.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: LibVir <libvir-list@redhat.com>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [libvirt] [RFC] libxenlight driver
Date: Fri, 21 Jan 2011 08:48:10 -0700	[thread overview]
Message-ID: <4D39AABA.8090101@novell.com> (raw)
In-Reply-To: <20110121111343.GE11539@redhat.com>

Daniel P. Berrange wrote:
> On Thu, Jan 20, 2011 at 04:49:25PM -0700, Jim Fehlig wrote:
>   
>> I'm looking into creating a driver for the new Xen xl/libxl toolstack
>> (aka libxenlight [1]), set to become the default in upcoming Xen 4.1.0
>> release.
>>
>> My first hurdle is deciding whether this should be a new driver or
>> integrated with existing xen-unified driver.  Initially I thought a new
>> driver would be a better approach - a clean break from the old code,
>> similar to the xenapi driver.  libxenlight is also stateless (no managed
>> domains), which seems like another good argument for a new driver.  But
>> libxenlight is really just another interface into the same hypervisor,
>> so in that regard it should be a xen-unified subdriver.
>>     
>
> Something on the system must be stateful, continually monitoring
> guests & taking neccessary actions ? eg If XenD isn't used, then
> what is responsible for restarting guests which crash, or performing
> core dumps on crashed guests, etc, etc ?
>   

Good questions.  I have just started looking at the new toolstack, and
frankly don't yet know how this is handled.  Adding xen-devel for
comment ...

> This would have a bearing on how best to design a libvirt driver
>
>   
>> There are certainly benefits to the xen-unified subdriver approach, e.g.
>> the existing hypervisor and xenstore subdrivers can be leveraged, the
>> former providing all the capabilities code.  But AFAIK, libxenlight and
>> xend should not be used together, so I don't think we would want the
>> xend subdriver activated if libxenlight is detected.  Supposedly xl can
>> be used as a direct replacement for xm, allowing unconditional use of
>> that subdriver.
>>
>> BTW, Ian Jackson responded [2] to some of my questions regarding
>> compatibility between old and new toolstack if you are interested.
>>
>> I'd like to hear other's opinions on a new driver vs. a xen-unified
>> subdriver.
>>     
>
> Due to the number of revisions of Xen userspace stack, and the
> need to talk to so many pieces to get an efficient driver, the
> current Xen unified driver is rather hairy. Particularly if
> XenD itself is deprecated as a control mechanism, then I'd
> go for a new standalone driver, that runs from libvirtd context
> and leverages the standard libvirt storage/network/inteface
> drivers for non-HV stuff (which I assume libxenlight doesn't
> cover).
>   

Correct.  AFAICT, libxenlight does not cover any host storage or network
management.  A libxenlight driver will be a hypervsisor driver only.

Regards,
Jim

       reply	other threads:[~2011-01-21 15:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4D38CA05.2070601@novell.com>
     [not found] ` <20110121111343.GE11539@redhat.com>
2011-01-21 15:48   ` Jim Fehlig [this message]
2011-01-21 16:33     ` Re: [libvirt] [RFC] libxenlight driver Gianni Tedesco
2011-01-21 16:44       ` Daniel P. Berrange
2011-01-21 16:57         ` Ian Campbell
2011-01-21 17:02           ` Jim Fehlig
2011-01-21 17:09             ` Ian Campbell
2011-01-21 17:46             ` Ian Jackson
2011-01-21 17:01         ` Stefano Stabellini
2011-01-21 17:19           ` Gianni Tedesco
2011-01-21 16:54     ` Stefano Stabellini
2011-01-21 17:49       ` Ian Jackson

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=4D39AABA.8090101@novell.com \
    --to=jfehlig@novell.com \
    --cc=berrange@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.