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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 31 Jan 2022 15:22:17 +0100
From:   Paolo Bonzini <pbonzini@...hat.com>
To:     Janosch Frank <frankja@...ux.ibm.com>, linux-kernel@...r.kernel.org
Cc:     kvm@...r.kernel.org, guang.zeng@...el.com, jing2.liu@...el.com,
        kevin.tian@...el.com, seanjc@...gle.com, tglx@...utronix.de,
        wei.w.wang@...el.com, yang.zhong@...el.com
Subject: Re: [PATCH] kvm: Move KVM_GET_XSAVE2 IOCTL definition at the end of
 kvm.h

On 1/28/22 16:40, Janosch Frank wrote:
> This way we can more easily find the next free IOCTL number when
> adding new IOCTLs.
> 
> Fixes: be50b2065dfa ("kvm: x86: Add support for getting/setting expanded xstate buffer")
> Signed-off-by: Janosch Frank <frankja@...ux.ibm.com>
> ---
>   include/uapi/linux/kvm.h | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
> index 9563d294f181..efe81fef25eb 100644
> --- a/include/uapi/linux/kvm.h
> +++ b/include/uapi/linux/kvm.h
> @@ -1623,9 +1623,6 @@ struct kvm_enc_region {
>   #define KVM_S390_NORMAL_RESET	_IO(KVMIO,   0xc3)
>   #define KVM_S390_CLEAR_RESET	_IO(KVMIO,   0xc4)
>   
> -/* Available with KVM_CAP_XSAVE2 */
> -#define KVM_GET_XSAVE2		  _IOR(KVMIO,  0xcf, struct kvm_xsave)
> -
>   struct kvm_s390_pv_sec_parm {
>   	__u64 origin;
>   	__u64 length;
> @@ -2047,4 +2044,7 @@ struct kvm_stats_desc {
>   
>   #define KVM_GET_STATS_FD  _IO(KVMIO,  0xce)
>   
> +/* Available with KVM_CAP_XSAVE2 */
> +#define KVM_GET_XSAVE2		  _IOR(KVMIO,  0xcf, struct kvm_xsave)
> +
>   #endif /* __LINUX_KVM_H */

Queued, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