Re: [PATCH 2/5] conf: Introduce @guestReset to hostdev's <source/>

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

 



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 <mprivozn@xxxxxxxxxx>
---
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 <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux