commit | c795720629ae1bfcbaef7a934a4cc1ce8c2e2834 | [log] [tgz] |
---|---|---|
author | Thomas Huth <thuth@redhat.com> | Thu May 23 11:31:14 2019 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 24 21:27:17 2019 +0200 |
tree | beffa4cf2b1fd0c3c1f87b20bea9bad2464ce8f0 | |
parent | 98e683443ba298685205c0c5157df49e42c1c0b1 [diff] |
KVM: selftests: Wrap vcpu_nested_state_get/set functions with x86 guard struct kvm_nested_state is only available on x86 so far. To be able to compile the code on other architectures as well, we need to wrap the related code with #ifdefs. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>