Lines Matching refs:hp
758 struct xen_hvm_param hp; in handle_set_param() local
762 qemu_build_assert(sizeof(hp) == 16); in handle_set_param()
764 if (kvm_copy_from_gva(cs, arg, &hp, sizeof(hp))) { in handle_set_param()
769 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_set_param()
774 switch (hp.index) { in handle_set_param()
777 err = xen_evtchn_set_callback_param(hp.value); in handle_set_param()
794 struct xen_hvm_param hp; in handle_get_param() local
798 qemu_build_assert(sizeof(hp) == 16); in handle_get_param()
800 if (kvm_copy_from_gva(cs, arg, &hp, sizeof(hp))) { in handle_get_param()
805 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_get_param()
810 switch (hp.index) { in handle_get_param()
812 hp.value = XEN_SPECIAL_PFN(XENSTORE); in handle_get_param()
815 hp.value = xen_xenstore_get_port(); in handle_get_param()
818 hp.value = xen_primary_console_get_pfn(); in handle_get_param()
819 if (!hp.value) { in handle_get_param()
824 hp.value = xen_primary_console_get_port(); in handle_get_param()
825 if (!hp.value) { in handle_get_param()
833 if (!err && kvm_copy_to_gva(cs, arg, &hp, sizeof(hp))) { in handle_get_param()