Re: [libvirt] [PATCH 1/2] conf: add crash to hyperv features

2015-11-10 Thread Vitaly Kuznetsov
"Denis V. Lunev" writes: > On 11/10/2015 06:55 PM, Dmitry Andreev wrote: >> Paolo, Jiri, can I do something more for this patch to be accepted? >> >> On 05.11.2015 17:32, Paolo Bonzini wrote: >>> >>> On 05/11/2015 14:54, Dmitry Andreev wrote: >> Add crash CPU feature for

[libvirt] [PATCH 0/3] conf: qemu: support new Hyper-V enlightenments

2018-08-09 Thread Vitaly Kuznetsov
Several new Hyper-V enlightenments were recently added to Qemu: - hv-frequencies - hv-reenlightenment - hv-tlbflush Support these in libvirt. Vitaly Kuznetsov (3): conf: qemu: add support for Hyper-V frequency MSRs conf: qemu: add support for Hyper-V reenlightenment notifications conf

[libvirt] [PATCH 1/3] conf: qemu: add support for Hyper-V frequency MSRs

2018-08-09 Thread Vitaly Kuznetsov
Qemu-2.12 gained 'hv-frequencies' cpu flag to enable Hyper-V frequency MSRs. These MSRs are required (but not sufficient) to make Hyper-V on KVM pass stable TSC page clocksource to L2 guests. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas

[libvirt] [PATCH 2/3] conf: qemu: add support for Hyper-V reenlightenment notifications

2018-08-09 Thread Vitaly Kuznetsov
Qemu-3.0 supports so-called 'Reenlightenment' notifications and this (in conjunction with 'hv-frequencies') can be used make Hyper-V on KVM pass stable TSC page clocksource to L2 guests. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas

[libvirt] [PATCH 3/3] conf: qemu: add support for Hyper-V PV TLB flush

