]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Fix wrong error message on disk hotplug
authorPeter Krempa <pkrempa@redhat.com>
Mon, 2 May 2016 11:08:53 +0000 (13:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 May 2016 10:44:52 +0000 (12:44 +0200)
commit5e9d56f83fad5cb80ae14567577b02a492c90a7d
tree59727b12bb0379432ffd1b29d6320f5c85295502
parent3ec7bb354a94c343c3c0da8b799c24d2144e7871
lxc: Fix wrong error message on disk hotplug

Commit 36025c552 tried to improve error reporting for <disk type="lun">
but reused the code in LXC which doesn't care about the actual disk
type. The error messages would then contain a bogous hint that the
config for the 'lun' device is invalid which might not be the case.

Re-do the relevant portion of the commit with the original message.
src/lxc/lxc_driver.c