]> xenbits.xensource.com Git - libvirt.git/commit
conf: qemu: Add support for more HyperV Enlightenment features
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Thu, 10 Mar 2016 12:43:49 +0000 (15:43 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 28 Mar 2016 17:10:18 +0000 (13:10 -0400)
commit7068b56c8526667750d8cb91116e9b40382422f3
tree28a2d068f4f3bdbb06fac334459c38274124ad05
parent2e26d78c8b2a6773371cfc06cf8c0a2655ccd549
conf: qemu: Add support for more HyperV Enlightenment features

This patch adds support for "vpindex", "runtime", "synic",
"stimer", and "vendor_id" features available in qemu 2.5+.

- When Hyper-V "vpindex" is on, guest can use MSR HV_X64_MSR_VP_INDEX
to get virtual processor ID.

- Hyper-V "runtime" enlightement feature allows to use MSR
HV_X64_MSR_VP_RUNTIME to get the time the virtual processor consumes
running guest code, as well as the time the hypervisor spends running
code on behalf of that guest.

- Hyper-V "synic" stands for Synthetic Interrupt Controller, which is
lapic extension controlled via MSRs.

- Hyper-V "stimer" switches on Hyper-V SynIC timers MSR's support.
Guest can setup and use fired by host events (SynIC interrupt and
appropriate timer expiration message) as guest clock events

- Hyper-V "reset" allows guest to reset VM.

- Hyper-V "vendor_id" exposes hypervisor vendor id to guest.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Signed-off-by: John Ferlan <jferlan@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_parse_command.c
tests/qemuxml2argvdata/qemuxml2argv-hyperv-off.xml
tests/qemuxml2argvdata/qemuxml2argv-hyperv.args
tests/qemuxml2argvdata/qemuxml2argv-hyperv.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-hyperv-off.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-hyperv.xml