Home
last modified time | relevance | path

Searched hist:"1 e351dc373c96a6df4107db3f780a4c89a791afd" (Results 1 – 2 of 2) sorted by relevance

/qemu/include/hw/
H A Dusb.h1e351dc373c96a6df4107db3f780a4c89a791afd Wed Jun 15 09:46:57 UTC 2016 Gerd Hoffmann <kraxel@redhat.com> 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>
/qemu/hw/usb/
H A Dbus.c1e351dc373c96a6df4107db3f780a4c89a791afd Wed Jun 15 09:46:57 UTC 2016 Gerd Hoffmann <kraxel@redhat.com> 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>