[PATCH kvm-unit-tests 0/8] Extend and apply the errata framework

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

 



We've had an errata framework merged in for a while, but it hasn't been
getting used (at least not upstream). This series extends it to allow
run script environment provided and host kernel version based generated
errata variables to be automatically provided to unit tests. It then
changes a couple arm unit tests to use the errata framework, now that
it's more useful.

The benefit of this over always using the 'nodefault' group is that
once a host has been patched the unit test will automatically start
running as a regression test - no need to manually run it, meaning no
concern that it will likely never actually be run...

Andrew Jones (8):
  arch-run: introduce initrd_create
  arch-run: provide errata from run env
  x86/run: source config.mak
  arch-run: generate errata when no environ is provided
  errata: add ERRATA_FORCE
  README: add section on guarding unsafe tests
  AArch32: apply errata framework to unsafe pmccntr64 test
  arm/arm64: apply errata framework to unsafe cpu-on test

 README.md             | 34 ++++++++++++++++++++++
 arm/pmu.c             | 26 +++++++++++------
 arm/psci.c            |  7 ++++-
 arm/run               |  5 ++--
 arm/unittests.cfg     |  2 +-
 configure             | 11 ++++++++
 errata.txt            |  7 +++++
 lib/errata.h          | 21 ++++++++++++--
 powerpc/run           |  5 ++--
 run_tests.sh          |  2 ++
 scripts/arch-run.bash | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++
 x86/run               | 14 +++++++--
 12 files changed, 193 insertions(+), 19 deletions(-)
 create mode 100644 errata.txt

-- 
2.9.4




[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