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

Vitaly Kuznetsov posted 4 patches 9 weeks ago
Test syntax-check passed
Failed in applying to current master (apply log)
docs/formatdomain.html.in                     | 10 +--
docs/news.xml                                 |  9 +++
docs/schemas/domaincommon.rng                 | 16 ++++-
src/conf/domain_conf.c                        | 62 ++++++++++++++++++-
src/conf/domain_conf.h                        |  1 +
src/cpu/cpu_x86.c                             |  3 +
src/cpu/cpu_x86_data.h                        |  2 +
src/qemu/qemu_command.c                       |  3 +
src/qemu/qemu_process.c                       | 20 +++++-
tests/qemuxml2argvdata/hyperv-off.args        | 27 --------
.../hyperv-off.x86_64-latest.args             | 32 ++++++++++
tests/qemuxml2argvdata/hyperv-panic.args      | 27 --------
.../hyperv-panic.x86_64-latest.args           | 32 ++++++++++
.../hyperv-stimer-direct.x86_64-latest.args   | 32 ++++++++++
.../qemuxml2argvdata/hyperv-stimer-direct.xml | 33 ++++++++++
tests/qemuxml2argvdata/hyperv.args            | 29 ---------
.../hyperv.x86_64-latest.args                 | 34 ++++++++++
tests/qemuxml2argvtest.c                      |  7 ++-
.../hyperv-stimer-direct.xml                  | 35 +++++++++++
tests/qemuxml2xmltest.c                       |  1 +
20 files changed, 321 insertions(+), 94 deletions(-)
delete mode 100644 tests/qemuxml2argvdata/hyperv-off.args
create mode 100644 tests/qemuxml2argvdata/hyperv-off.x86_64-latest.args
delete mode 100644 tests/qemuxml2argvdata/hyperv-panic.args
create mode 100644 tests/qemuxml2argvdata/hyperv-panic.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/hyperv-stimer-direct.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/hyperv-stimer-direct.xml
delete mode 100644 tests/qemuxml2argvdata/hyperv.args
create mode 100644 tests/qemuxml2argvdata/hyperv.x86_64-latest.args
create mode 100644 tests/qemuxml2xmloutdata/hyperv-stimer-direct.xml

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

Posted by Vitaly Kuznetsov 9 weeks ago
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/qemuxml2argv tests.
- use VIR_CPU_x86_HV_STIMER_DIRECT instead of 'hv-stimer-direct'.

Original description:

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 (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 for Hyper-V Synthetic timers support

 docs/formatdomain.html.in                     | 10 +--
 docs/news.xml                                 |  9 +++
 docs/schemas/domaincommon.rng                 | 16 ++++-
 src/conf/domain_conf.c                        | 62 ++++++++++++++++++-
 src/conf/domain_conf.h                        |  1 +
 src/cpu/cpu_x86.c                             |  3 +
 src/cpu/cpu_x86_data.h                        |  2 +
 src/qemu/qemu_command.c                       |  3 +
 src/qemu/qemu_process.c                       | 20 +++++-
 tests/qemuxml2argvdata/hyperv-off.args        | 27 --------
 .../hyperv-off.x86_64-latest.args             | 32 ++++++++++
 tests/qemuxml2argvdata/hyperv-panic.args      | 27 --------
 .../hyperv-panic.x86_64-latest.args           | 32 ++++++++++
 .../hyperv-stimer-direct.x86_64-latest.args   | 32 ++++++++++
 .../qemuxml2argvdata/hyperv-stimer-direct.xml | 33 ++++++++++
 tests/qemuxml2argvdata/hyperv.args            | 29 ---------
 .../hyperv.x86_64-latest.args                 | 34 ++++++++++
 tests/qemuxml2argvtest.c                      |  7 ++-
 .../hyperv-stimer-direct.xml                  | 35 +++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 20 files changed, 321 insertions(+), 94 deletions(-)
 delete mode 100644 tests/qemuxml2argvdata/hyperv-off.args
 create mode 100644 tests/qemuxml2argvdata/hyperv-off.x86_64-latest.args
 delete mode 100644 tests/qemuxml2argvdata/hyperv-panic.args
 create mode 100644 tests/qemuxml2argvdata/hyperv-panic.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/hyperv-stimer-direct.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/hyperv-stimer-direct.xml
 delete mode 100644 tests/qemuxml2argvdata/hyperv.args
 create mode 100644 tests/qemuxml2argvdata/hyperv.x86_64-latest.args
 create mode 100644 tests/qemuxml2xmloutdata/hyperv-stimer-direct.xml

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

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

Posted by Vitaly Kuznetsov 8 weeks ago
Vitaly Kuznetsov <vkuznets@redhat.com> 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/qemuxml2argv tests.
> - use VIR_CPU_x86_HV_STIMER_DIRECT instead of 'hv-stimer-direct'.
>
> Original description:
>
> 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 (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 for Hyper-V Synthetic timers support
>

ping?

-- 
Vitaly

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list