[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 08/14] xen/x86: allow the emulated APICs to be enabled for the hardware domain
>>> On 30.11.16 at 17:49, <roger.pau@xxxxxxxxxx> wrote: > Allow the use of both the emulated local APIC and IO APIC for the hardware > domain. > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> albeit I'm not 100% convinced of ... > --- a/xen/arch/x86/domain.c > +++ b/xen/arch/x86/domain.c > @@ -509,6 +509,27 @@ void vcpu_destroy(struct vcpu *v) > xfree(v->arch.pv_vcpu.trap_ctxt); > } > > +static bool emulation_flags_ok(const struct domain *d, uint32_t emflags) > +{ > + > + if ( is_hvm_domain(d) ) > + { > + if ( is_hardware_domain(d) && > + emflags != (XEN_X86_EMU_LAPIC|XEN_X86_EMU_IOAPIC) ) ... requiring IO-APIC emulation here. But we can adjust that once we find a legacy free system to test on. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |