[one-users] Support for custom Xen drivers for disk images

Todd Deshane deshantm at gmail.com
Fri Oct 29 14:04:15 PDT 2010


On Fri, Oct 29, 2010 at 3:12 PM, Ruben S. Montero <rubensm at dacya.ucm.es> wrote:
> Hi all,
> This refers to http://dev.opennebula.org/issues/348.
> There is a new DRIVER attribute for DISK. The DRIVER can be used to specify
> custom drivers for images. Example
> DISK = [ driver = "tap2:aio:", source="path_to_image", target="hda1"]
> So it gets transformed to:
> disk = [
>     'tap2:aio:path_to_image,sda1,w',
> ]
> This attribute is also supported by the image repository. So you can add
> driver="file:" to an image template, or add it to an existing one using
> oneimage update. Also you can specify it in the VM template as:
> DISK = [ image="myimage", driver="file:"]
> The DRIVER is also supported by CONTEXT devices just added as:
> CONTEXT = [ driver = "file:" ,... ]
> Finally, the driver defaults to "tap:aio:" you can change the default for
> all the images including context in
> $ONE_LOCATION/etc/vmm_ssh/vmm_ssh_xen.conf
> Any feedback is more than welcome!

Naming that xen upstream uses should be taken into consideration:
http://wiki.xensource.com/xenwiki/blktap2

Thanks,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com



More information about the Users mailing list