[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/7] Revert "usbredir: avoid queuing hello packet on snapshot rest
From: |
Gerd Hoffmann |
Subject: |
[PULL 1/7] Revert "usbredir: avoid queuing hello packet on snapshot restore" |
Date: |
Wed, 23 Nov 2022 15:44:30 +0100 |
From: Joelle van Dyne <j@getutm.app>
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 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 1bd30efc3ef0..fd7df599bc0b 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -1280,8 +1280,7 @@ static void usbredir_create_parser(USBRedirDevice *dev)
}
#endif
- if (runstate_check(RUN_STATE_INMIGRATE) ||
- runstate_check(RUN_STATE_PRELAUNCH)) {
+ if (runstate_check(RUN_STATE_INMIGRATE)) {
flags |= usbredirparser_fl_no_hello;
}
usbredirparser_init(dev->parser, VERSION, caps, USB_REDIR_CAPS_SIZE,
--
2.38.1
- [PULL 0/7] Fixes 20221123 patches, Gerd Hoffmann, 2022/11/23
- [PULL 1/7] Revert "usbredir: avoid queuing hello packet on snapshot restore",
Gerd Hoffmann <=
- [PULL 5/7] hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset(), Gerd Hoffmann, 2022/11/23
- [PULL 3/7] hw/usb/hcd-xhci.c: spelling: tranfer, Gerd Hoffmann, 2022/11/23
- [PULL 4/7] ui/gtk: prevent ui lock up when dpy_gl_update called again before current draw event occurs, Gerd Hoffmann, 2022/11/23
- [PULL 6/7] hw/audio/intel-hda: don't reset codecs twice, Gerd Hoffmann, 2022/11/23
- [PULL 7/7] hw/audio/intel-hda: Drop unnecessary prototype, Gerd Hoffmann, 2022/11/23
- [PULL 2/7] gtk: disable GTK Clipboard with a new meson option, Gerd Hoffmann, 2022/11/23
- Re: [PULL 0/7] Fixes 20221123 patches, Peter Maydell, 2022/11/23
- Re: [PULL 0/7] Fixes 20221123 patches, Stefan Hajnoczi, 2022/11/23