Searched refs:kvm_xsave (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | sev_smoke_test.c | 72 struct kvm_xsave __attribute__((aligned(64))) xsave = { 0 }; in test_sync_vmsa()
|
/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 407 struct kvm_xsave *xsave; 888 struct kvm_xsave *xsave) in vcpu_xsave_get() 893 struct kvm_xsave *xsave) in vcpu_xsave2_get() 898 struct kvm_xsave *xsave) in vcpu_xsave_set()
|
/linux/include/uapi/linux/ |
H A D | kvm.h | 1318 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave) 1319 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave) 1535 #define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
|
/linux/tools/include/uapi/linux/ |
H A D | kvm.h | 1318 #define KVM_GET_XSAVE _IOR(KVMIO, 0xa4, struct kvm_xsave) 1319 #define KVM_SET_XSAVE _IOW(KVMIO, 0xa5, struct kvm_xsave) 1535 #define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
|
/linux/arch/x86/kernel/fpu/ |
H A D | core.c | 247 gfpu->uabi_size = sizeof(struct kvm_xsave); in fpu_alloc_guest_fpstate()
|
/linux/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 381 struct kvm_xsave { struct
|
/linux/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 381 struct kvm_xsave { struct
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 1038 state->xsave = malloc(sizeof(struct kvm_xsave)); in vcpu_save_xsave_state()
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 4794 if (r < sizeof(struct kvm_xsave)) in kvm_vm_ioctl_check_extension() 4795 r = sizeof(struct kvm_xsave); in kvm_vm_ioctl_check_extension() 5617 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_get_xsave() 5624 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_set_xsave() 5865 struct kvm_xsave *xsave; in kvm_arch_vcpu_ioctl() 6070 if (vcpu->arch.guest_fpu.uabi_size > sizeof(struct kvm_xsave)) in kvm_arch_vcpu_ioctl() 6073 u.xsave = kzalloc(sizeof(struct kvm_xsave), GFP_KERNEL); in kvm_arch_vcpu_ioctl() 6083 if (copy_to_user(argp, u.xsave, sizeof(struct kvm_xsave))) in kvm_arch_vcpu_ioctl()
|