freebsd-dev/sys/amd64/vmm
Neel Natu bbadcde418 Set the 'vmexit->inst_length' field properly depending on the type of the
VM-exit and ultimately on whether nRIP is valid. This allows us to update
the %rip after the emulation is finished so any exceptions triggered during
the emulation will point to the right instruction.

Don't attempt to handle INS/OUTS VM-exits unless the DecodeAssist capability
is available. The effective segment field in EXITINFO1 is not valid without
this capability.

Add VM_EXITCODE_SVM to flag SVM VM-exits that cannot be handled. Provide the
VMCB fields exitinfo1 and exitinfo2 as collateral to help with debugging.

Provide a SVM VM-exit handler to dump the exitcode, exitinfo1 and exitinfo2
fields in bhyve(8).

Reviewed by:	Anish Gupta (akgupt3@gmail.com)
Reviewed by:	grehan
2014-09-14 04:39:04 +00:00
..
amd Set the 'vmexit->inst_length' field properly depending on the type of the 2014-09-14 04:39:04 +00:00
intel AMD processors that have the SVM decode assist capability will store the 2014-09-13 22:16:40 +00:00
io Add reserved bit checking when doing %CR8 emulation and inject #GP if required. 2014-06-09 20:51:08 +00:00
vmm_dev.c Handle nested exceptions in bhyve. 2014-07-19 20:59:08 +00:00
vmm_host.c - Rework the XSAVE/XRSTOR emulation to only expose XCR0 features to the 2014-05-27 19:04:38 +00:00
vmm_host.h Add virtualized XSAVE support to bhyve which permits guests to use XSAVE and 2014-02-08 16:37:54 +00:00
vmm_instruction_emul.c AMD processors that have the SVM decode assist capability will store the 2014-09-13 22:16:40 +00:00
vmm_ioport.c Add segment protection and limits violation checks in vie_calculate_gla() 2014-05-27 04:26:22 +00:00
vmm_ioport.h Add emulation of the "outsb" instruction. NetBSD guests use this to write to 2014-05-23 05:15:17 +00:00
vmm_ipi.c Move <machine/apicvar.h> to <x86/apicvar.h>. 2014-01-23 20:10:22 +00:00
vmm_ipi.h Don't expose 'vmm_ipinum' as a global. 2014-01-09 03:25:54 +00:00
vmm_ktr.h Add emulation of the "outsb" instruction. NetBSD guests use this to write to 2014-05-23 05:15:17 +00:00
vmm_lapic.c Local APIC access via 32-bit naturally-aligned loads is merely 2014-04-15 17:06:26 +00:00
vmm_lapic.h Roll back botched partial MFC :( 2014-02-04 05:03:14 +00:00
vmm_mem.c Merge projects/bhyve_npt_pmap into head. 2013-10-05 21:22:35 +00:00
vmm_mem.h Merge projects/bhyve_npt_pmap into head. 2013-10-05 21:22:35 +00:00
vmm_msr.c MFC @ r259205 in preparation for some SVM updates. (for real this time) 2014-02-04 06:59:08 +00:00
vmm_msr.h Roll back botched partial MFC :( 2014-02-04 05:03:14 +00:00
vmm_stat.c IFC @r269962 2014-09-02 04:22:42 +00:00
vmm_stat.h IFC @r269962 2014-09-02 04:22:42 +00:00
vmm_support.S
vmm_util.c
vmm_util.h
vmm.c AMD processors that have the SVM decode assist capability will store the 2014-09-13 22:16:40 +00:00
x86.c IFC @r269962 2014-09-02 04:22:42 +00:00
x86.h Allow CPUID leaf 0xD to be read as zeroes. 2013-09-06 05:16:10 +00:00