summaryrefslogtreecommitdiff
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2008-12-08 18:25:27 +0200
committerAvi Kivity <avi@redhat.com>2008-12-31 16:55:46 +0200
commit1a811b6167089bcdb84284f2dc9fd0b4d0f1899d (patch)
tree6a5d9fbf78475dd7fe2f0b85aa98dd8b82b660d8 /include/linux/kvm.h
parent7f59f492da722eb3551bbe1f8f4450a21896f05d (diff)
downloadlinux-bcache-1a811b6167089bcdb84284f2dc9fd0b4d0f1899d.tar.zst
KVM: Advertise the bug in memory region destruction as fixed
Userspace might need to act differently. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 0997e6f5490c..48807767e726 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -395,6 +395,8 @@ struct kvm_trace_rec {
#if defined(CONFIG_X86)
#define KVM_CAP_DEVICE_MSI 20
#endif
+/* Bug in KVM_SET_USER_MEMORY_REGION fixed: */
+#define KVM_CAP_DESTROY_MEMORY_REGION_WORKS 21
/*
* ioctls for VM fds