[libvirt] [Xen-devel] Re: [PATCH V2] Add libxenlight driver

Paolo Bonzini writes ("[Xen-devel] Re: [PATCH V2] Add libxenlight driver"):
On 02/23/2011 03:56 AM, Jim Fehlig wrote:
Add a new xen driver based on libxenlight [1], which is the primary toolstack starting with Xen 4.1.0. The driver is stateful, runs privileged only, and is accessed with libxl:/// URI.
Why not let the user keep xen:/// ?
Because for now you want to be able to have both drivers. Unless, perhaps, it's somehow possible to select between them at runtime for the same URI scheme ? Ian.

On 02/23/2011 06:18 PM, Ian Jackson wrote:
Because for now you want to be able to have both drivers. Unless, perhaps, it's somehow possible to select between them at runtime for the same URI scheme ?
The Xen driver is already using a multitude of "subdrivers" (query xenstore, query the hypervisor, query xend, read directly from /etc/xen or /var/lib/xend/domains). Right now xend access is mandatory when running from dom0, but that can change to require either xend or libxl (the question is, what to privilege if both are available?). Paolo

On Thu, Feb 24, 2011 at 01:19:53PM +0100, Paolo Bonzini wrote:
On 02/23/2011 06:18 PM, Ian Jackson wrote:
Because for now you want to be able to have both drivers. Unless, perhaps, it's somehow possible to select between them at runtime for the same URI scheme ?
The Xen driver is already using a multitude of "subdrivers" (query xenstore, query the hypervisor, query xend, read directly from /etc/xen or /var/lib/xend/domains).
This is one of the primary reasons why we want the new driver to be completely separate. We want a clean break with the past so we can have a simple & easy to maintain standalone driver for xenlight. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (3)
-
Daniel P. Berrange
-
Ian Jackson
-
Paolo Bonzini