Commit ed848624 authored by Avi Kivity's avatar Avi Kivity

KVM: Advertise synchronized mmu support to userspace

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent e930bffe
...@@ -883,6 +883,7 @@ int kvm_dev_ioctl_check_extension(long ext) ...@@ -883,6 +883,7 @@ int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_PIT: case KVM_CAP_PIT:
case KVM_CAP_NOP_IO_DELAY: case KVM_CAP_NOP_IO_DELAY:
case KVM_CAP_MP_STATE: case KVM_CAP_MP_STATE:
case KVM_CAP_SYNC_MMU:
r = 1; r = 1;
break; break;
case KVM_CAP_COALESCED_MMIO: case KVM_CAP_COALESCED_MMIO:
......
...@@ -371,6 +371,7 @@ struct kvm_trace_rec { ...@@ -371,6 +371,7 @@ struct kvm_trace_rec {
#define KVM_CAP_PV_MMU 13 #define KVM_CAP_PV_MMU 13
#define KVM_CAP_MP_STATE 14 #define KVM_CAP_MP_STATE 14
#define KVM_CAP_COALESCED_MMIO 15 #define KVM_CAP_COALESCED_MMIO 15
#define KVM_CAP_SYNC_MMU 16 /* Changes to host mmap are reflected in guest */
/* /*
* ioctls for VM fds * ioctls for VM fds
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment