summary refs log tree commit diff stats
path: root/hw/usb/dev-hub.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-03-15 11:52:37 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-04-03 09:55:48 +0200
commit3713e1485e6eace7d48b9c790602cfd92c616e5f (patch)
treed87d634d4ccc5f941c2af86781f69b0d84c29024 /hw/usb/dev-hub.c
parent162cbbd1736de2bca43fdefa7e98c54a361ee60d (diff)
downloadfocaccia-qemu-3713e1485e6eace7d48b9c790602cfd92c616e5f.tar.gz
focaccia-qemu-3713e1485e6eace7d48b9c790602cfd92c616e5f.zip
usb-redir: Fix crash on migration with no client connected
If no client is connected on the src side, then we won't receive a
parser during migrate, in this case usbredir_post_load() should be a nop,
rather then to try to derefefence the NULL dev->parser pointer.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions