diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index d02a7b94c4..cf66df1621 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -1973,6 +1973,10 @@ static int usbredir_post_load(void *priv, int version_id) { USBRedirDevice *dev = priv; + if (dev->parser == NULL) { + return 0; + } + switch (dev->device_info.speed) { case usb_redir_speed_low: dev->dev.speed = USB_SPEED_LOW;