Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kvm/
H A Dxen.c1112 int kvm_xen_hvm_config(struct kvm *kvm, struct kvm_xen_hvm_config *xhc) in kvm_xen_hvm_config() argument
1118 if (xhc->flags & ~permitted_flags) in kvm_xen_hvm_config()
1125 if ((xhc->flags & KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL) && in kvm_xen_hvm_config()
1126 (xhc->blob_addr_32 || xhc->blob_addr_64 || in kvm_xen_hvm_config()
1127 xhc->blob_size_32 || xhc->blob_size_64)) in kvm_xen_hvm_config()
1132 if (xhc->msr && !kvm->arch.xen_hvm_config.msr) in kvm_xen_hvm_config()
1134 else if (!xhc->msr && kvm->arch.xen_hvm_config.msr) in kvm_xen_hvm_config()
1137 memcpy(&kvm->arch.xen_hvm_config, xhc, sizeof(*xhc)); in kvm_xen_hvm_config()
H A Dxen.h28 int kvm_xen_hvm_config(struct kvm *kvm, struct kvm_xen_hvm_config *xhc);
H A Dx86.c6987 struct kvm_xen_hvm_config xhc; in kvm_arch_vm_ioctl() local
6989 if (copy_from_user(&xhc, argp, sizeof(xhc))) in kvm_arch_vm_ioctl()
6991 r = kvm_xen_hvm_config(kvm, &xhc); in kvm_arch_vm_ioctl()