DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Mar 2012 20:28:13 -0700 (PDT)

commit e6dee92888cc1f1ee52d36053fabf97cfd2f9518
Author: Sepherosa Ziehau <sephe@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



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