/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() 94 xen_inject_msi(xen_domid, addr, data); in xen_hvm_inject_msi() 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() 448 xen_track_dirty_vram(xen_domid, 0, 0, NULL); in xen_log_stop() 547 xen_domid, entries[i]); in xen_read_physmap() 558 xen_domid, entries[i]); in xen_read_physmap() 569 xen_domid, entries[i]); in xen_read_physmap() [all …]
|
H A D | xen_platform.c | 325 if (xen_set_mem_type(xen_domid, mem_type, 0xc0, 0x40)) { in platform_fixed_ioport_writeb()
|
/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 68 xen_map_memory_section(xen_domid, state->ioservid, in xen_set_memory() 71 xen_unmap_memory_section(xen_domid, state->ioservid, in xen_set_memory() 105 xen_map_io_section(xen_domid, state->ioservid, section); in xen_io_add() 118 xen_unmap_io_section(xen_domid, state->ioservid, section); in xen_io_del() 137 xen_map_pcidev(xen_domid, state->ioservid, pci_dev); in xen_device_realize() 150 xen_unmap_pcidev(xen_domid, state->ioservid, pci_dev); in xen_device_unrealize() 632 xen_set_ioreq_server_state(xen_domid, in xen_hvm_change_state_handler() 641 xen_destroy_ioreq_server(xen_domid, state->ioservid); in xen_exit_notifier() 679 rc = xen_get_ioreq_server_info(xen_domid, state->ioservid, in xen_map_ioreq_server() 757 xen_domid, reboot ? "reboot" : "poweroff" in destroy_hvm_domain() [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() 159 rc = qemu_xen_gnttab_grant_copy(xendev->gnttabdev, to_domain, xen_domid, in xen_be_copy_grant_refs() 631 snprintf(path, sizeof(path), "device-model/%u/backends/%s", xen_domid, in xen_be_register() 635 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 | trace-events | 65 destroy_hvm_domain_action(int xen_domid, const char *action) "Issued domain %d %s"
|
H A D | xen-mapcache.c | 206 vaddr_base = xenforeignmemory_map2(xen_fmem, xen_domid, vaddr, in xen_remap_bucket()
|
/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() 150 relpath_printf(s, perms, "domid", "%u", xen_domid); in xen_xenstore_realize() 222 int be_port = xen_be_evtchn_bind_interdomain(s->eh, xen_domid, 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() 594 err = xs_impl_write(s->impl, xen_domid, tx_id, path, data); in xs_mkdir() 763 err = xs_impl_transaction_start(s->impl, xen_domid, &tx_id); in xs_transaction_start() 822 err = xs_impl_rm(s->impl, xen_domid, tx_id, path); in xs_rm() [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()
|
/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()
|
/qemu/include/hw/xen/ |
H A D | xen.h | 36 extern uint32_t xen_domid;
|
/qemu/system/ |
H A D | globals.c | 60 uint32_t xen_domid; variable
|
H A D | vl.c | 3471 xen_domid = atoi(optarg); in qemu_init()
|
/qemu/hw/arm/ |
H A D | xen_arm.c | 79 if (xendevicemodel_set_irq_level(xen_dmod, xen_domid, irq, level)) { in xen_set_irq()
|
/qemu/target/i386/kvm/ |
H A D | xen-emu.c | 660 if (xatp.domid != DOMID_SELF && xatp.domid != xen_domid) { in do_add_to_physmap() 700 if (xatpb.domid != DOMID_SELF && xatpb.domid != xen_domid) { in do_add_to_physmap_batch() 769 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_set_param() 805 if (hp.domid != DOMID_SELF && hp.domid != xen_domid) { in handle_get_param()
|
/qemu/hw/char/ |
H A D | xen_console.c | 548 fe = console_frontend_path(xsh, xen_domid, number); in type_init()
|