git: ioapic: By default, disable I/O APIC if we are booting on a virtual machine

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Mar 13 20:28:13 PDT 2012


commit e6dee92888cc1f1ee52d36053fabf97cfd2f9518
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Mar 14 11:18:44 2012 +0800

    ioapic: By default, disable I/O APIC if we are booting on a virtual machine
    
    I/O APIC causes too much trouble on virtual machines; simply disable
    I/O APIC for virtual machines by default.
    
    You could always explicitly enable I/O APIC on virtual machines by
    setting tunable hw.ioapic_enable to 1
    
    Thank swildner@ for hint on virtual machine detection method.
    
    Reported-by: many

Summary of changes:
 sys/platform/pc32/apic/ioapic.c    |    2 +-
 sys/platform/pc32/i386/machdep.c   |   13 +++++++++++++
 sys/platform/pc64/apic/ioapic.c    |    2 +-
 sys/platform/pc64/x86_64/machdep.c |   25 +++++++++++++++++++++----
 4 files changed, 36 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e6dee92888cc1f1ee52d36053fabf97cfd2f9518


-- 
DragonFly BSD source repository





More information about the Commits mailing list