From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1zRD-0003ru-3W for qemu-devel@nongnu.org; Thu, 26 Nov 2015 11:30:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1zRA-0003p5-Q4 for qemu-devel@nongnu.org; Thu, 26 Nov 2015 11:30:27 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:39503 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1zRA-0003ms-E7 for qemu-devel@nongnu.org; Thu, 26 Nov 2015 11:30:24 -0500 From: Andrey Smetanin Date: Thu, 26 Nov 2015 19:29:52 +0300 Message-Id: <1448555397-29150-1-git-send-email-asmetanin@virtuozzo.com> Subject: [Qemu-devel] [PATCH v1 0/5] KVM-UNIT-TESTS: Hyper-V SynIC timers test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org Cc: qemu-devel@nongnu.org, Paolo Bonzini , Marcelo Tosatti , Roman Kagan , "Denis V. Lunev" 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 Reviewed-by: Roman Kagan CC: Paolo Bonzini CC: Marcelo Tosatti CC: Roman Kagan CC: Denis V. Lunev CC: qemu-devel@nongnu.org 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