mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
KVM: always define KVM_CAP_SYNC_MMU
KVM_CAP_SYNC_MMU is provided by KVM's MMU notifiers, which are now always available. Move the definition from individual architectures to common code. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
407fd8b8d8
commit
70295a479d
9 changed files with 5 additions and 17 deletions
|
|
@ -4870,6 +4870,7 @@ static int kvm_ioctl_create_device(struct kvm *kvm,
|
|||
static int kvm_vm_ioctl_check_extension_generic(struct kvm *kvm, long arg)
|
||||
{
|
||||
switch (arg) {
|
||||
case KVM_CAP_SYNC_MMU:
|
||||
case KVM_CAP_USER_MEMORY:
|
||||
case KVM_CAP_USER_MEMORY2:
|
||||
case KVM_CAP_DESTROY_MEMORY_REGION_WORKS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue