Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dx86.c3230 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_get_xsave() argument
3233 memset(guest_xsave, 0, sizeof(struct kvm_xsave)); in kvm_vcpu_ioctl_x86_get_xsave()
3234 fill_xsave((u8 *) guest_xsave->region, vcpu); in kvm_vcpu_ioctl_x86_get_xsave()
3236 memcpy(guest_xsave->region, in kvm_vcpu_ioctl_x86_get_xsave()
3239 *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)] = in kvm_vcpu_ioctl_x86_get_xsave()
3247 struct kvm_xsave *guest_xsave) in kvm_vcpu_ioctl_x86_set_xsave() argument
3250 *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)]; in kvm_vcpu_ioctl_x86_set_xsave()
3251 u32 mxcsr = *(u32 *)&guest_xsave->region[XSAVE_MXCSR_OFFSET / sizeof(u32)]; in kvm_vcpu_ioctl_x86_set_xsave()
3262 load_xsave(vcpu, (u8 *)guest_xsave->region); in kvm_vcpu_ioctl_x86_set_xsave()
3268 guest_xsave->region, sizeof(struct fxregs_state)); in kvm_vcpu_ioctl_x86_set_xsave()