]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainAttachNetDevice: Explicitly list allowed types for hotplug
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Sep 2016 09:53:58 +0000 (11:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Oct 2016 02:15:51 +0000 (10:15 +0800)
commitc266b6044003ac2f10f4cd15e58164d629508ccb
treef1bed077823bb1bde3484cd8feb265d71d8b088b
parent5b65d772dd909d9b1ded07a86304229674ebf4ac
qemuDomainAttachNetDevice: Explicitly list allowed types for hotplug

Instead of blindly claim support for hot-plugging of every
interface type out there we should copy approach we have for
device types: white listing supported types and explicitly error
out on unsupported ones.
For instance, trying to hotplug vhostuser interface results in
nothing usable from guest currently. vhostuser typed interfaces
require additional work on our side.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_hotplug.c