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

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Mar 2012 02:47:00 -0700 (PDT)

commit 2a8d2fe71cd842aa2fb196f33cc07034fb36d3c5
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/2a8d2fe71cd842aa2fb196f33cc07034fb36d3c5


-- 
DragonFly BSD source repository



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