On 24 August 2015 at 01:55, Paolo Bonzini <pbonz...@redhat.com> wrote: > > > On 21/08/2015 15:54, Eduardo Habkost wrote: >> > + if (tcg_enabled()) { >> > + memory_region_add_subregion_overlap(cpu->cpu_as_root, >> > + apic->apicbase & >> > + MSR_IA32_APICBASE_BASE, >> > + &apic->io_memory, >> > + 0x1000); >> >> Why exactly is this necessary? If this is necessary, why don't we need >> to do this for non-TCG accelerators? > > At least KVM and qtest do not support per-CPU address spaces.
Right, but given this restriction why can't we also do whatever we need to work without the per-CPU address spaces with TCG? thanks -- PMM