]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Close the agent connection only on agent channel events
authorPeter Krempa <pkrempa@redhat.com>
Tue, 30 Jun 2015 08:46:50 +0000 (10:46 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 30 Jun 2015 11:18:02 +0000 (13:18 +0200)
commitf1caa42777ff5433fb15f05f62d2ff717876eeac
tree540149ad3d82735f9c56d1902aec2cf0b15d0ebe
parente66a4c0b53a7a4a8afcb0d7d10b0569b84aac91c
qemu: Close the agent connection only on agent channel events

processSerialChangedEvent processes events for all channels. Commit
2af51483 broke all agent interaction if a channel other than the agent
closes since it did not check that the event actually originated from
the guest agent channel.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1236924
Fixes up: https://bugzilla.redhat.com/show_bug.cgi?id=890648
src/qemu/qemu_driver.c