Lines Matching full:hp
754 struct xen_hvm_param hp; in handle_set_param() local
758 qemu_build_assert(sizeof(hp) == 16); in handle_set_param()
760 if (kvm_copy_from_gva(cs, arg, &hp, sizeof(hp))) { in handle_set_param()
765 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_set_param()
770 switch (hp.index) { in handle_set_param()
773 err = xen_evtchn_set_callback_param(hp.value); in handle_set_param()
790 struct xen_hvm_param hp; in handle_get_param() local
794 qemu_build_assert(sizeof(hp) == 16); in handle_get_param()
796 if (kvm_copy_from_gva(cs, arg, &hp, sizeof(hp))) { in handle_get_param()
801 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_get_param()
806 switch (hp.index) { in handle_get_param()
808 hp.value = XEN_SPECIAL_PFN(XENSTORE); in handle_get_param()
811 hp.value = xen_xenstore_get_port(); in handle_get_param()
814 hp.value = xen_primary_console_get_pfn(); in handle_get_param()
815 if (!hp.value) { in handle_get_param()
820 hp.value = xen_primary_console_get_port(); in handle_get_param()
821 if (!hp.value) { in handle_get_param()
829 if (!err && kvm_copy_to_gva(cs, arg, &hp, sizeof(hp))) { in handle_get_param()