Re: [PATCH v3 01/26] kvm: Merge kvm_check_extension() and kvm_vm_check_extension()

2024-12-04 Thread Jean-Philippe Brucker
On Tue, Nov 26, 2024 at 12:29:35PM +, Daniel P. Berrangé wrote: > On Mon, Nov 25, 2024 at 07:56:00PM +, Jean-Philippe Brucker wrote: > > The KVM_CHECK_EXTENSION ioctl can be issued either on the global fd > > (/dev/kvm), or on the VM fd obtained with KVM_CREATE_VM. For most > > extensions,

Re: [PATCH v3 01/26] kvm: Merge kvm_check_extension() and kvm_vm_check_extension()

2024-11-26 Thread Daniel P . Berrangé
On Mon, Nov 25, 2024 at 07:56:00PM +, Jean-Philippe Brucker wrote: > The KVM_CHECK_EXTENSION ioctl can be issued either on the global fd > (/dev/kvm), or on the VM fd obtained with KVM_CREATE_VM. For most > extensions, KVM returns the same value with either method, but for some > of them it can

[PATCH v3 01/26] kvm: Merge kvm_check_extension() and kvm_vm_check_extension()

2024-11-25 Thread Jean-Philippe Brucker
The KVM_CHECK_EXTENSION ioctl can be issued either on the global fd (/dev/kvm), or on the VM fd obtained with KVM_CREATE_VM. For most extensions, KVM returns the same value with either method, but for some of them it can refine the returned value depending on the VM type. The KVM documentation [1]