]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 262139,262140,262236,262281,262532:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jun 2014 19:10:40 +0000 (19:10 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jun 2014 19:10:40 +0000 (19:10 +0000)
commit07deeff8751a16a483f206a45d2205e85926bf4a
tree5b2f0382561c4e2ab92cef573a2fe592a6afe4a6
parent69d7ab258a3937986b616c6334027c5ce11b7136
MFC 262139,262140,262236,262281,262532:
Various x2APIC fixes and enhancements:
- Use spinlocks for the vioapic.
- Handle the SELF_IPI MSR.
- Simplify the APIC mode switching between MMIO and x2APIC.  The guest is
  no longer allowed to switch modes at runtime.  Instead, the desired mode
  is set when the virtual machine is created.
- Disallow MMIO access in x2APIC mode and MSR access in xAPIC mode.
- Add support for x2APIC virtualization assist in Intel VT-x.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267447 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/include/vmm.h
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/io/vioapic.c
sys/amd64/vmm/io/vlapic.c
sys/amd64/vmm/io/vlapic.h
sys/amd64/vmm/io/vlapic_priv.h
sys/amd64/vmm/vmm.c
sys/amd64/vmm/vmm_lapic.c
sys/amd64/vmm/x86.c
usr.sbin/bhyve/bhyve.8
usr.sbin/bhyve/bhyverun.c