The test checks Hyper-V SynIC timers functionality.
The test runs on every vCPU and performs start/stop
of periodic/one-shot timers (with period=1ms) and checks
validity of received expiration messages in appropriate
ISR's.

Changes v2:
* Share generic Hyper-V tests code
* Hyper-V SynIC timers test fixes to improve
readability and output

Signed-off-by: Andrey Smetanin <asmeta...@virtuozzo.com>
Reviewed-by: Roman Kagan <rka...@virtuozzo.com>
CC: Paolo Bonzini <pbonz...@redhat.com>
CC: Marcelo Tosatti <mtosa...@redhat.com>
CC: Roman Kagan <rka...@virtuozzo.com>
CC: Denis V. Lunev <d...@openvz.org>
CC: qemu-de...@nongnu.org

Andrey Smetanin (3):
  lib/x86: Make free_page() available to call
  x86/hyperv: Move Hyper-V generic code into hyperv.h/hyperv.c
  x86: Hyper-V SynIC timers test

 config/config-x86-common.mak |   8 +-
 lib/x86/msr.h                |  23 ---
 lib/x86/vm.h                 |   1 +
 x86/hyperv.c                 |  24 +++
 x86/hyperv.h                 | 183 +++++++++++++++++++++
 x86/hyperv_stimer.c          | 376 +++++++++++++++++++++++++++++++++++++++++++
 x86/hyperv_synic.c           |  42 +----
 x86/unittests.cfg            |   5 +
 8 files changed, 603 insertions(+), 59 deletions(-)
 create mode 100644 x86/hyperv.c
 create mode 100644 x86/hyperv.h
 create mode 100644 x86/hyperv_stimer.c

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to