qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RESEND PATCH v9 1/4] apic: map APIC's MMIO region at e


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RESEND PATCH v9 1/4] apic: map APIC's MMIO region at each CPU's address space
Date: Sun, 23 Aug 2015 17:55:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0


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.  I'm not
sure about Xen, it looks like it could but it would be slower.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]