diff options
author | Thomas Huth <thuth@redhat.com> | 2019-05-23 18:43:02 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2019-06-04 14:05:37 +0200 |
commit | a9c788f07347cf5dfcbe4bf77bf0f3a2a04c89f1 (patch) | |
tree | a16fd2852fb2447968647e986ce2825d0cc86fa8 /scripts/gdb/linux/utils.py | |
parent | f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a (diff) |
KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS
The struct kvm_vcpu_events code is only available on certain architectures
(arm, arm64 and x86). To be able to compile kvm_util.c also for other
architectures, we have to fence the code with __KVM_HAVE_VCPU_EVENTS.
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190523164309.13345-3-thuth@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions