On a Tuesday in 2022, Michal Privoznik wrote:
Some USB devices have a buggy firmware that either crashes on
device reset, or make the device unusable in some other way.
Fortunately, QEMU offers a way to skip device reset either
completely, or if device is not initialized yet. Expose this
ability to users under:

   <hostdev mode='subsystem' type='usb'>
     <source guestReset='off'/>
   </hostdev>

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
docs/formatdomain.rst                          | 15 ++++++++++++++-
src/conf/domain_conf.c                         | 18 ++++++++++++++++++
src/conf/domain_conf.h                         | 13 +++++++++++++
src/conf/schemas/domaincommon.rng              |  9 +++++++++
tests/qemuxml2argvdata/hostdev-usb-address.xml |  2 +-
.../hostdev-usb-address.x86_64-latest.xml      |  2 +-
6 files changed, 56 insertions(+), 3 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to