]> git.proxmox.com Git - qemu.git/commit
unbreak usb pass-through on linux.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Sep 2009 14:55:28 +0000 (16:55 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 25 Sep 2009 15:40:16 +0000 (17:40 +0200)
commit22f84e73d81a1b99a48b9bc4e3663fdfadfa7da1
treefe6e853322ef10c938669723168942b771cfdcf6
parentbefb031654d6b109571fe7095846c540c0136b84
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>
usb-linux.c