freebsd-dev/usr.sbin
Neel Natu dc50650607 Queue pending exceptions in the 'struct vcpu' instead of directly updating the
processor-specific VMCS or VMCB. The pending exception will be delivered right
before entering the guest.

The order of event injection into the guest is:
- hardware exception
- NMI
- maskable interrupt

In the Intel VT-x case, a pending NMI or interrupt will enable the interrupt
window-exiting and inject it as soon as possible after the hardware exception
is injected. Also since interrupts are inherently asynchronous, injecting
them after the hardware exception should not affect correctness from the
guest perspective.

Rename the unused ioctl VM_INJECT_EVENT to VM_INJECT_EXCEPTION and restrict
it to only deliver x86 hardware exceptions. This new ioctl is now used to
inject a protection fault when the guest accesses an unimplemented MSR.

Discussed with:	grehan, jhb
Reviewed by:	jhb
2014-02-26 00:52:05 +00:00
..
ac
accton
acpi
adduser
amd
ancontrol
apm
apmd
arp
asf
audit
auditd
auditdistd
auditreduce
authpf
bhyve Queue pending exceptions in the 'struct vcpu' instead of directly updating the 2014-02-26 00:52:05 +00:00
bhyvectl
bhyveload ZFS boot support for bhyveload. 2014-02-22 07:18:06 +00:00
bluetooth mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
boot0cfg
boot98cfg
bootparamd
bsdconfig
bsdinstall Add zfsboot to the scripted interface of bsdinstall(8); oops! 2014-02-16 06:56:44 +00:00
bsnmpd Rough cleanup (new sentence -> new line, grammar, spelling, mdoc). 2014-02-25 21:01:55 +00:00
btxld In puthdr(), start the ELF .data section on a new page, as this is 2014-02-25 17:13:42 +00:00
cdcontrol
chkgrp
chown
chroot
ckdist
clear_locks
config Fix ! by not clearing not at the bottom of the loop. 2014-02-05 00:26:11 +00:00
cpucontrol
crashinfo
cron
crunch
ctladm
ctld Make the debug messages during ctld(8) shutdown less confusing. 2014-02-11 11:38:44 +00:00
ctm
daemon
dconschat
devinfo
digictl
diskinfo
dumpcis
editmap
edquota
eeprom
etcupdate
extattr
extattrctl
faithd
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd
gstat
i2c
ifmcstat mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
inetd
iostat
ip6addrctl
ipfwpcap
IPXrouted
iscsid So, it turns out SIGCHLD is discarded by default, so we have to set up 2014-02-11 10:47:28 +00:00
jail Bump .Dd forgotten in r261832. 2014-02-13 13:11:34 +00:00
jexec
jls
kbdcontrol
kbdmap
keyserv
kgmon
kgzip
kldxref
lastlogin
lmcconfig
lpr
lptcontrol
mailstats
mailwrapper
makefs
makemap
manctl
memcontrol
mergemaster
mfiutil
mixer
mld6query
mlxcontrol
mount_smbfs
mountd
moused
mptable
mptutil
mtest
mtree Merge from CheriBSD: 2014-01-30 21:32:25 +00:00
nandsim
nandtool
ndiscvt
ndp
newsyslog Fix newsyslog(8) to use the size of the file instead of the blocks it 2014-02-02 14:11:34 +00:00
nfscbd
nfsd
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree Merge from CheriBSD: 2014-01-30 21:32:25 +00:00
nologin
nscd
ntp
nvram
ofwdump
pc-sysinstall
pciconf
periodic
pkg Remove a useless newline, warnx already appends a newline 2014-02-23 23:49:10 +00:00
pmcannotate
pmccontrol
pmcstat Add correct attributions. 2014-02-24 02:47:47 +00:00
pnpinfo
portsnap
powerd In acline_init(), initialize ac_line to SRC_UNKNOWN. Previously 2014-02-11 15:16:49 +00:00
ppp In chat_UpdateSet(), initialize the input buffer to prevent stale data 2014-02-14 20:34:24 +00:00
pppctl
praliases
praudit
procctl
pstat
pw
pwd_mkdb Add -p to the example (why isn't this the default?) 2014-02-06 09:57:27 +00:00
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd
rpc.statd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd
rtprio
rtsold
rwhod
sa
sendmail
service
services_mkdb
setfib
setfmac
setpmac
sicontrol
smbmsg
snapinfo
spkrtest
spray
syslogd
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
timed
traceroute
traceroute6
trpt
tzsetup Merge from CheriBSD: 2014-01-30 21:08:36 +00:00
uathload
ugidfw
uhsoctl
unbound
usbconfig
usbdump
utx
vidcontrol
vipw
wake
watch
watchdogd mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
wlandebug
wlconfig
wpa
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
zzz
Makefile Merge from CheriBSD: 2014-01-30 21:37:43 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64