-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: selftests: move Hyper-V MSR definitions to hyperv.h
These defines can be shared by multiple tests, move them to a dedicated header. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210521095204.2161214-29-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
- Loading branch information
Vitaly Kuznetsov
authored and
Paolo Bonzini
committed
Jun 17, 2021
1 parent
445caed
commit 75a3f42
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* tools/testing/selftests/kvm/include/x86_64/hyperv.h | ||
* | ||
* Copyright (C) 2021, Red Hat, Inc. | ||
* | ||
*/ | ||
|
||
#ifndef SELFTEST_KVM_HYPERV_H | ||
#define SELFTEST_KVM_HYPERV_H | ||
|
||
#define HV_X64_MSR_GUEST_OS_ID 0x40000000 | ||
#define HV_X64_MSR_TIME_REF_COUNT 0x40000020 | ||
#define HV_X64_MSR_REFERENCE_TSC 0x40000021 | ||
#define HV_X64_MSR_TSC_FREQUENCY 0x40000022 | ||
#define HV_X64_MSR_REENLIGHTENMENT_CONTROL 0x40000106 | ||
#define HV_X64_MSR_TSC_EMULATION_CONTROL 0x40000107 | ||
|
||
#endif /* !SELFTEST_KVM_HYPERV_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters