[libvirt-users] Accessing xenstore from libvirt
Daniel P. Berrange
berrange at redhat.com
Thu Mar 31 09:39:11 UTC 2016
On Wed, Mar 30, 2016 at 11:43:56AM -0600, Jim Fehlig wrote:
> Daniel P. Berrange wrote:
> > On Wed, Mar 30, 2016 at 10:53:45AM +0200, Marin Bek wrote:
> >> Hi,
> >>
> >> is it possible to access xenstore through libvirt? Or at least any other
> >> programatic means other than calling xenstore-read/write through shell?
> >>
> >> I understand it is somewhat of a security risk but still...
> >
> > No, we don't expose this kind of capability at this time
>
> And I don't think we ever will support generic xenstore read and write through
> libvirt. xenstore is uniquely Xen :-). In the old xen driver, xenstore is used
> (along with xend and hypercalls) to implement the overall functionality of the
> driver, but there are no specific APIs for reading from / writing to xenstore.
If libvirt did ever want to support passthrough of xenstore reads/writes,
it would have to be in a separate libvirt-libxl.so library, in the same
way that we allow passthrough of QEMU monitor commands via a separate
libvirt-qemu.so library.
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 :|
More information about the libvirt-users
mailing list