KVM: selftests: Replace hardcoded Linux OS id with HYPERV_LINUX_OS_ID
authorVipin Sharma <vipinsh@google.com>
Mon, 12 Dec 2022 18:37:18 +0000 (10:37 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 1 Feb 2023 21:47:56 +0000 (13:47 -0800)
commitf65092015a83348fdc2f509e4ad8278e0c2df0cd
treeea0c508f4da382469c571c5b1522163a77ac2e7d
parentc4a46627e5a846e59f0097e3196f142eb6142f4f
KVM: selftests: Replace hardcoded Linux OS id with HYPERV_LINUX_OS_ID

Use HYPERV_LINUX_OS_ID macro instead of hardcoded 0x8100 << 48

Signed-off-by: Vipin Sharma <vipinsh@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20221212183720.4062037-12-vipinsh@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/hyperv_clock.c