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

Ján Tomko jtomko at redhat.com
Wed Jul 13 08:48:58 UTC 2022


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 at 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 <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220713/3752e102/attachment.sig>


More information about the libvir-list mailing list