2018-08-09 Thread Vitaly Kuznetsov
Qemu-3.0 supports Hyper-V-style PV TLB flush, Windows guests can benefit from this feature as KVM knows which vCPUs are not currently scheduled (and thus don't require any immediate action). Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas

[libvirt] [PATCH 1/2] conf: qemu: add support for Hyper-V PV IPIs

2018-11-13 Thread Vitaly Kuznetsov
Qemu-3.1 supports Hyper-V-style PV IPIs making it cheaper for Windows guests to send an IPI, especially when it targets many CPUs. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas/domaincommon.rng | 5 + src/conf/domain_conf.c

[libvirt] [PATCH 0/2] conf: qemu: support new Hyper-V enlightenments in Qemu-3.1

2018-11-13 Thread Vitaly Kuznetsov
The upcoming Qemu-3.1 release will bring us two new Hyper-V enlightenments: hv_ipi and hv_evmcs. Support these in libvirt. Vitaly Kuznetsov (2): conf: qemu: add support for Hyper-V PV IPIs conf: qemu: add support for Hyper-V Enlightened VMCS docs/formatdomain.html.in | 14

Re: [libvirt] [PATCH 1/2] conf: qemu: add support for Hyper-V PV IPIs

2018-11-14 Thread Vitaly Kuznetsov
Andrea Bolognani writes: ... > >> + 4.10.0 (QEMU 3.1) > > Again pre-existing: what does the first version number refer to? It > would be nice to have it spelled out. > My understanding is that this is libvirt version. We can, of course, spell it out but: $ git grep -c 'class="since"'

[libvirt] [PATCH v3 4/6] conf: add support for Hyper-V Enlightened VMCS

2018-11-14 Thread Vitaly Kuznetsov
Support Hyper-V Enlightened VMCS in domain config. QEMU support will be implemented in the next patch, adding interim VIR_DOMAIN_HYPERV_EVMCS cases to src/qemu/* for now. Reviewed-by: Andrea Bolognani Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas

[libvirt] [PATCH v3 0/6] conf: qemu: support new Hyper-V enlightenments in QEMU 3.1

2018-11-14 Thread Vitaly Kuznetsov
] Vitaly Kuznetsov (6): docs: remove extra whitespace from Hyper-V enlightenments options conf: add support for Hyper-V PV IPIs qemu: add support for Hyper-V PV IPIs conf: add support for Hyper-V Enlightened VMCS qemu: add support for Hyper-V Enlightened VMCS news: mention Hyper-V PV IPI

[libvirt] [PATCH v3 2/6] conf: add support for Hyper-V PV IPIs

2018-11-14 Thread Vitaly Kuznetsov
Support Hyper-V PV IPI enlightenment in domain config. QEMU support will be implemented in the next patch, adding interim VIR_DOMAIN_HYPERV_IPI cases to src/qemu/* for now. Reviewed-by: Andrea Bolognani Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas

[libvirt] [PATCH v3 3/6] qemu: add support for Hyper-V PV IPIs

2018-11-14 Thread Vitaly Kuznetsov
QEMU 3.1 supports Hyper-V-style PV IPIs making it cheaper for Windows guests to send an IPI, especially when it targets many CPUs. Reviewed-by: Andrea Bolognani Signed-off-by: Vitaly Kuznetsov --- src/qemu/qemu_command.c | 2 +- src/qemu/qemu_parse_command.c | 2

[libvirt] [PATCH v3 5/6] qemu: add support for Hyper-V Enlightened VMCS

2018-11-14 Thread Vitaly Kuznetsov
QEMU 3.1 supports Hyper-V Enlightened VMCS feature which significantly speeds up nested Hyper-V on KVM environments. Signed-off-by: Vitaly Kuznetsov --- src/qemu/qemu_command.c | 2 +- src/qemu/qemu_parse_command.c | 2 +- src/qemu/qemu_process.c | 2

[libvirt] [PATCH v3 1/6] docs: remove extra whitespace from Hyper-V enlightenments options

2018-11-14 Thread Vitaly Kuznetsov
Remove redundant leading whitespaces from " on, off". Suggested-by: Andrea Bolognani Reviewed-by: Andrea Bolognani Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/formatdomain

Re: [libvirt] [PATCH v2 3/5] qemu: add support for Hyper-V PV IPIs

2018-11-14 Thread Vitaly Kuznetsov
Andrea Bolognani writes: > On Wed, 2018-11-14 at 17:27 +0100, Vitaly Kuznetsov wrote: >> Qemu 3.1 supports Hyper-V-style PV IPIs making it cheaper for Windows > > s/Qemu/QEMU/ > > Better than in v1 but not quite perfect yet ;) > > [...] >> + >> +

[libvirt] [PATCH v3 6/6] news: mention Hyper-V PV IPI and Enlightened VMCS support

2018-11-14 Thread Vitaly Kuznetsov
The QEMU driver now has support for Hyper-V PV IPI and Enlightened VMCS for Windows and Hyper-V guests. Suggested-by: Andrea Bolognani Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index 88774c55ae

Re: [libvirt] [PATCH 0/2] conf: qemu: support new Hyper-V enlightenments in Qemu-3.1

2018-11-14 Thread Vitaly Kuznetsov
John Ferlan writes: > On 11/14/18 4:04 AM, Andrea Bolognani wrote: >> On Tue, 2018-11-13 at 18:53 +0100, Vitaly Kuznetsov wrote: >>> The upcoming Qemu-3.1 release will bring us two new Hyper-V enlightenments: >>> hv_ipi and hv_evmcs. Support these in libvirt.

[libvirt] [PATCH v2 0/5] conf: qemu: support new Hyper-V enlightenments in Qemu 3.1

2018-11-14 Thread Vitaly Kuznetsov
from docs/formatdomain.html.in [Andrea Bolognani] - Minor tweaks [Andrea Bolognani] Vitaly Kuznetsov (5): docs: remove extra whitespate from Hyper-V enlightenments options conf: add support for Hyper-V PV IPIs qemu: add support for Hyper-V PV IPIs conf: add support for Hyper-V Enlightened

[libvirt] [PATCH v2 2/5] conf: add support for Hyper-V PV IPIs

2018-11-14 Thread Vitaly Kuznetsov
Support Hyper-V PV IPI enlightenment in domain config. Qemu support will be implemented in the next patch, adding interim VIR_DOMAIN_HYPERV_IPI cases to src/qemu/* for now. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas/domaincommon.rng | 5

[libvirt] [PATCH v2 1/5] docs: remove extra whitespate from Hyper-V enlightenments options

2018-11-14 Thread Vitaly Kuznetsov
Remove redundant leading whitespaces from " on, off". Suggested-by: Andrea Bolognani Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.htm

[libvirt] [PATCH v2 4/5] conf: add support for Hyper-V Enlightened VMCS

2018-11-14 Thread Vitaly Kuznetsov
Support Hyper-V Enlightened VMCS in domain config. Qemu support will be implemented in the next patch, adding interim VIR_DOMAIN_HYPERV_EVMCS cases to src/qemu/* for now. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas/domaincommon.rng | 5 + src

[libvirt] [PATCH v2 5/5] qemu: add support for Hyper-V Enlightened VMCS

2018-11-14 Thread Vitaly Kuznetsov
Qemu 3.1 supports Hyper-V Enlightened VMCS feature which significantly speeds up nested Hyper-V on KVM environments. Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + src/qemu/qemu_command.c | 2 +- src/qemu/qemu_parse_command.c

[libvirt] [PATCH v2 3/5] qemu: add support for Hyper-V PV IPIs

2018-11-14 Thread Vitaly Kuznetsov
Qemu 3.1 supports Hyper-V-style PV IPIs making it cheaper for Windows guests to send an IPI, especially when it targets many CPUs. Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + src/qemu/qemu_command.c | 2 +- src/qemu

[libvirt] [PATCH 2/2] conf: qemu: add support for Hyper-V Enlightened VMCS

2018-11-13 Thread Vitaly Kuznetsov
Qemu-3.1 supports Hyper-V Enlightened VMCS feature which significantly speeds up nested Hyper-V on KVM environments. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 7 +++ docs/schemas/domaincommon.rng | 5 + src/conf/domain_conf.c

Re: [libvirt] [PATCH v4 0/4] Add support for Direct Mode for Hyper-V Synthetic timers

2019-08-16 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Changes since v3 [Ján Tomko]: > - Drop already merged patches. > - add "tests: qemuxml2argv: switch to DO_TEST_CAPS_LATEST for Hyper-V > tests" patch (hope I got the idea correctly). > - add hyperv-stimer-direct test to qemuxml2xml/qe

[libvirt] [PATCH v2 4/8] cpu_x86: add Edx to KVM_FEATURE_DEF()

2019-07-30 Thread Vitaly Kuznetsov
Some Hyper-V features (like the upcoming Direct Synthetic timers) are announced by feature bits in Edx but KVM_FEATURE_DEF() supports only Eax. Signed-off-by: Vitaly Kuznetsov --- src/cpu/cpu_x86.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff

[libvirt] [PATCH v2 5/8] conf: change the way how Hyper-V features are printed out

2019-07-30 Thread Vitaly Kuznetsov
Current code doesn't allow us to add sub-features as we always print the closing '/>'. As a preparatory change to implementing 'direct' sub-feature for 'stimer' feature switch to printing closing tag individually. No functional change. Signed-off-by: Vitaly Kuznetsov --- src/conf/domain_con

[libvirt] [PATCH v2 3/8] docs: formatdomain: move 'msrs' out of Hyper-V Enlightenments

2019-07-30 Thread Vitaly Kuznetsov
Introduced by: commit e9528f41c612fff334e958d5e5df197aa8e83792 'msrs' is a feature unrelated to Hyper-V Enlightenments, the commit message which added it and the test have it right: ... ... Signed-off-by: Vitaly Kuznetsov Reviewed-by: Ján Tomko --- docs

[libvirt] [PATCH v2 8/8] news: mention Direct Mode for Hyper-V Synthetic timers support

2019-07-30 Thread Vitaly Kuznetsov
The QEMU driver now supports Direct Mode for Hyper-V Synthetic timers for Hyper-V guests. Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index 1134309ec2..e4d8f1ecac 100644 --- a/docs/news.xml +++ b

[libvirt] [PATCH v2 6/8] conf: add support for Direct Mode for Hyper-V Synthetic timers

2019-07-30 Thread Vitaly Kuznetsov
Support 'Direct Mode' for Hyper-V Synthetic Timers in domain config. Make it 'stimer' enlightenment option as it is not a separate thing. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 10 +++--- docs/schemas/domaincommon.rng | 16 - src/conf/domain_conf.c

[libvirt] [PATCH v2 0/8] Add support for Direct Mode for Hyper-V Synthetic timers

2019-07-30 Thread Vitaly Kuznetsov
it in libvirt too. As this is not a new enlightenment but rather an enhancement of an existing one ('stimer'), support it in form. Backwards compatibility is (hopefully) preserved. Vitaly Kuznetsov (8): docs: formatdomain: add stimer flag to the example xml docs

[libvirt] [PATCH v2 1/8] docs: formatdomain: add stimer flag to the example xml

2019-07-30 Thread Vitaly Kuznetsov
The example XML we have contains all other Hyper-V Enlightenments but 'stimer' is missing. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Ján Tomko --- docs/formatdomain.html.in | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index

[libvirt] [PATCH v2 7/8] qemu: add support for Direct Mode for Hyper-V Synthetic timers

2019-07-30 Thread Vitaly Kuznetsov
QEMU-4.1 supports 'Direct Mode' for Hyper-V synthetic timers (hv-stimer-direct CPU flag): Windows guests can request that timer expiration notifications are delivered as normal interrupts (and not VMBus messages). This is used by Hyper-V on KVM. Signed-off-by: Vitaly Kuznetsov --- src/qemu

[libvirt] [PATCH v2 2/8] docs: formatdomain: fix 'SynIC' spelling

2019-07-30 Thread Vitaly Kuznetsov
SynIC stands for 'Synthetic Interrupt Controller', it is not a NIC. Fix the spelling in accordance with Hypervisor Top Level Functional Specification. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Ján Tomko --- docs/formatdomain.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [libvirt] [PATCH 4/6] conf: add support for Direct Mode for Hyper-V Synthetic timers

2019-07-29 Thread Vitaly Kuznetsov
Ján Tomko writes: > On Thu, Jul 25, 2019 at 03:52:16PM +0200, Vitaly Kuznetsov wrote: >>Support 'Direct Mode' for Hyper-V Synthetic Timers in domain config. >>Make it 'stimer' enlightenment option as it is not a separate thing. >> >>Signed-off-by: Vita

Re: [libvirt] [PATCH 0/5] Fix hyperv and kvm features with QEMU 4.1

2019-07-29 Thread Vitaly Kuznetsov
r CPUID bits (mostly because > of MSR features). Thus we need to change our made up internal names into > the actual names used by QEMU. > > Otherwise libvirt would mistakenly report the features as unavailable > and refuse to start any domain using them with QEMU 4.1. > > Reported-

Re: [libvirt] [PATCH v3 4/5] qemu: add support for Direct Mode for Hyper-V Synthetic timers

2019-08-09 Thread Vitaly Kuznetsov
Ján Tomko writes: > Either leave this as-is and add the new feature in a separate test, > or you can branch the test based on QEMU versions like we do for other > features: > > DO_TEST_CAPS_VER("pv-spinlock-disabled", "2.7.0"); > DO_TEST_CAPS_VER("pv-spinlock-disabled", "4.0.0"); >

[libvirt] [PATCH v4 2/4] conf: add support for Direct Mode for Hyper-V Synthetic timers

2019-08-09 Thread Vitaly Kuznetsov
Support 'Direct Mode' for Hyper-V Synthetic Timers in domain config. Make it 'stimer' enlightenment option as it is not a separate thing. Reviewed-by: Ján Tomko Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 10 +++--- docs/schemas/domaincommon.rng | 16 - src/conf

[libvirt] [PATCH v4 3/4] qemu: add support for Direct Mode for Hyper-V Synthetic timers

2019-08-09 Thread Vitaly Kuznetsov
QEMU-4.1 supports 'Direct Mode' for Hyper-V synthetic timers (hv-stimer-direct CPU flag): Windows guests can request that timer expiration notifications are delivered as normal interrupts (and not VMBus messages). This is used by Hyper-V on KVM. Signed-off-by: Vitaly Kuznetsov --- src/qemu

[libvirt] [PATCH v4 0/4] Add support for Direct Mode for Hyper-V Synthetic timers

2019-08-09 Thread Vitaly Kuznetsov
Backwards compatibility is (hopefully) preserved. Vitaly Kuznetsov (4): tests: qemuxml2argv: switch to DO_TEST_CAPS_LATEST for Hyper-V tests conf: add support for Direct Mode for Hyper-V Synthetic timers qemu: add support for Direct Mode for Hyper-V Synthetic timers news: mention Direct Mode f

[libvirt] [PATCH v4 1/4] tests: qemuxml2argv: switch to DO_TEST_CAPS_LATEST for Hyper-V tests

2019-08-09 Thread Vitaly Kuznetsov
In particular, switch to using canonical 'hv-feature' syntax instead of 'hv_feature' aliases. Suggested-by: Ján Tomko ~ Signed-off-by: Vitaly Kuznetsov --- tests/qemuxml2argvdata/hyperv-off.args| 27 --- .../hyperv-off.x86_64-latest.args | 32

[libvirt] [PATCH v4 4/4] news: mention Direct Mode for Hyper-V Synthetic timers support

2019-08-09 Thread Vitaly Kuznetsov
The QEMU driver now supports Direct Mode for Hyper-V Synthetic timers for Hyper-V guests. Reviewed-by: Ján Tomko Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index a4d727b9c5..d63fca3b48 100644

Re: [libvirt] [PATCH v3 4/5] qemu: add support for Direct Mode for Hyper-V Synthetic timers

2019-08-09 Thread Vitaly Kuznetsov
Ján Tomko writes: > One more thing, qemuxml2argvtest is using DO_TEST: > DO_TEST("hyperv", NONE); > DO_TEST("hyperv-off", NONE); > DO_TEST("hyperv-panic", NONE); > which manually enumarate the used QEMU capabilities (although there are > none here) > > DO_TEST_CAPS_LATEST is the way

[libvirt] [PATCH v3 3/5] conf: add support for Direct Mode for Hyper-V Synthetic timers

2019-08-05 Thread Vitaly Kuznetsov
Support 'Direct Mode' for Hyper-V Synthetic Timers in domain config. Make it 'stimer' enlightenment option as it is not a separate thing. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 10 +++--- docs/schemas/domaincommon.rng | 16 - src/conf/domain_conf.c

[libvirt] [PATCH v3 2/5] conf: change the way how Hyper-V features are printed out

2019-08-05 Thread Vitaly Kuznetsov
Current code doesn't allow us to add sub-features as we always print the closing '/>'. As a preparatory change to implementing 'direct' sub-feature for 'stimer' feature switch to printing closing tag individually. No functional change. Signed-off-by: Vitaly Kuznetsov --- src/conf/domain_con

[libvirt] [PATCH v3 5/5] news: mention Direct Mode for Hyper-V Synthetic timers support

2019-08-05 Thread Vitaly Kuznetsov
The QEMU driver now supports Direct Mode for Hyper-V Synthetic timers for Hyper-V guests. Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index a4d727b9c5..d63fca3b48 100644 --- a/docs/news.xml +++ b

[libvirt] [PATCH v3 1/5] cpu_x86: add Edx to KVM_FEATURE_DEF()

2019-08-05 Thread Vitaly Kuznetsov
Some Hyper-V features (like the upcoming Direct Synthetic timers) are announced by feature bits in Edx but KVM_FEATURE_DEF() supports only Eax. Signed-off-by: Vitaly Kuznetsov --- src/cpu/cpu_x86.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff

[libvirt] [PATCH v3 0/5] Add support for Direct Mode for Hyper-V Synthetic timers

2019-08-05 Thread Vitaly Kuznetsov
of an existing one ('stimer'), support it in form. Backwards compatibility is (hopefully) preserved. Vitaly Kuznetsov (5): cpu_x86: add Edx to KVM_FEATURE_DEF() conf: change the way how Hyper-V features are printed out conf: add support for Direct Mode for Hyper-V Synthetic timers

[libvirt] [PATCH v3 4/5] qemu: add support for Direct Mode for Hyper-V Synthetic timers

2019-08-05 Thread Vitaly Kuznetsov
QEMU-4.1 supports 'Direct Mode' for Hyper-V synthetic timers (hv-stimer-direct CPU flag): Windows guests can request that timer expiration notifications are delivered as normal interrupts (and not VMBus messages). This is used by Hyper-V on KVM. Signed-off-by: Vitaly Kuznetsov --- src/qemu

[libvirt] [BUG] Hyper-V Enlightenments are broken in 5.5.0+

2019-07-24 Thread Vitaly Kuznetsov
Hi, when some Hyper-V enlightenments are added to the domain configuration, e.g. ... .. ... I'm observing the following: # virsh create /etc/libvirt/qemu/win2k16.xml error: Failed to create domain from /etc/libvirt/qemu/win2k16.xml error: unsupported

Re: [libvirt] [BUG] Hyper-V Enlightenments are broken in 5.5.0+

2019-07-25 Thread Vitaly Kuznetsov
Jiri Denemark writes: > On Wed, Jul 24, 2019 at 18:48:38 +0200, Vitaly Kuznetsov wrote: >> Hi, >> >> when some Hyper-V enlightenments are added to the domain configuration, >> e.g. >> >> >> ... >> >> .. >

Re: [libvirt] [BUG] Hyper-V Enlightenments are broken in 5.5.0+

2019-07-25 Thread Vitaly Kuznetsov
Jiri Denemark writes: > On Thu, Jul 25, 2019 at 11:09:28 +0200, Vitaly Kuznetsov wrote: >> Jiri Denemark writes: >> >> > On Wed, Jul 24, 2019 at 18:48:38 +0200, Vitaly Kuznetsov wrote: >> >> Hi, >> >> >> >> when some Hyper-V enl

[libvirt] [PATCH 3/6] docs: formatdomain: move 'msrs' out of Hyper-V Enlightenments

2019-07-25 Thread Vitaly Kuznetsov
'msrs' is a feature unrelated to Hyper-V Enlightenments, the commit message which added it and the test have it right: ... ... Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs

[libvirt] [PATCH 2/6] docs: formatdomain: fix 'SynIC' spelling

2019-07-25 Thread Vitaly Kuznetsov
SynIC stands for 'Synthetic Interrupt Controller', it is not a NIC. Fix the spelling in accordance with Hypervisor Top Level Functional Specification. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs

[libvirt] [PATCH 0/6] Add support for Direct Mode for Hyper-V Synthetic timers

2019-07-25 Thread Vitaly Kuznetsov
: document existing Hyper-V enlightenments 2344d22e50 i386/kvm: move Hyper-V CPUID filling to hyperv_handle_properties() 6760bd2002 i386/kvm: add support for KVM_GET_SUPPORTED_HV_CPUID 2d384d7c83 i386/kvm: convert hyperv enlightenments properties from bools to bits Vitaly Kuznetsov (6): docs

[libvirt] [PATCH 4/6] conf: add support for Direct Mode for Hyper-V Synthetic timers

2019-07-25 Thread Vitaly Kuznetsov
Support 'Direct Mode' for Hyper-V Synthetic Timers in domain config. Make it 'stimer' enlightenment option as it is not a separate thing. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 10 ++- docs/schemas/domaincommon.rng | 16 +++- src/conf/domain_conf.c| 138

[libvirt] [PATCH 5/6] qemu: add support for Direct Mode for Hyper-V Synthetic timers

2019-07-25 Thread Vitaly Kuznetsov
QEMU-4.1 supports 'Direct Mode' for Hyper-V synthetic timers (hv-stimer-direct CPU flag): Windows guests can request that timer expiration notifications are delivered as normal interrupts (and not VMBus messages). This is used by Hyper-V on KVM. Signed-off-by: Vitaly Kuznetsov --- src/qemu

[libvirt] [PATCH 1/6] docs: formatdomain: add synic flag to the example xml

2019-07-25 Thread Vitaly Kuznetsov
The example XML we have contains all other Hyper-V Enlightenments but 'stimer' is missing. Signed-off-by: Vitaly Kuznetsov --- docs/formatdomain.html.in | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 1d57729394..0aedd9efbb 100644

[libvirt] [PATCH 6/6] news: mention Direct Mode for Hyper-V Synthetic timers support

2019-07-25 Thread Vitaly Kuznetsov
The QEMU driver now supports Direct Mode for Hyper-V Synthetic timers for Hyper-V guests. Signed-off-by: Vitaly Kuznetsov --- docs/news.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/news.xml b/docs/news.xml index 1134309ec2..e4d8f1ecac 100644 --- a/docs/news.xml +++ b