lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <b33966c9-d428-ba79-ecb1-1c873f39383e@de.ibm.com> Date: Tue, 12 Dec 2017 19:42:52 +0100 From: Christian Borntraeger <borntraeger@...ibm.com> To: Paolo Bonzini <pbonzini@...hat.com>, linux-kernel@...r.kernel.org, kvm@...r.kernel.org Cc: kvm-ppc@...r.kernel.org, cohuck@...hat.com, christoffer.dall@...aro.org, James Hogan <jhogan@...nel.org>, Paul Mackerras <paulus@...abs.org> Subject: Re: [PATCH] KVM: introduce kvm_arch_vcpu_async_ioctl On 12/12/2017 06:31 PM, Paolo Bonzini wrote: > After the vcpu_load/vcpu_put pushdown, the handling of asynchronous VCPU > ioctl is already much clearer in that it is obvious that they bypass > vcpu_load and vcpu_put. > > However, it is still not perfect in that the different state of the VCPU > mutex is still hidden in the caller. Separate those ioctls into a new > function kvm_arch_vcpu_async_ioctl that returns -ENOIOCTLCMD for more > "traditional" synchronous ioctls. > > Cc: James Hogan <jhogan@...nel.org> > Cc: Paul Mackerras <paulus@...abs.org> > Cc: Christian Borntraeger <borntraeger@...ibm.com> looks sane. > Suggested-by: Cornelia Huck <cohuck@...hat.com> > Signed-off-by: Paolo Bonzini <pbonzini@...hat.com> > --- > arch/mips/kvm/mips.c | 15 ++++++++++++--- > arch/powerpc/kvm/powerpc.c | 14 +++++++++++--- > arch/s390/kvm/kvm-s390.c | 16 ++++++++++++---- > include/linux/kvm_host.h | 2 ++ > virt/kvm/kvm_main.c | 8 ++++---- > 5 files changed, 41 insertions(+), 14 deletions(-) >
Powered by blists - more mailing lists