On 06/11/15 16:05, Roger Pau Monne wrote: > 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. > > Signed-off-by: Roger Pau Monné <[email protected]> > Reviewed-by: Boris Ostrovsky <[email protected]> > Cc: Boris Ostrovsky <[email protected]> > Cc: Suravee Suthikulpanit <[email protected]> > Cc: Aravind Gopalakrishnan <[email protected]> > Cc: Jan Beulich <[email protected]> > Cc: Andrew Cooper <[email protected]> > Cc: Jun Nakajima <[email protected]> > Cc: Eddie Dong <[email protected]> > Cc: Kevin Tian <[email protected]>
Reviewed-by: Andrew Cooper <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
