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

Ruben S. Montero rubensm at dacya.ucm.es
Fri Oct 29 12:12:11 PDT 2010

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 = [

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

Any feedback is more than welcome!



Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101029/8b3a6999/attachment-0002.htm>

More information about the Users mailing list