[PATCH kvm-unit-tests 0/4] x86: hyper-v: Add support for CONFIG_KVM_HYPERV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With the introduction of CONFIG_KVM_HYPERV:
https://lore.kernel.org/kvm/20231025152406.1879274-1-vkuznets@xxxxxxxxxx/

it becomes possible to build KVM without Hyper-V emulation support. Make
Hyper-V tests in kvm-unit-tests handle such case with dignity.

Vitaly Kuznetsov (4):
  x86: hyper-v: Use '-cpu host,hv_passhtrough' for Hyper-V tests
  x86: hyper-v: Use report_skip() in hyperv_stimer when pre-requisites
    are not met
  x86: hyper-v:  Use 'goto' instead of putting the whole test in an 'if'
    branch in hyperv_synic
  x86: hyper-v: Unify hyperv_clock with other Hyper-V tests

 x86/hyperv_clock.c  | 12 ++++-----
 x86/hyperv_stimer.c |  6 ++---
 x86/hyperv_synic.c  | 61 +++++++++++++++++++++++----------------------
 x86/unittests.cfg   |  8 +++---
 4 files changed, 43 insertions(+), 44 deletions(-)

-- 
2.41.0




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux