Re: [libvirt] [PATCH RESENT 05/12] conf: add 'script' attribute to disk specification

2013-04-10 Thread Daniel P. Berrange
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'/

Re: [libvirt] [PATCH RESENT 05/12] conf: add 'script' attribute to disk specification

2013-04-10 Thread Marek Marczykowski
On 10.04.2013 11:14, Daniel P. Berrange wrote: 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'

[libvirt] [PATCH RESENT 05/12] conf: add 'script' attribute to disk specification

2013-04-09 Thread Marek Marczykowski
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'/