> From: Roger Pau Monne [mailto:roger....@citrix.com] > Sent: Saturday, November 07, 2015 12:06 AM > > The HVM related code (SVM, VMX) generally assumed that a local apic is > always present. With the introduction of a HVM mode were the local apic can > be removed, some of this broken code paths arised. > > The SVM exit/resume paths unconditionally checked the state of the lapic, > which is wrong if it's been disabled by hardware, fix this by adding the > necessary checks. On the VMX side, make sure we don't add mappings for a > local apic if it's disabled. > > In the generic vlapic code, add checks to prevent setting the TSC deadline > timer if the lapic is disabled, and also prevent trying to inject interrupts > from the PIC is the lapic is also disabled. >
Sorry for late reply. It looks good to me: Acked-by: Kevin Tian <kevin.t...@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel