Searched refs:xhc (Results 1 – 3 of 3) sorted by relevance
1317 int kvm_xen_hvm_config(struct kvm *kvm, struct kvm_xen_hvm_config *xhc) in kvm_xen_hvm_config() argument1325 if (xhc->flags & ~permitted_flags) in kvm_xen_hvm_config()1332 if ((xhc->flags & KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL) && in kvm_xen_hvm_config()1333 (xhc->blob_addr_32 || xhc->blob_addr_64 || in kvm_xen_hvm_config()1334 xhc->blob_size_32 || xhc->blob_size_64)) in kvm_xen_hvm_config()1339 if (xhc->msr && !kvm->arch.xen_hvm_config.msr) in kvm_xen_hvm_config()1341 else if (!xhc->msr && kvm->arch.xen_hvm_config.msr) in kvm_xen_hvm_config()1345 memcpy(&kvm->arch.xen_hvm_config, xhc, sizeof(*xhc)); in kvm_xen_hvm_config()1349 if ((old_flags ^ xhc->flags) & KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE) in kvm_xen_hvm_config()
28 int kvm_xen_hvm_config(struct kvm *kvm, struct kvm_xen_hvm_config *xhc);
7245 struct kvm_xen_hvm_config xhc; in kvm_arch_vm_ioctl() local7247 if (copy_from_user(&xhc, argp, sizeof(xhc))) in kvm_arch_vm_ioctl()7249 r = kvm_xen_hvm_config(kvm, &xhc); in kvm_arch_vm_ioctl()