]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r270326
authorneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 28 Dec 2014 21:27:13 +0000 (21:27 +0000)
committerneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 28 Dec 2014 21:27:13 +0000 (21:27 +0000)
commit73bc7ea3c626e928f33054a20cd6dabe3c4a4201
tree3935974ca9583376cc712bb4162a13e099846c96
parentb66121cd0da62fdcf4b6d4c95d15244be945ec43
MFC r270326
Fix a recursive lock acquisition in vi_reset_dev().

MFC r270434
Return the spurious interrupt vector (IRQ7 or IRQ15) if the atpic cannot find
any unmasked pin with an interrupt asserted.

MFC r270436
Fix a bug in the emulation of CPUID leaf 0x4.

MFC r270437
Add "hw.vmm.topology.threads_per_core" and "hw.vmm.topology.cores_per_package"
tunables to modify the default cpu topology advertised by bhyve.

MFC r270855
Set the 'inst_length' to '0' early on before any error conditions are detected
in the emulation of the task switch. If any exceptions are triggered then the
guest %rip should point to instruction that caused the task switch as opposed
to the one after it.

MFC r270857
The "SUB" instruction used in getcc() actually does 'x -= y' so use the
proper constraint for 'x'. The "+r" constraint indicates that 'x' is an
input and output register operand.

While here generate code for different variants of getcc() using a macro
GETCC(sz) where 'sz' indicates the operand size.

Update the status bits in %rflags when emulating AND and OR opcodes.

MFC r271439
Initialize 'bc_rdonly' to the right value.

MFC r271451
Optimize the common case of injecting an interrupt into a vcpu after a HLT
by explicitly moving it out of the interrupt shadow.

MFC r271888
Restructure the MSR handling so it is entirely handled by processor-specific
code.

MFC r271890
MSR_KGSBASE is no longer saved and restored from the guest MSR save area. This
behavior was changed in r271888 so update the comment block to reflect this.

MFC r271891
Add some more KTR events to help debugging.

MFC r272197
mmap(2) requires either MAP_PRIVATE or MAP_SHARED for non-anonymous mappings.

MFC r272395
Get rid of code that dealt with the hardware not being able to save/restore
the PAT MSR on guest exit/entry. This workaround was done for a beta release
of VMware Fusion 5 but is no longer needed in later versions.

All Intel CPUs since Nehalem have supported saving and restoring MSR_PAT
in the VM exit and entry controls.

MFC r272670
Inject #UD into the guest when it executes either 'MONITOR' or 'MWAIT'.

MFC r272710
Implement the FLUSH operation in the virtio-block emulation.

MFC r272838
iasl(8) expects integer fields in data tables to be specified as hexadecimal
values. Therefore the bit width of the "PM Timer Block" was actually being
interpreted as 50-bits instead of the expected 32-bit.

This eliminates an error message emitted by a Linux 3.17 guest during boot:
"Invalid length for FADT/PmTimerBlock: 50, using default 32"

MFC r272839
Support Intel-specific MSRs that are accessed when booting up a linux in bhyve:
 - MSR_PLATFORM_INFO
 - MSR_TURBO_RATIO_LIMITx
 - MSR_RAPL_POWER_UNIT

MFC r273108
Emulate "POP r/m". This is needed to boot OpenBSD/i386 MP kernel in bhyve.

MFC r273212
Support stopping and restarting the AHCI command list via toggling PxCMD.ST
from '1' to '0' and back.  This allows the driver a chance to recover if
for instance a timeout occurred due to activity on the host.

git-svn-id: svn://svn.freebsd.org/base/stable/10@276349 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
26 files changed:
sys/amd64/include/vmm.h
sys/amd64/vmm/intel/ept.c
sys/amd64/vmm/intel/vmcs.h
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/intel/vmx.h
sys/amd64/vmm/intel/vmx_msr.c
sys/amd64/vmm/intel/vmx_msr.h
sys/amd64/vmm/io/vatpic.c
sys/amd64/vmm/io/vlapic.c
sys/amd64/vmm/vmm.c
sys/amd64/vmm/vmm_instruction_emul.c
sys/amd64/vmm/vmm_msr.c [deleted file]
sys/amd64/vmm/vmm_msr.h [deleted file]
sys/amd64/vmm/x86.c
sys/modules/vmm/Makefile
sys/x86/include/specialreg.h
usr.sbin/bhyve/acpi.c
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/block_if.c
usr.sbin/bhyve/pci_ahci.c
usr.sbin/bhyve/pci_virtio_block.c
usr.sbin/bhyve/task_switch.c
usr.sbin/bhyve/virtio.c
usr.sbin/bhyve/xmsr.c
usr.sbin/bhyve/xmsr.h
usr.sbin/bhyvectl/bhyvectl.c