Lines Matching +full:qemu +full:- +full:x86

2  * QEMU Xen PVH x86 Machine
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #include "qemu/osdep.h"
11 #include "qemu/error-report.h"
16 #include "hw/xen/xen-pvh-common.h"
32 Object *cpu = object_new(ms->cpu_type); in xen_pvh_cpu_new()
35 object_property_set_uint(cpu, "apic-id", apic_id, &error_fatal); in xen_pvh_cpu_new()
48 xp->cpu = g_malloc(sizeof xp->cpu[0] * ms->smp.max_cpus); in xen_pvh_init()
49 for (i = 0; i < ms->smp.max_cpus; i++) { in xen_pvh_init()
50 xp->cpu[i] = xen_pvh_cpu_new(ms, i); in xen_pvh_init()
59 s->cfg.ram_low = (MemMapEntry) { 0x0, 0x80000000U }; in xen_pvh_instance_init()
60 s->cfg.ram_high = (MemMapEntry) { 0xC000000000ULL, 0x4000000000ULL }; in xen_pvh_instance_init()
61 s->cfg.pci_intx_irq_base = 16; in xen_pvh_instance_init()
70 * Since QEMU emulates all of the swizziling in xen_pvh_set_pci_intx_irq()
84 mc->desc = "Xen PVH x86 machine"; in xen_pvh_machine_class_init()
85 mc->default_cpu_type = TARGET_DEFAULT_CPU_TYPE; in xen_pvh_machine_class_init()
87 /* mc->max_cpus holds the MAX value allowed in the -smp cmd-line opts. */ in xen_pvh_machine_class_init()
88 mc->max_cpus = HVM_MAX_VCPUS; in xen_pvh_machine_class_init()
91 xpc->init = xen_pvh_init; in xen_pvh_machine_class_init()
94 xpc->handle_bufioreq = HVM_IOREQSRV_BUFIOREQ_ATOMIC; in xen_pvh_machine_class_init()
103 xpc->set_pci_intx_irq = xen_pvh_set_pci_intx_irq; in xen_pvh_machine_class_init()
104 xpc->set_pci_link_route = xen_set_pci_link_route; in xen_pvh_machine_class_init()
106 /* List of supported features known to work on PVH x86. */ in xen_pvh_machine_class_init()
107 xpc->has_pci = true; in xen_pvh_machine_class_init()