Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h217 struct kvm_xsave *xsave;
583 struct kvm_xsave *xsave) in vcpu_xsave_get()
588 struct kvm_xsave *xsave) in vcpu_xsave2_get()
593 struct kvm_xsave *xsave) in vcpu_xsave_set()
/Linux-v6.1/arch/x86/include/uapi/asm/
Dkvm.h382 struct kvm_xsave { struct
/Linux-v6.1/tools/arch/x86/include/uapi/asm/
Dkvm.h382 struct kvm_xsave { struct
/Linux-v6.1/tools/include/uapi/linux/
Dkvm.h1612 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1613 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
2192 #define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
/Linux-v6.1/include/uapi/linux/
Dkvm.h1612 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave)
1613 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave)
2192 #define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
/Linux-v6.1/arch/x86/kernel/fpu/
Dcore.c247 gfpu->uabi_size = sizeof(struct kvm_xsave); in fpu_alloc_guest_fpstate()
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c953 state->xsave = malloc(sizeof(struct kvm_xsave)); in vcpu_save_xsave_state()
/Linux-v6.1/arch/x86/kvm/
Dx86.c4506 if (r < sizeof(struct kvm_xsave)) in kvm_vm_ioctl_check_extension()
4507 r = sizeof(struct kvm_xsave); in kvm_vm_ioctl_check_extension()
5273 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_get_xsave()
5295 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_set_xsave()
5528 struct kvm_xsave *xsave; in kvm_arch_vcpu_ioctl()
5730 if (vcpu->arch.guest_fpu.uabi_size > sizeof(struct kvm_xsave)) in kvm_arch_vcpu_ioctl()
5733 u.xsave = kzalloc(sizeof(struct kvm_xsave), GFP_KERNEL_ACCOUNT); in kvm_arch_vcpu_ioctl()
5741 if (copy_to_user(argp, u.xsave, sizeof(struct kvm_xsave))) in kvm_arch_vcpu_ioctl()
/Linux-v6.1/Documentation/virt/kvm/
Dapi.rst1605 :Parameters: struct kvm_xsave (out)
1611 struct kvm_xsave {
1625 :Parameters: struct kvm_xsave (in)
1631 struct kvm_xsave {
1643 The offsets of the state save areas in struct kvm_xsave follow the
5800 :Parameters: struct kvm_xsave (out)
5806 struct kvm_xsave {
5818 The offsets of the state save areas in struct kvm_xsave follow the contents