Re: [libvirt PATCH 00/10] Enable hyperv-passthrough

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

 



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@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