[PATCH kvm-unit-tests 0/4] x86: hyperv_stimer: test direct mode

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

 



I should've done that when QEMU patche for 'hv_stimer_direct' landed but
better late than never, right?

Testing 'direct' mode requires us to add 'hv_stimer_direct' CPU flag to
QEMU, create a new entry in unittests.cfg to not lose the ability to test
stimers in 'message' mode with older QEMUs/kernels. Unfortunately, a
failure with './run_tests' will still be visible.

Vitaly Kuznetsov (4):
  x86: hyperv_stimer: keep SINT number parameter in 'struct stimer'
  x86: hyperv_stimer: define union hv_stimer_config
  x86: hyperv_stimer: don't require hyperv-testdev
  x86: hyperv_stimer: add direct mode tests

 x86/hyperv.h        |  29 +++++++--
 x86/hyperv_stimer.c | 152 ++++++++++++++++++++++++++++++++++----------
 x86/unittests.cfg   |   8 ++-
 3 files changed, 150 insertions(+), 39 deletions(-)

-- 
2.20.1





[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