[libvirt PATCH 0/3] cpu: Fix build on some aarch64 platforms

Andrea Bolognani abologna at redhat.com
Sun Feb 7 13:45:56 UTC 2021


The current code was written under the assumption that any
platform that supports aarch64 will have either getauxval()
or elf_aux_info(), but that's not always true.

Andrea Bolognani (3):
  cpu: Only include <sys/auxv.h> if available
  cpu: Only retrieve AT_HWCAP once
  cpu: Fix build on some aarch64 platforms

 meson.build       |  1 +
 src/cpu/cpu_arm.c | 26 ++++++++++++--------------
 2 files changed, 13 insertions(+), 14 deletions(-)

-- 
2.26.2





More information about the libvir-list mailing list