/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 75 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 D | xen-pvh.c | 73 if (xen_set_pci_intx_level(xen_domid, 0, 0, 0, irq, level)) { in xen_pvh_set_pci_intx_irq()
|
H A D | xen_platform.c | 325 if (xen_set_mem_type(xen_domid, mem_type, 0xc0, 0x40)) { in platform_fixed_ioport_writeb()
|
/openbmc/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 56 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 D | xen_pt_graphics.c | 63 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 D | xen_devconfig.c | 14 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 D | xen_pt_msi.c | 138 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 D | xen_pt.c | 631 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 D | xen-legacy-backend.c | 128 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 D | xen_pvdev.c | 63 if (!qemu_xen_xs_create(xenstore, 0, 0, xen_domid, p, path)) { in xenstore_mkdir()
|
H A D | xen-bus.c | 189 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 D | xen-mapcache.c | 264 xen_domid, refs, in xen_remap_bucket() 275 vaddr_base = xenforeignmemory_map2(xen_fmem, xen_domid, vaddr, in xen_remap_bucket()
|
H A D | xen-pvh-common.c | 69 if (xendevicemodel_set_irq_level(xen_dmod, xen_domid, irq, level)) { in xen_set_irq()
|
H A D | trace-events | 65 destroy_hvm_domain_action(int xen_domid, const char *action) "Issued domain %d %s"
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_xenstore.c | 96 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 D | xen_overlay.c | 176 if (xen_domid == DOMID_QEMU) { in xen_overlay_create() 177 xen_domid = 1; in xen_overlay_create()
|
H A D | xen_evtchn.c | 635 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 D | xen_gnttab.c | 217 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 D | xen_primary_console.c | 189 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 D | xen-all.c | 38 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 D | xen.h | 36 extern uint32_t xen_domid;
|
/openbmc/qemu/system/ |
H A D | globals.c | 59 uint32_t xen_domid; variable
|
/openbmc/qemu/hw/arm/ |
H A D | xen-pvh.c | 47 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 D | xen-emu.c | 655 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 D | xen_console.c | 548 fe = console_frontend_path(xsh, xen_domid, number); in type_init()
|