summary refs log tree commit diff stats
path: root/hw/serial.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-25 16:55:28 +0200
committerAurelien Jarno <aurelien@aurel32.net>2009-09-25 17:40:16 +0200
commit22f84e73d81a1b99a48b9bc4e3663fdfadfa7da1 (patch)
treefe6e853322ef10c938669723168942b771cfdcf6 /hw/serial.c
parentbefb031654d6b109571fe7095846c540c0136b84 (diff)
downloadfocaccia-qemu-22f84e73d81a1b99a48b9bc4e3663fdfadfa7da1.tar.gz
focaccia-qemu-22f84e73d81a1b99a48b9bc4e3663fdfadfa7da1.zip
unbreak usb pass-through on linux.
Changes:
  * Re-add the 'dev->fd = fd;' line which the qdev patches dropped
    by mistake.
  * call qdev_init() so the newly created usb device is plugged into
    a usb port and thus actually visible to the guest.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/serial.c')
0 files changed, 0 insertions, 0 deletions