[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 1/2] qemu_capabilities: Add QEMU_CAPS_USB_HOST_HOSTDEVICE



On a Monday in 2020, Michal Privoznik wrote:
This capability tracks whether "usb-host" device has "hostdevice"
attribute. This attribute allows us to specify full path to the
USB device ("/dev/bus/usb/$bus/$dev") but more importantly, since
QEMU uses qemu_open() for this attribute it allows us to pass
pre-opened FD and have QEMU not bother with opening the file at
all.

The attribute was added in v5.1.0-rc0~71^2~1 QEMU commit.

Signed-off-by: Michal Privoznik <mprivozn redhat com>
---
src/qemu/qemu_capabilities.c                  |  10 ++
src/qemu/qemu_capabilities.h                  |   3 +
.../caps_1.5.3.x86_64.replies                 | 126 ++++++++++++--
.../caps_1.6.0.x86_64.replies                 | 126 ++++++++++++--
.../caps_1.7.0.x86_64.replies                 | 126 ++++++++++++--
.../caps_2.1.1.x86_64.replies                 | 126 ++++++++++++--
.../caps_2.10.0.aarch64.replies               | 134 +++++++++++++--
.../caps_2.10.0.ppc64.replies                 | 130 ++++++++++++--
.../caps_2.10.0.s390x.replies                 | 134 +++++++++++++--
.../caps_2.10.0.x86_64.replies                | 146 +++++++++++++---
.../caps_2.11.0.s390x.replies                 | 134 +++++++++++++--
.../caps_2.11.0.x86_64.replies                | 146 +++++++++++++---
.../caps_2.12.0.aarch64.replies               | 150 +++++++++++++---
.../caps_2.12.0.ppc64.replies                 | 142 ++++++++++++---
.../caps_2.12.0.s390x.replies                 | 142 ++++++++++++---
.../caps_2.12.0.x86_64.replies                | 162 ++++++++++++++----
.../caps_2.4.0.x86_64.replies                 | 126 ++++++++++++--
.../caps_2.5.0.x86_64.replies                 | 130 ++++++++++++--
.../caps_2.6.0.aarch64.replies                | 134 +++++++++++++--
.../caps_2.6.0.ppc64.replies                  | 130 ++++++++++++--
.../caps_2.6.0.x86_64.replies                 | 130 ++++++++++++--
.../caps_2.7.0.s390x.replies                  | 130 ++++++++++++--
.../caps_2.7.0.x86_64.replies                 | 130 ++++++++++++--
.../caps_2.8.0.s390x.replies                  | 134 +++++++++++++--
.../caps_2.8.0.x86_64.replies                 | 130 ++++++++++++--
.../caps_2.9.0.ppc64.replies                  | 130 ++++++++++++--
.../caps_2.9.0.s390x.replies                  | 134 +++++++++++++--
.../caps_2.9.0.x86_64.replies                 | 146 +++++++++++++---
.../caps_3.0.0.ppc64.replies                  | 142 ++++++++++++---
.../caps_3.0.0.riscv32.replies                | 138 +++++++++++++--
.../caps_3.0.0.riscv64.replies                | 138 +++++++++++++--
.../caps_3.0.0.s390x.replies                  | 142 ++++++++++++---
.../caps_3.0.0.x86_64.replies                 | 162 ++++++++++++++----
.../caps_3.1.0.ppc64.replies                  | 142 ++++++++++++---
.../caps_3.1.0.x86_64.replies                 | 162 ++++++++++++++----
.../caps_4.0.0.aarch64.replies                | 150 +++++++++++++---
.../caps_4.0.0.ppc64.replies                  | 142 ++++++++++++---
.../caps_4.0.0.riscv32.replies                | 138 +++++++++++++--
.../caps_4.0.0.riscv64.replies                | 138 +++++++++++++--
.../caps_4.0.0.s390x.replies                  | 142 ++++++++++++---
.../caps_4.0.0.x86_64.replies                 | 162 ++++++++++++++----
.../caps_4.1.0.x86_64.replies                 | 154 ++++++++++++++---
.../caps_4.2.0.aarch64.replies                | 154 ++++++++++++++---
.../caps_4.2.0.ppc64.replies                  | 142 ++++++++++++---
.../caps_4.2.0.s390x.replies                  | 142 ++++++++++++---
.../caps_4.2.0.x86_64.replies                 | 154 ++++++++++++++---
.../caps_5.0.0.aarch64.replies                | 154 ++++++++++++++---
.../caps_5.0.0.ppc64.replies                  | 142 ++++++++++++---
.../caps_5.0.0.riscv64.replies                | 138 +++++++++++++--
.../caps_5.0.0.x86_64.replies                 | 154 ++++++++++++++---
.../caps_5.1.0.x86_64.replies                 | 158 ++++++++++++++---
.../caps_5.1.0.x86_64.xml                     |   1 +
.../caps_5.2.0.x86_64.replies                 | 158 ++++++++++++++---
.../caps_5.2.0.x86_64.xml                     |   1 +
54 files changed, 6097 insertions(+), 974 deletions(-)


Reviewed-by: Ján Tomko <jtomko redhat com>

Jano

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]