aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorWei Wang <[email protected]>2022-01-17 20:48:17 -0500
committerPaolo Bonzini <[email protected]>2022-01-19 12:09:25 -0500
commit1a1d1dbce6d5477e2bb08ce1ef0d77caa838cc8e (patch)
treead20215853b9c47375743626fb4baa4a24bb8678 /lib/mpi/mpi-sub-ui.c
parente9737468829c2f6abc0c67e5372f8878dff11653 (diff)
kvm: selftests: conditionally build vm_xsave_req_perm()
vm_xsave_req_perm() is currently defined and used by x86_64 only. Make it compiled into vm_create_with_vcpus() only when on x86_64 machines. Otherwise, it would cause linkage errors, e.g. on s390x. Fixes: 415a3c33e8 ("kvm: selftests: Add support for KVM_CAP_XSAVE2") Reported-by: Janis Schoetterl-Glausch <[email protected]> Signed-off-by: Wei Wang <[email protected]> Tested-by: Janis Schoetterl-Glausch <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions