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.

Signed-off-by: Andrey Smetanin <[email protected]>
Reviewed-by: Roman Kagan <[email protected]>
CC: Paolo Bonzini <[email protected]>
CC: Marcelo Tosatti <[email protected]>
CC: Roman Kagan <[email protected]>
CC: Denis V. Lunev <[email protected]>
CC: [email protected]

Andrey Smetanin (5):
  lib/x86: Added Hyper-V MSR's availability bits into msr.h
  lib/x86: Added HV_X64_MSR_TIME_REF_COUNT value into msr.h
  lib/x86: Added Hyper-V SynIC timers MSR's values
  lib/x86: Make free_page() available to call
  x86: Hyper-V SynIC timers test

 config/config-x86-common.mak |   4 +-
 lib/x86/msr.h                |  19 ++
 lib/x86/vm.h                 |   1 +
 x86/hyperv_stimer.c          | 500 +++++++++++++++++++++++++++++++++++++++++++
 x86/hyperv_synic.c           |   2 +-
 x86/unittests.cfg            |   5 +
 6 files changed, 529 insertions(+), 2 deletions(-)
 create mode 100644 x86/hyperv_stimer.c

-- 
2.4.3


Reply via email to