[libvirt] [PATCH 2/5] conf: Introduce raw disk string passthrough

Daniel P. Berrange berrange at redhat.com
Wed Sep 10 10:05:39 UTC 2014


On Tue, Sep 09, 2014 at 10:45:45AM +0200, Peter Krempa wrote:
> This patch adds a new disk type "raw" that can be used twofold:
> 
> 1) To pass arbitrary strings as disk sources to the hypervisor of
> choice. This allows to use not-yet-supported storage specification
> formats.
> 
> 2) To return backing chain element names that libvirt doesn't yet know
> how to parse. Backing chain elements may specify names that libvirt
> isn't able to parse. To allow us reporting it back to the user,
> unparsable strings will be reported as disk type="raw".
> 
> To avoid attempts to label or do other operations on "raw" disks mark
> them as remote and unsupported by the storage driver explicitly.
> 
> Tests for the new format are being added separately.

NACK. Arbitrary passthrough or reporting of unsupported features is
an explicit non-goal of the libvirt XML. We have QEMU command line
passthrough for that goal. 

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 libvir-list mailing list