]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix assignment of the default spicevmc channel name
authorJiri Denemark <jdenemar@redhat.com>
Tue, 30 Jun 2015 08:21:21 +0000 (10:21 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 30 Jun 2015 08:31:29 +0000 (10:31 +0200)
commit365b454ed9e86fb5c7125d66924ff95ae526afdc
tree55b1e8b2c915241f6e87390df125072d1b494171
parent528e70a29af2cba1ea80e5ffc16a15db54ebcb8b
qemu: Fix assignment of the default spicevmc channel name

Make sure we only assign the default spicevmc channel name to spicevmc
virtio channels. Caused by commits 3269ee65 and 1133ee2b, which moved
the assignment from XML parsing code to QEMU but failed to keep the
logic.

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

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-default.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-default.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c