From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Mon, 23 Oct 2017 16:14:35 +0200 Subject: [PATCH] KVM: arm/arm64: Allow usercopy to vcpu->arch.ctxt and arm64 debug In-Reply-To: <20171022074418.GA3805@cbox> References: <20171020232525.7387-1-pbonzini@redhat.com> <20171021184545.2497-1-christoffer.dall@linaro.org> <20171022074418.GA3805@cbox> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 22/10/2017 09:44, Christoffer Dall wrote: > However, I think it's much clearer if I > rewrite these to use get_user() and put_user(). v2 incoming. I'd actually prefer if you all do a trivial conversion to kvm_init_usercopy to begin with. In fact, we could just change the default from "0, 0" to "0, sizeof (kvm_arch_vcpu)" in kvm_init. Any other change can be applied after the patches are merged to Linus's tree, especially with KVM Forum and the merge window both coming soon. I'll send a v2 myself later this week. Thanks all, Paolo