Gerd Hoffmann 1e351dc373 usb: Add QOM property "attached".
USB devices in attached state are visible to the guest.  This patch adds
a QOM property for this.  Write access is opt-in per device.  Some
devices manage attached state automatically (usb-host, usb-serial,
usb-redir), so we can't enable write access universally but have to do
it on a case by case base.  So far, no device opts in.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1465984019-28963-4-git-send-email-kraxel@redhat.com

[ minor codestyle fix ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-06-22 12:53:26 +02:00
..
2016-06-22 12:53:26 +02:00
2016-06-07 18:02:49 +03:00
2016-04-25 12:05:05 +01:00
2016-05-11 10:29:28 +02:00
2016-05-23 13:30:03 +02:00
2016-06-07 18:19:25 +03:00
2016-06-16 18:39:03 +02:00