From: David Hildenbrand <david@redhat.com>
To: Ahmed Abd El Mawgood <ahmedsoliman0x666@gmail.com>,
kvm@vger.kernel.org,
Kernel Hardening <kernel-hardening@lists.openwall.com>,
virtualization@lists.linux-foundation.org,
linux-doc@vger.kernel.org, x86@kernel.org,
xen-devel@lists.xensource.com
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Kees Cook <keescook@chromium.org>, nathan Corbet <corbet@lwn.net>,
rkrcmar@redhat.com, David Vrabel <david.vrabel@nutanix.com>,
Boris Lukashev <blukashev@sempervictus.com>,
Ingo Molnar <mingo@redhat.com>,
nigel.edwards@hpe.com, hpa@zytor.com,
Paolo Bonzini <pbonzini@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
Rik van Riel <riel@surriel.com>
Subject: Re: [PATCH RFC V4 3/3] KVM: X86: Adding skeleton for Memory ROE
Date: Wed, 25 Jul 2018 11:36:23 +0200 [thread overview]
Message-ID: <61b16167-33cf-f435-6a9b-c20ab299e8d2@redhat.com> (raw)
In-Reply-To: <20180720233130.14129-4-ahmedsoliman0x666@gmail.com>
> 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
prev parent reply other threads:[~2018-07-25 9:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-20 23:31 Memory Read Only Enforcement: VMM assisted kernel rootkit mitigation for KVM V4 Ahmed Abd El Mawgood
2018-07-20 23:31 ` [PATCH RFC V4 1/3] KVM: X86: Memory ROE documentation Ahmed Abd El Mawgood
2018-07-20 23:31 ` [PATCH RFC V4 2/3] KVM: X86: Adding arbitrary data pointer in kvm memslot iterator functions Ahmed Abd El Mawgood
2018-07-20 23:31 ` [PATCH RFC V4 3/3] KVM: X86: Adding skeleton for Memory ROE Ahmed Abd El Mawgood
[not found] ` <20180720233130.14129-4-ahmedsoliman0x666@gmail.com>
2018-07-25 9:36 ` David Hildenbrand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=61b16167-33cf-f435-6a9b-c20ab299e8d2@redhat.com \
--to=david@redhat.com \
--cc=ahmedsoliman0x666@gmail.com \
--cc=ard.biesheuvel@linaro.org \
--cc=blukashev@sempervictus.com \
--cc=corbet@lwn.net \
--cc=david.vrabel@nutanix.com \
--cc=hpa@zytor.com \
--cc=keescook@chromium.org \
--cc=kernel-hardening@lists.openwall.com \
--cc=kvm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=nigel.edwards@hpe.com \
--cc=pbonzini@redhat.com \
--cc=riel@surriel.com \
--cc=rkrcmar@redhat.com \
--cc=tglx@linutronix.de \
--cc=virtualization@lists.linux-foundation.org \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).