[libvirt PATCH 00/10] Enable hyperv-passthrough

Ján Tomko jtomko at redhat.com
Mon Nov 29 15:44:12 UTC 2021


On a Friday in 2021, Tim Wiederhake wrote:
>This series enables "hv-passthrough" in libvirt.
>See https://bugzilla.redhat.com/show_bug.cgi?id=1851249.
>
>Example usage in VM definition:
>  <features>
>    <hyperv mode='passthrough'/>
>  </features>
>
>Tim Wiederhake (10):
>  schema: Wrap hyperv element in choice and group
>  schema: Add optional "mode" attribute to hyperv
>  conf: domain: Define enum for HyperV mode
>  virDomainFeaturesHyperVDefParse: Read attribute "mode" of element
>    "hyperv"
>  virDomainDefFormatFeatures: Write attribute "mode" of element "hyperv"
>  docs: domain: Add documentation for "hyperv"'s new "mode" attribute
>  conf: domain: Add hyperv passthrough mode
>  schema: hyperv: Add mode "passthrough"
>  tests: Add tests for hyperv-passthrough
>  docs: domain: Add documentation for hyperv passthrough mode
>
> docs/formatdomain.rst                         |  13 +-
> docs/schemas/domaincommon.rng                 | 172 ++++++++++--------
> src/conf/domain_conf.c                        |  23 ++-
> src/conf/domain_conf.h                        |   8 +
> src/qemu/qemu_command.c                       |  18 +-
> src/qemu/qemu_validate.c                      |   2 +-
> .../hyperv-passthrough.x86_64-6.1.0.args      |  32 ++++
> .../hyperv-passthrough.x86_64-latest.args     |  32 ++++
> tests/qemuxml2argvdata/hyperv-passthrough.xml |  27 +++
> tests/qemuxml2argvtest.c                      |   2 +
> tests/qemuxml2xmloutdata/hyperv-off.xml       |   2 +-
> .../qemuxml2xmloutdata/hyperv-passthrough.xml |  31 ++++
> .../hyperv-stimer-direct.xml                  |   2 +-
> tests/qemuxml2xmloutdata/hyperv.xml           |   2 +-
> tests/qemuxml2xmltest.c                       |   1 +
> 15 files changed, 277 insertions(+), 90 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/hyperv-passthrough.x86_64-6.1.0.args
> create mode 100644 tests/qemuxml2argvdata/hyperv-passthrough.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/hyperv-passthrough.xml
> create mode 100644 tests/qemuxml2xmloutdata/hyperv-passthrough.xml
>

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/20211129/2e0d0cd4/attachment-0001.sig>


More information about the libvir-list mailing list