]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Auto generate a controller when attach hostdev and chr device
authorLuyao Huang <lhuang@redhat.com>
Mon, 15 Dec 2014 09:49:54 +0000 (17:49 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 15 Dec 2014 15:24:01 +0000 (16:24 +0100)
commit98dee717597a8ad3e7c7728aed0643e84b6140de
tree570348787f9a01f78f432709eb451548ab58edee
parent44292e48a0ffa76badf84d42ad33f885e67d30e9
qemu: Auto generate a controller when attach hostdev and chr device

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

When we use attach-device add a hostdev or chr device which have a
iscsi address or others (just like guest agent, subsys iscsi disk...),
we will find there is no basic controller for our new attached device.
Somtimes this will make guest cannot start after we add them (although
they can start at the second time).

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_driver.c