summaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-11-04 12:34:42 +0200
committerAvi Kivity <avi@redhat.com>2009-11-15 14:16:36 +0200
commit4ab897e2ddb8813f5c864d3ce52369094f589fa8 (patch)
treecd036d0d28b655c919f5a918c905f25d99206142 /kvm
parentReport extra data on internal errors (diff)
downloadqemu-kvm-4ab897e2ddb8813f5c864d3ce52369094f589fa8.tar.gz
qemu-kvm-4ab897e2ddb8813f5c864d3ce52369094f589fa8.tar.bz2
qemu-kvm-4ab897e2ddb8813f5c864d3ce52369094f589fa8.zip
Import internal error data header updates from kvm.git
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r--kvm/include/linux/kvm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kvm/include/linux/kvm.h b/kvm/include/linux/kvm.h
index f8f8900fc..c518b3646 100644
--- a/kvm/include/linux/kvm.h
+++ b/kvm/include/linux/kvm.h
@@ -187,6 +187,9 @@ struct kvm_run {
} dcr;
struct {
__u32 suberror;
+ /* Available with KVM_CAP_INTERNAL_ERROR_DATA: */
+ __u32 ndata;
+ __u64 data[16];
} internal;
/* Fix the size of the union. */
char padding[256];
@@ -436,6 +439,7 @@ struct kvm_ioeventfd {
#endif
#define KVM_CAP_IOEVENTFD 36
#define KVM_CAP_SET_IDENTITY_MAP_ADDR 37
+#define KVM_CAP_INTERNAL_ERROR_DATA 40
#ifdef KVM_CAP_IRQ_ROUTING