On Fri, Aug 09, 2019 at 04:31:40PM +0200, Vitaly Kuznetsov wrote:
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 <vkuznets(a)redhat.com>
---
src/qemu/qemu_command.c | 3 ++
src/qemu/qemu_process.c | 20 +++++++++--
.../hyperv-stimer-direct.x86_64-latest.args | 32 +++++++++++++++++
.../qemuxml2argvdata/hyperv-stimer-direct.xml | 33 +++++++++++++++++
tests/qemuxml2argvtest.c | 1 +
.../hyperv-stimer-direct.xml | 35 +++++++++++++++++++
tests/qemuxml2xmltest.c | 1 +
7 files changed, 123 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/hyperv-stimer-direct.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/hyperv-stimer-direct.xml
create mode 100644 tests/qemuxml2xmloutdata/hyperv-stimer-direct.xml
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano