Revert "usbredir: avoid queuing hello packet on snapshot restore"
commitfb977a8174184c643c435c26d376793acb11c82e
authorJoelle van Dyne <j@getutm.app>
Wed, 23 Nov 2022 08:46:48 +0000 (23 09:46 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Nov 2022 10:53:37 +0000 (23 11:53 +0100)
tree4f4fb60e1353172c64f70c074555fb3c8dad532c
parent7c09a7f6ae1770d15535980d15dffdb23f4d9786
Revert "usbredir: avoid queuing hello packet on snapshot restore"

Run state is also in RUN_STATE_PRELAUNCH while "-S" is used.

This reverts commit 0631d4b448454ae8a1ab091c447e3f71ab6e088a

Signed-off-by: Joelle van Dyne <j@getutm.app>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
The original commit broke the usage of usbredir with libvirt, which
starts every domain with "-S".

This workaround is no longer needed because the usbredir behavior
has been fixed in the meantime:
https://gitlab.freedesktop.org/spice/usbredir/-/merge_requests/61

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Message-Id: <1689cec3eadcea87255e390cb236033aca72e168.1669193161.git.jtomko@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/redirect.c