[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 0/5] KVM-UNIT-TESTS: Hyper-V SynIC timers tes
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v1 0/5] KVM-UNIT-TESTS: Hyper-V SynIC timers test |
Date: |
Fri, 27 Nov 2015 12:17:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 26/11/2015 17:29, Andrey Smetanin wrote:
> 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 <address@hidden>
> Reviewed-by: Roman Kagan <address@hidden>
> CC: Paolo Bonzini <address@hidden>
> CC: Marcelo Tosatti <address@hidden>
> CC: Roman Kagan <address@hidden>
> CC: Denis V. Lunev <address@hidden>
> CC: address@hidden
>
> 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
In addition to my comments on 5/5, can you make instead a hyperv.h file
with all that you need in the two testcases?
Paolo
> 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
>