• M
    qemu: Set virtio channel state sooner · 2f504455
    Michal Privoznik 提交于
    In qemu driver we listen to virtio channel events like an agent
    connected to or disconnected from the guest part of socket.
    However, with a little exception - when we find out that the
    socket in question is the guest agent one, we connect or
    disconnect guest agent which is done prior setting new state in
    internal structure. Due to a bug in our code it may happen that
    we got the event but failed to set it in internal structure
    representing the channel.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    2f504455
qemu_driver.c 646.1 KB