[libvirt] [PATCH RESENT 05/12] conf: add 'script' attribute to disk specification
Daniel P. Berrange
berrange at redhat.com
Wed Apr 10 09:14:57 UTC 2013
On Wed, Apr 10, 2013 at 04:44:43AM +0200, Marek Marczykowski wrote:
> Script to be called to prepare custom device for domain. Done with Xen
> in mind, it maps to libxl_device_disk.script.
>
> XML configuration would be:
> <disk type='block' device='disk'>
> <source dev='/dev/mapper/custom-device'/>
> <script path='/script/to/setup/custom-device'/>
> <target dev='xvdc'/>
> </disk>
NACK, all configuration must be explicitly represented in
the config, not delegated to arbitrary opaque shell scripts.
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