]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainAttachChrDevice: Fix chardev hotplug
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 11 May 2015 13:20:54 +0000 (15:20 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 21 May 2015 15:49:02 +0000 (17:49 +0200)
commit9807c47147a92a423f632e799137a31acd3ac41e
tree418ae05d5fa2a525890dbadb0eb8cdb118218ca0
parent8e33cb41f39edfe8c0955af33c0bf96cee6c3bcc
qemuDomainAttachChrDevice: Fix chardev hotplug

Not every chardev is plugged onto virtio-serial bus. However, the
code introduced in 89e991a2aa36b04 assumes that. Incorrectly.
With previous patches we have three options where a chardev can
be plugged: virtio-serial, USB and PCI. This commit fixes the
attach part.  However, since we are not auto allocating USB
addresses yet, I'm just marking the place where appropriate code
should go.

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