[libvirt PATCH 0/3] Invalidate the cpu flags cache on changes of kernel command line

Tim Wiederhake twiederh at redhat.com
Thu Aug 5 13:36:37 UTC 2021


The kernel command line can contain settings affecting the availability
of cpu features, eg. "tsx=on". This series adds the kernel command line
to the cpu flags cache and declares the cache invalid if the current
kernel command line differs.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1953389.

Tim Wiederhake (3):
  virQEMUCaps: Add kernel command line
  virQEMUCapsCachePriv: Add kernel command line
  qemu: Invalidate capabilities cache on kernel command line mismatch

 src/qemu/qemu_capabilities.c | 34 ++++++++++++++++++++++++++++++++--
 src/qemu/qemu_capspriv.h     |  3 ++-
 tests/qemucapsprobe.c        |  2 +-
 3 files changed, 35 insertions(+), 4 deletions(-)

-- 
2.31.1





More information about the libvir-list mailing list