diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2016-06-15 11:46:57 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-06-22 12:53:26 +0200 |
| commit | 1e351dc373c96a6df4107db3f780a4c89a791afd (patch) | |
| tree | 6a3e1eda4c32e6f38b2ad9e677d04cb7d9191692 /hw/usb/dev-storage.c | |
| parent | eb19d2b9d15bf68d27704e8727772924681644b8 (diff) | |
| download | focaccia-qemu-1e351dc373c96a6df4107db3f780a4c89a791afd.tar.gz focaccia-qemu-1e351dc373c96a6df4107db3f780a4c89a791afd.zip | |
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>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions