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

Vitaly Kuznetsov posted 8 patches 4 years, 8 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190730101348.4055-1-vkuznets@redhat.com
There is a newer version of this series
docs/formatdomain.html.in           | 13 +++--
docs/news.xml                       |  9 ++++
docs/schemas/domaincommon.rng       | 16 +++++-
src/conf/domain_conf.c              | 77 ++++++++++++++++++++++++++---
src/conf/domain_conf.h              |  1 +
src/cpu/cpu_x86.c                   | 35 +++++++------
src/cpu/cpu_x86_data.h              |  2 +
src/qemu/qemu_command.c             | 12 +++--
src/qemu/qemu_process.c             | 20 +++++++-
tests/qemuxml2argvdata/hyperv.args  |  4 +-
tests/qemuxml2argvdata/hyperv.xml   |  4 +-
tests/qemuxml2xmloutdata/hyperv.xml |  4 +-
12 files changed, 158 insertions(+), 39 deletions(-)
[libvirt] [PATCH v2 0/8] Add support for Direct Mode for Hyper-V Synthetic timers
Posted by Vitaly Kuznetsov 4 years, 8 months ago
Changes since v1:
- Rebase
- Add Ján's R-b tags.
- Hardcode 'direct' as the only stimer feature to avoid over-engineering
  [Ján Tomko]
- Split 'conf' patch into three [Ján Tomko]
- Minor fixes [Ján Tomko]

QEMU-4.1 will bring us Direct Mode for Hyper-V Synthetic timers support,
we need to support it in libvirt too. As this is not a new enlightenment
but rather an enhancement of an existing one ('stimer'), support it in

    <stimer state='on'>
      <direct state='on'/>
    </stimer>

form. Backwards compatibility is (hopefully) preserved.

Vitaly Kuznetsov (8):
  docs: formatdomain: add stimer flag to the example xml
  docs: formatdomain: fix 'SynIC' spelling
  docs: formatdomain: move 'msrs' out of Hyper-V Enlightenments
  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
  qemu: add support for Direct Mode for Hyper-V Synthetic timers
  news: mention Direct Mode for Hyper-V Synthetic timers support

 docs/formatdomain.html.in           | 13 +++--
 docs/news.xml                       |  9 ++++
 docs/schemas/domaincommon.rng       | 16 +++++-
 src/conf/domain_conf.c              | 77 ++++++++++++++++++++++++++---
 src/conf/domain_conf.h              |  1 +
 src/cpu/cpu_x86.c                   | 35 +++++++------
 src/cpu/cpu_x86_data.h              |  2 +
 src/qemu/qemu_command.c             | 12 +++--
 src/qemu/qemu_process.c             | 20 +++++++-
 tests/qemuxml2argvdata/hyperv.args  |  4 +-
 tests/qemuxml2argvdata/hyperv.xml   |  4 +-
 tests/qemuxml2xmloutdata/hyperv.xml |  4 +-
 12 files changed, 158 insertions(+), 39 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/8] Add support for Direct Mode for Hyper-V Synthetic timers
Posted by Ján Tomko 4 years, 8 months ago
On Tue, Jul 30, 2019 at 12:13:40PM +0200, Vitaly Kuznetsov wrote:
>Changes since v1:
>- Rebase
>- Add Ján's R-b tags.
>- Hardcode 'direct' as the only stimer feature to avoid over-engineering
>  [Ján Tomko]
>- Split 'conf' patch into three [Ján Tomko]
>- Minor fixes [Ján Tomko]
>
>QEMU-4.1 will bring us Direct Mode for Hyper-V Synthetic timers support,
>we need to support it in libvirt too. As this is not a new enlightenment
>but rather an enhancement of an existing one ('stimer'), support it in
>
>    <stimer state='on'>
>      <direct state='on'/>
>    </stimer>
>
>form. Backwards compatibility is (hopefully) preserved.
>
>Vitaly Kuznetsov (8):
>  docs: formatdomain: add stimer flag to the example xml
>  docs: formatdomain: fix 'SynIC' spelling
>  docs: formatdomain: move 'msrs' out of Hyper-V Enlightenments

I went ahead and pushed these now in the freeze since they are fixing
the documentation.

Jano

>  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
>  qemu: add support for Direct Mode for Hyper-V Synthetic timers
>  news: mention Direct Mode for Hyper-V Synthetic timers support
>
> docs/formatdomain.html.in           | 13 +++--
> docs/news.xml                       |  9 ++++
> docs/schemas/domaincommon.rng       | 16 +++++-
> src/conf/domain_conf.c              | 77 ++++++++++++++++++++++++++---
> src/conf/domain_conf.h              |  1 +
> src/cpu/cpu_x86.c                   | 35 +++++++------
> src/cpu/cpu_x86_data.h              |  2 +
> src/qemu/qemu_command.c             | 12 +++--
> src/qemu/qemu_process.c             | 20 +++++++-
> tests/qemuxml2argvdata/hyperv.args  |  4 +-
> tests/qemuxml2argvdata/hyperv.xml   |  4 +-
> tests/qemuxml2xmloutdata/hyperv.xml |  4 +-
> 12 files changed, 158 insertions(+), 39 deletions(-)
>
>-- 
>2.20.1
>
>--
>libvir-list mailing list
>libvir-list@redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list