summary refs log tree commit diff stats
path: root/hw/usb/dev-storage.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-09-12 14:24:55 +0400
committerGerd Hoffmann <kraxel@redhat.com>2022-09-23 14:38:27 +0200
commitd18431547f388db1e43c0cbc8a423ea9cc0df3d6 (patch)
tree41f1b438abab08987a457be697b251e45665bdb5 /hw/usb/dev-storage.c
parent72ce36f77ca6fe8cf9aae5ed28d7c3c865ef887d (diff)
downloadfocaccia-qemu-d18431547f388db1e43c0cbc8a423ea9cc0df3d6.tar.gz
focaccia-qemu-d18431547f388db1e43c0cbc8a423ea9cc0df3d6.zip
ui/vdagent: fix serial reset of guest agent
In order to reset the guest agent, we send CLOSED & OPENED events.

They are correctly received by the guest kernel. However, they might not
be noticed by the guest agent process, as the IO task (poll() for
example) might be wake up after both CLOSED & OPENED have been
processed.

Wait until the guest agent is disconnected to re-open our side.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220912102455.111765-6-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions