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: <170137868908.667071.11420459240927661184.b4-ty@google.com> Date: Thu, 30 Nov 2023 17:52:08 -0800 From: Sean Christopherson <seanjc@...gle.com> To: Sean Christopherson <seanjc@...gle.com>, pbonzini@...hat.com, Wei Wang <wei.w.wang@...el.com> Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH RESEND v2] KVM: move KVM_CAP_DEVICE_CTRL to the generic check On Wed, 15 Mar 2023 18:16:06 +0800, Wei Wang wrote: > KVM_CAP_DEVICE_CTRL allows userspace to check if the kvm_device > framework (e.g. KVM_CREATE_DEVICE) is supported by KVM. Move > KVM_CAP_DEVICE_CTRL to the generic check for the two reasons: > 1) it already supports arch agnostic usages (i.e. KVM_DEV_TYPE_VFIO). > For example, userspace VFIO implementation may needs to create > KVM_DEV_TYPE_VFIO on x86, riscv, or arm etc. It is simpler to have it > checked at the generic code than at each arch's code. > 2) KVM_CREATE_DEVICE has been added to the generic code. > > [...] Applied to kvm-x86 generic, thanks! [1/1] KVM: move KVM_CAP_DEVICE_CTRL to the generic check https://github.com/kvm-x86/linux/commit/63912245c19d -- https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists