Home
last modified time | relevance | path

Searched refs:kvm_xsave (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h378 struct kvm_xsave *xsave;
836 struct kvm_xsave *xsave) in vcpu_xsave_get()
841 struct kvm_xsave *xsave) in vcpu_xsave2_get()
846 struct kvm_xsave *xsave) in vcpu_xsave_set()
/Linux-v6.6/tools/arch/x86/include/uapi/asm/
Dkvm.h380 struct kvm_xsave { struct
/Linux-v6.6/arch/x86/include/uapi/asm/
Dkvm.h380 struct kvm_xsave { struct
/Linux-v6.6/tools/include/uapi/linux/
Dkvm.h1625 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1626 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
2213 #define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
/Linux-v6.6/include/uapi/linux/
Dkvm.h1632 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1633 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
2220 #define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
/Linux-v6.6/arch/x86/kernel/fpu/
Dcore.c247 gfpu->uabi_size = sizeof(struct kvm_xsave); in fpu_alloc_guest_fpstate()
/Linux-v6.6/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c947 state->xsave = malloc(sizeof(struct kvm_xsave)); in vcpu_save_xsave_state()
/Linux-v6.6/arch/x86/kvm/
Dx86.c4621 if (r < sizeof(struct kvm_xsave)) in kvm_vm_ioctl_check_extension()
4622 r = sizeof(struct kvm_xsave); in kvm_vm_ioctl_check_extension()
5412 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_get_xsave()
5419 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_set_xsave()
5652 struct kvm_xsave *xsave; in kvm_arch_vcpu_ioctl()
5854 if (vcpu->arch.guest_fpu.uabi_size > sizeof(struct kvm_xsave)) in kvm_arch_vcpu_ioctl()
5857 u.xsave = kzalloc(sizeof(struct kvm_xsave), GFP_KERNEL_ACCOUNT); in kvm_arch_vcpu_ioctl()
5865 if (copy_to_user(argp, u.xsave, sizeof(struct kvm_xsave))) in kvm_arch_vcpu_ioctl()
/Linux-v6.6/Documentation/virt/kvm/
Dapi.rst1586 :Parameters: struct kvm_xsave (out)
1592 struct kvm_xsave {
1606 :Parameters: struct kvm_xsave (in)
1612 struct kvm_xsave {
1624 The offsets of the state save areas in struct kvm_xsave follow the
5922 :Parameters: struct kvm_xsave (out)
5928 struct kvm_xsave {
5940 The offsets of the state save areas in struct kvm_xsave follow the contents