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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 14 02:47:00 PDT 2012


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


-- 
DragonFly BSD source repository





More information about the Commits mailing list