]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: cold-plug of sound
authorJidong Xia <xiajidong@cmss.chinamobile.com>
Tue, 15 Oct 2019 06:41:27 +0000 (14:41 +0800)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Nov 2019 13:42:59 +0000 (08:42 -0500)
commit9ec64b591ee40954df329c9d5ec9e4378000f257
tree8a369fc93fd5c49eac575fc97668caf80e6ea811
parent35e1547870c7a0c9bfb2bb6ff6ead359da69c951
qemu: cold-plug of sound

With this patch users can cold plug some sound devices.
use "virsh attach-device vm sound.xml --config" command.
Consider the following sound.xml for a domain:
    <sound model='ich6'>
         <address type='pci' domain='0x0000' bus='0x00' slot='xxx' function='0'/>
    </sound>

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Jidong Xia <xiajidong@cmss.chinamobile.com>
src/qemu/qemu_driver.c