]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: prefer qdisk for <driver name='file'>
authorJim Fehlig <jfehlig@suse.com>
Fri, 20 Jun 2014 05:36:25 +0000 (23:36 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 23 Jun 2014 21:52:14 +0000 (15:52 -0600)
commit48d81cef3b2dff6fe02bd7c8f0bf4f5aff917d8c
tree392f6e1cadc6c161f690e02198d2145fe15840bb
parent8d8e1d9dbc8aaf6cc7205835cdf2ee7ac549b8e7
libxl: prefer qdisk for <driver name='file'>

The libxl driver currently sets the disk backend to
LIBXL_DISK_BACKEND_TAP when <driver name='file'> is specified
in the <disk> config.  qdisk should be prefered with this
configuration, otherwise existing configuration such as the
following, which worked with the old Xen driver, will not work
with the libxl driver

  <disk type='file' device='cdrom'>
    <driver name='file'/>
    <source file='/path/to/some/iso'/>
    <target dev='hdc' bus='ide'/>
    <readonly/>
  </disk>

In addition, tap performs poorly compared to qdisk.
src/libxl/libxl_conf.c