Home
last modified time | relevance | path

Searched refs:xen_domid (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c75 xen_set_pci_intx_level(xen_domid, 0, 0, irq_num >> 2, in xen_intx_set_irq()
81 return xendevicemodel_set_pci_link_route(xen_dmod, xen_domid, link, irq); in xen_set_pci_link_route()
94 xen_inject_msi(xen_domid, addr, data); in xen_hvm_inject_msi()
99 xc_set_hvm_param(xen_xc, xen_domid, HVM_PARAM_ACPI_S_STATE, 3); in xen_suspend_notifier()
106 xen_set_isa_irq_level(xen_domid, irq, level); in xen_set_irq()
215 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap()
222 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap()
230 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap()
304 rc = xendevicemodel_relocate_memory(xen_dmod, xen_domid, nr_pages, pfn, in xen_add_to_physmap()
316 rc = xendevicemodel_pin_memory_cacheattr(xen_dmod, xen_domid, in xen_add_to_physmap()
[all …]
H A Dxen-pvh.c73 if (xen_set_pci_intx_level(xen_domid, 0, 0, 0, irq, level)) { in xen_pvh_set_pci_intx_irq()
H A Dxen_platform.c325 if (xen_set_mem_type(xen_domid, mem_type, 0xc0, 0x40)) { in platform_fixed_ioport_writeb()
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c56 if (xc_domain_populate_physmap_exact(xen_xc, xen_domid, nr_pfn, 0, 0, pfn_list)) { in xen_ram_alloc()
74 xen_map_memory_section(xen_domid, state->ioservid, in xen_set_memory()
77 xen_unmap_memory_section(xen_domid, state->ioservid, in xen_set_memory()
111 xen_map_io_section(xen_domid, state->ioservid, section); in xen_io_add()
124 xen_unmap_io_section(xen_domid, state->ioservid, section); in xen_io_del()
143 xen_map_pcidev(xen_domid, state->ioservid, pci_dev); in xen_device_realize()
156 xen_unmap_pcidev(xen_domid, state->ioservid, pci_dev); in xen_device_unrealize()
646 xen_set_ioreq_server_state(xen_domid, in xen_hvm_change_state_handler()
655 xen_destroy_ioreq_server(xen_domid, state->ioservid); in xen_exit_notifier()
685 state->fres = xenforeignmemory_map_resource(xen_fmem, xen_domid, in xen_map_ioreq_server()
[all …]
H A Dxen_pt_graphics.c63 vga_args[i].rc = xc_domain_ioport_mapping(xen_xc, xen_domid, in xen_pt_register_vga_regions()
68 vga_args[i].rc = xc_domain_memory_mapping(xen_xc, xen_domid, in xen_pt_register_vga_regions()
99 vga_args[i].rc = xc_domain_ioport_mapping(xen_xc, xen_domid, in xen_pt_unregister_vga_regions()
104 vga_args[i].rc = xc_domain_memory_mapping(xen_xc, xen_domid, in xen_pt_unregister_vga_regions()
119 ret = xc_domain_memory_mapping(xen_xc, xen_domid, in xen_pt_unregister_vga_regions()
260 ret = xc_domain_iomem_permission(xen_xc, xen_domid, in igd_write_opregion()
273 ret = xc_domain_memory_mapping(xen_xc, xen_domid, in igd_write_opregion()
H A Dxen_devconfig.c14 dom = qemu_xen_xs_get_domain_path(xenstore, xen_domid); in xen_config_dev_dirs()
19 snprintf(be, len, "%s/backend/%s/%d/%d", dom, btype, xen_domid, vdev); in xen_config_dev_dirs()
41 xenstore_write_int(be, "frontend-id", xen_domid); in xen_config_dev_all()
H A Dxen_pt_msi.c138 rc = xc_physdev_map_pirq_msi(xen_xc, xen_domid, XEN_PT_AUTO_ASSIGN, in msi_msix_setup()
178 rc = xc_domain_update_msi_irq(xen_xc, xen_domid, gvec, in msi_msix_update()
185 if (xc_physdev_unmap_pirq(xen_xc, xen_domid, *old_pirq)) { in msi_msix_update()
213 rc = xc_domain_unbind_msi_irq(xen_xc, xen_domid, gvec, pirq, gflags); in msi_msix_disable()
222 rc = xc_physdev_unmap_pirq(xen_xc, xen_domid, pirq); in msi_msix_disable()
415 ret = xc_domain_unbind_pt_irq(xen_xc, xen_domid, entry->pirq, in xen_pt_msix_update_remap()
H A Dxen_pt.c631 rc = xc_domain_ioport_mapping(xen_xc, xen_domid, in xen_pt_region_update()
643 rc = xc_domain_memory_mapping(xen_xc, xen_domid, in xen_pt_region_update()
716 rc = xc_domain_unbind_pt_irq(xen_xc, xen_domid, machine_irq, in xen_pt_destroy()
742 rc = xc_physdev_unmap_pirq(xen_xc, xen_domid, machine_irq); in xen_pt_destroy()
850 rc = xc_physdev_map_pirq(xen_xc, xen_domid, machine_irq, &pirq); in xen_pt_realize()
869 rc = xc_domain_bind_pt_pci_irq(xen_xc, xen_domid, machine_irq, in xen_pt_realize()
882 if (xc_physdev_unmap_pirq(xen_xc, xen_domid, machine_irq)) { in xen_pt_realize()
H A Dxen-legacy-backend.c128 ptr = qemu_xen_gnttab_map_refs(xendev->gnttabdev, nr_refs, xen_domid, refs, in xen_be_map_grant_refs()
613 snprintf(path, sizeof(path), "device-model/%u/backends/%s", xen_domid, in xen_be_register()
617 return xenstore_scan(type, xen_domid, ops); in xen_be_register()
H A Dxen_pvdev.c63 if (!qemu_xen_xs_create(xenstore, 0, 0, xen_domid, p, path)) { in xenstore_mkdir()
H A Dxen-bus.c189 char *domain_path = g_strdup_printf("backend/%s/%u", type, xen_domid); in xen_bus_type_enumerate()
318 char *key = g_strdup_printf("%u", xen_domid); in xen_bus_realize()
1019 xendev->frontend_id = xen_domid; in xen_device_realize()
H A Dxen-mapcache.c264 xen_domid, refs, in xen_remap_bucket()
275 vaddr_base = xenforeignmemory_map2(xen_fmem, xen_domid, vaddr, in xen_remap_bucket()
H A Dxen-pvh-common.c69 if (xendevicemodel_set_irq_level(xen_dmod, xen_domid, irq, level)) { in xen_set_irq()
H A Dtrace-events65 destroy_hvm_domain_action(int xen_domid, const char *action) "Issued domain %d %s"
/openbmc/qemu/hw/i386/kvm/
H A Dxen_xenstore.c96 abspath = g_strdup_printf("/local/domain/%u/%s", xen_domid, relpath); in relpath_printf()
140 s->impl = xs_impl_create(xen_domid); in xen_xenstore_realize()
146 perms = g_list_append(perms, xs_perm_as_string(XS_PERM_READ, xen_domid)); in xen_xenstore_realize()
150 relpath_printf(s, perms, "domid", "%u", xen_domid); in xen_xenstore_realize()
163 perms = g_list_append(NULL, xs_perm_as_string(XS_PERM_NONE, xen_domid)); in xen_xenstore_realize()
222 int be_port = xen_be_evtchn_bind_interdomain(s->eh, xen_domid, in xen_xenstore_post_load()
234 ret = xs_impl_deserialize(s->impl, save, xen_domid, fire_watch_cb, s); in xen_xenstore_post_load()
518 err = xs_impl_read(s->impl, xen_domid, tx_id, path, data); in xs_read()
567 err = xs_impl_write(s->impl, xen_domid, tx_id, path, data); in xs_write()
592 err = xs_impl_read(s->impl, xen_domid, tx_id, path, data); in xs_mkdir()
[all …]
H A Dxen_overlay.c176 if (xen_domid == DOMID_QEMU) { in xen_overlay_create()
177 xen_domid = 1; in xen_overlay_create()
H A Dxen_evtchn.c635 if (status->dom != DOMID_SELF && status->dom != xen_domid) { in xen_evtchn_status_op()
653 : xen_domid; in xen_evtchn_status_op()
658 : xen_domid; in xen_evtchn_status_op()
1126 if (reset->dom != DOMID_SELF && reset->dom != xen_domid) { in xen_evtchn_reset_op()
1362 interdomain->remote_dom != xen_domid) { in xen_evtchn_bind_interdomain_op()
1444 if (alloc->dom != DOMID_SELF && alloc->dom != xen_domid) { in xen_evtchn_alloc_unbound_op()
1450 alloc->remote_dom != xen_domid) { in xen_evtchn_alloc_unbound_op()
1830 if (map->domid != DOMID_SELF && map->domid != xen_domid) { in xen_physdev_map_pirq()
1880 if (unmap->domid != DOMID_SELF && unmap->domid != xen_domid) { in xen_physdev_unmap_pirq()
2039 if (domid != xen_domid) { in xen_be_evtchn_bind_interdomain()
H A Dxen_gnttab.c217 if (get->dom != DOMID_SELF && get->dom != xen_domid) { in xen_gnttab_get_version_op()
233 if (size->dom != DOMID_SELF && size->dom != xen_domid) { in xen_gnttab_query_size_op()
338 if (domid != xen_domid) { in xen_be_gnttab_map_refs()
H A Dxen_primary_console.c189 s->granted_xs = qemu_xen_gnttab_map_refs(s->gt, 1, xen_domid, &xs_gntref, in xen_primary_console_reset()
/openbmc/qemu/accel/xen/
H A Dxen-all.c38 snprintf(path, sizeof (path), "device-model/%u/state", xen_domid); in xenstore_record_dm_state()
70 rc = xen_restrict(xen_domid); in xen_setup_post()
/openbmc/qemu/include/hw/xen/
H A Dxen.h36 extern uint32_t xen_domid;
/openbmc/qemu/system/
H A Dglobals.c59 uint32_t xen_domid; variable
/openbmc/qemu/hw/arm/
H A Dxen-pvh.c47 if (xendevicemodel_set_irq_level(xen_dmod, xen_domid, irq, level)) { in xen_pvh_set_pci_intx_irq()
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c655 if (xatp.domid != DOMID_SELF && xatp.domid != xen_domid) { in do_add_to_physmap()
695 if (xatpb.domid != DOMID_SELF && xatpb.domid != xen_domid) { in do_add_to_physmap_batch()
764 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_set_param()
800 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_get_param()
/openbmc/qemu/hw/char/
H A Dxen_console.c548 fe = console_frontend_path(xsh, xen_domid, number); in type_init()

12