Re: [PATCH RFC V4 3/3] KVM: X86: Adding skeleton for Memory ROE
From: David Hildenbrand <hidden>
Date: 2018-07-25 09:36:31
Also in:
kvm, virtualization, xen-devel
From: David Hildenbrand <hidden>
Date: 2018-07-25 09:36:31
Also in:
kvm, virtualization, xen-devel
if (kvm_x86_ops->slot_disable_log_dirty) kvm_x86_ops->slot_disable_log_dirty(kvm, new);diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 4ee7bc548a83..82c5780e11d9 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h@@ -297,6 +297,9 @@ static inline int kvm_vcpu_exiting_guest_mode(struct kvm_vcpu *vcpu) struct kvm_memory_slot { gfn_t base_gfn; unsigned long npages; +#ifdef CONFIG_KVM_MROE + unsigned long *mroe_bitmap; +#endif
Yet another problematic bitmap when it comes to splitting/resizing memory slots atomically :( -- Thanks, David / dhildenb -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html