Home
last modified time | relevance | path

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

/linux-4.19.296/virt/kvm/
Dkvm_main.c2821 struct kvm_sregs *kvm_sregs = NULL; in kvm_vcpu_ioctl() local
2896 kvm_sregs = kzalloc(sizeof(struct kvm_sregs), GFP_KERNEL); in kvm_vcpu_ioctl()
2898 if (!kvm_sregs) in kvm_vcpu_ioctl()
2900 r = kvm_arch_vcpu_ioctl_get_sregs(vcpu, kvm_sregs); in kvm_vcpu_ioctl()
2904 if (copy_to_user(argp, kvm_sregs, sizeof(struct kvm_sregs))) in kvm_vcpu_ioctl()
2910 kvm_sregs = memdup_user(argp, sizeof(*kvm_sregs)); in kvm_vcpu_ioctl()
2911 if (IS_ERR(kvm_sregs)) { in kvm_vcpu_ioctl()
2912 r = PTR_ERR(kvm_sregs); in kvm_vcpu_ioctl()
2913 kvm_sregs = NULL; in kvm_vcpu_ioctl()
2916 r = kvm_arch_vcpu_ioctl_set_sregs(vcpu, kvm_sregs); in kvm_vcpu_ioctl()
[all …]
/linux-4.19.296/include/uapi/linux/
Dkvm.h1305 #define KVM_GET_SREGS _IOR(KVMIO, 0x83, struct kvm_sregs)
1306 #define KVM_SET_SREGS _IOW(KVMIO, 0x84, struct kvm_sregs)
/linux-4.19.296/include/linux/
Dkvm_host.h837 struct kvm_sregs *sregs);
839 struct kvm_sregs *sregs);