]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Fix setting of disk backend
authorJim Fehlig <jfehlig@suse.com>
Wed, 20 Feb 2013 20:02:28 +0000 (13:02 -0700)
committerJim Fehlig <jfehlig@suse.com>
Wed, 20 Feb 2013 21:52:10 +0000 (14:52 -0700)
commit567779e51a7727b021dee095c9d75cf0cde0bd43
tree3218f9f8f36bc8ba3fbbadcc3f2aa979db41b79e
parent2bff35d5bb1744af0a6af9e139f0983c65160b38
libxl: Fix setting of disk backend

The libxl driver was setting the backend field of libxl_device_disk
structure to LIBXL_DISK_BACKEND_TAP when the driver element of disk
configuration was not specified.  This needlessly forces the use of
blktap driver, which may not be loaded in dom0

https://bugzilla.redhat.com/show_bug.cgi?id=912488

Ian Campbell suggested that LIBXL_DISK_BACKEND_UNKNOWN is a better
default in this case

https://www.redhat.com/archives/libvir-list/2013-February/msg01126.html
src/libxl/libxl_conf.c