freebsd-nq/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 Move example to EXAMPLES. 2013-03-17 06:54:04 +00:00
accton A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
acpi Teach acpidump(8) to display the 'Flags' field in the HPET Description Table. 2013-11-22 18:53:54 +00:00
adduser Remove a reference to CVS and to freefall from a user-facing man page. 2012-09-15 16:24:03 +00:00
amd Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
ancontrol Fix always 0 tautologly revealed by gcc46 2012-07-08 00:52:54 +00:00
apm Mark global functions and/or variables in apm(8) static where possible. 2011-11-06 19:01:30 +00:00
apmd Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
arp Remove net.link.ether.inet.useloopback sysctl tunable. It was always on by 2013-11-05 07:32:09 +00:00
asf A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
audit A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
auditd A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
auditdistd Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
auditreduce A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
authpf Install authpf-noip. 2013-07-10 07:40:30 +00:00
bhyve Queue pending exceptions in the 'struct vcpu' instead of directly updating the 2014-02-26 00:52:05 +00:00
bhyvectl Fix amd64 build breakage caused by r260532. 2014-01-11 17:37:53 +00:00
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 Sweep man pages replacing ad -> ada. 2013-10-01 18:41:53 +00:00
boot98cfg Change <sys/diskpc98.h> to not redefine the same symbols that are 2013-08-07 00:00:48 +00:00
bootparamd Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
bsdconfig Dummy commit (s/__num/__number/) in f_expand_number() to describe that the 2014-01-20 03:31:16 +00:00
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 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
chkgrp This wasn't supposed to be in there - I committed the wrong patch. 2012-11-15 15:21:58 +00:00
chown Mark global functions and/or variables in chown(8) static where possible. 2011-11-06 19:01:41 +00:00
chroot Minor mdoc fixes. 2012-10-07 19:53:04 +00:00
ckdist A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
clear_locks A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
config Fix ! by not clearing not at the bottom of the loop. 2014-02-05 00:26:11 +00:00
cpucontrol Avoid clobbering errno with a call to fprintf 2013-01-16 05:00:51 +00:00
crashinfo Do not truncate the `command'' column in `ps'' output. 2013-12-25 15:23:01 +00:00
cron Bad timespec_subtract() calculations produce negative tv_nsec on i386 2014-01-25 02:16:09 +00:00
crunch crunchgen: Permit use of alternative linkers. 2013-02-05 02:57:59 +00:00
ctladm Bump .Dd after r257379. 2013-10-30 11:41:28 +00:00
ctld Make the debug messages during ctld(8) shutdown less confusing. 2014-02-11 11:38:44 +00:00
ctm In usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c, cast a printf field width 2011-12-17 20:07:42 +00:00
daemon 1. Properly clean pid files in the case of the error. 2013-09-19 18:00:05 +00:00
dconschat Fix the following warning from clang trunk: 2012-03-19 19:17:55 +00:00
devinfo Mark global functions and/or variables in devinfo(8) static where possible. 2011-11-06 19:01:48 +00:00
digictl mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
diskinfo remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
dumpcis Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
editmap A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
edquota edquota: Don't pass fd for temporary file to editor. 2013-10-27 21:06:17 +00:00
eeprom A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
etcupdate Generate /var/db/services.db during 'make distribution' so that it is 2014-01-22 16:59:53 +00:00
extattr Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
extattrctl Close fd in initattr() and showattr(). 2010-12-08 10:27:07 +00:00
faithd mdoc: correct .Bd/.Bl arguments. 2012-03-26 21:22:53 +00:00
fdcontrol A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
fdformat The FD_FORM ioctl used to ignore errors from the floppy controller; now when 2011-02-21 09:56:08 +00:00
fdread Mark global functions and/or variables in fdread(8) static where possible. 2011-11-06 19:01:54 +00:00
fdwrite mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
fifolog Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
flowctl Add "human" option to print IPv4/IPv6 flows in human-readable format. 2012-06-09 10:10:12 +00:00
freebsd-update Fix typo in r256646: We want to generate lists of directories in INDEX-OLD 2013-11-09 04:50:05 +00:00
ftp-proxy o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
fwcontrol mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
getfmac A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
getpmac A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
gpioctl Adds gpioiic.4 and gpioled.4 man pages. Moves some of the information that 2013-11-12 12:44:59 +00:00
gssd Fix some Kerberos related terminology. 2013-07-08 01:47:50 +00:00
gstat A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
i2c Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
ifmcstat mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
inetd - Force inetd to have listen queue size to be set to the value of 2013-01-20 19:44:33 +00:00
iostat iostat: fix extracting TTY statistics from core. 2013-11-25 22:55:47 +00:00
ip6addrctl More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
ipfwpcap Update my e-mail to my FreeBSD one. 2012-07-19 08:56:30 +00:00
IPXrouted Fix warning when compiling with gcc46 2012-02-16 05:17:06 +00:00
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 A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
jls Add a -N option that prints the jail name rather than its number. 2013-05-17 08:48:16 +00:00
kbdcontrol Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
kbdmap Remove variables which are initialized but never used thereafter reported by gcc46 warning 2012-06-19 06:10:31 +00:00
keyserv Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
kgmon remove old-style function definition 2013-02-14 14:44:08 +00:00
kgzip A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
kldxref kldxref: Add static keyword to the new function only used in the same file. 2013-10-16 20:04:06 +00:00
lastlogin Allow custom files to be opened and allow sorting by timestamp. 2011-06-06 18:40:01 +00:00
lmcconfig Rework time handling. 2012-09-01 10:56:15 +00:00
lpr Change the closeallfds() routine to use closefrom() when it is 2013-05-27 22:19:01 +00:00
lptcontrol A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
mailstats A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
mailwrapper A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
makefs Record the IEEE P1282 Rock Ridge version 1.12 POSIX File Serial Number, 2013-12-29 16:43:35 +00:00
makemap A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
manctl A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
memcontrol Fix conditional expression: previously a bit vector was being operated 2012-10-22 02:12:15 +00:00
mergemaster Generate /var/db/services.db during 'make distribution' so that it is 2014-01-22 16:59:53 +00:00
mfiutil Split the last gcc-specific flags off into CFLAGS.gcc. This also 2014-01-05 21:03:49 +00:00
mixer Return proper error message if recording device is not specified. 2012-01-27 09:15:55 +00:00
mld6query Add __unused. Ansi prototypes. 2010-12-20 08:54:30 +00:00
mlxcontrol Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
mount_smbfs Use system libiconv, instead of trying to dlopen() it. 2013-11-09 14:48:50 +00:00
mountd Check if the -sec option is given without an argument. 2013-02-20 12:40:26 +00:00
moused Add preliminary support for IBM/Lenovo TrackPoint. 2013-03-18 23:22:47 +00:00
mptable - Use <x86/mptable.h> instead of duplicating its definitions. 2013-12-11 21:21:03 +00:00
mptutil Remove contractions. 2013-04-11 18:46:41 +00:00
mtest mtest(8): use correct macro in mdoc 2013-12-10 05:01:01 +00:00
mtree Merge from CheriBSD: 2014-01-30 21:32:25 +00:00
nandsim Add missing static keyword, to make the code build with WARNS=6. 2013-04-21 22:47:24 +00:00
nandtool mdoc: remove whitespace. 2012-05-17 11:50:12 +00:00
ndiscvt We have in base iconv. 2013-12-25 01:20:14 +00:00
ndp Change the type of addr argument in dump() function to be able 2013-12-10 14:17:07 +00:00
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 Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
nfsd Document the fact that an NFSv4 mount uses the host uuid to uniquely 2013-07-01 21:41:12 +00:00
nfsdumpstate A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
nfsrevoke A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
nfsuserd Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the 2011-06-21 21:07:33 +00:00
ngctl Add __unused. Ansi prototypes. 2010-12-20 09:36:54 +00:00
nghook A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
nmtree Merge from CheriBSD: 2014-01-30 21:32:25 +00:00
nologin A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
nscd Remove end of line whitespace. 2012-07-04 10:17:02 +00:00
ntp Meinberg clocks support was inadvertently removed during the last vendor 2013-10-02 21:47:25 +00:00
nvram Fix -Wmissing-variable-declarations compiler warning. 2013-07-10 18:07:01 +00:00
ofwdump A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
pc-sysinstall Remove some more references to legacy ATA. 2013-04-04 12:03:30 +00:00
pciconf Add support for displaying VPD for PCI devices via pciconf. 2014-01-20 20:56:09 +00:00
periodic Include the calling context in the mail subject, if any. 2013-09-03 13:40:24 +00:00
pkg Remove a useless newline, warnx already appends a newline 2014-02-23 23:49:10 +00:00
pmcannotate objdump output changed indentation from 1 space to 2 spaces somewhere between 2013-05-06 18:30:49 +00:00
pmccontrol More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
pmcstat Add correct attributions. 2014-02-24 02:47:47 +00:00
pnpinfo A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
portsnap When verifying that files we need are present, also check that they don't 2013-11-14 09:22:32 +00:00
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 A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
praliases A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
praudit A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
procctl A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
pstat Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
pw Fall back to sha512 if passwd_format is not set. 2013-07-04 07:59:11 +00:00
pwd_mkdb Add -p to the example (why isn't this the default?) 2014-02-06 09:57:27 +00:00
quot Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:19 +00:00
quotaon More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rarpd Add some missing newlines and static declarations. 2013-04-07 15:33:06 +00:00
repquota More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rip6query Mark global functions and/or variables in rip6query(8) static where possible. 2011-11-06 19:02:31 +00:00
rmt Mark global functions and/or variables in rmt(8) static where possible. 2011-11-06 19:02:37 +00:00
route6d Axe IFF_SMART. Fortunately this layering violating flag was never used, 2013-11-05 12:52:56 +00:00
rpc.lockd Make a copy instead using constant string directly when assigning to char *. 2014-01-04 01:12:28 +00:00
rpc.statd Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
rpc.umntall A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
rpc.yppasswdd Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
rpc.ypupdated Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
rpc.ypxfrd Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
rpcbind Replace Sun RPC license with a 3-clause BSD license, with the explicit 2013-11-25 16:44:02 +00:00
rrenumd Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
rtadvctl - Use time_uptime instead of time_second in data structures for 2013-08-05 20:13:02 +00:00
rtadvd Ignore if the interface is not IPv6-capable. 2013-09-02 20:44:19 +00:00
rtprio Document the security.bsd.unprivileged_idprio in idprio(1) in addition 2012-09-30 03:21:21 +00:00
rtsold Use sysctl(ICMPV6CTL_ND6_DRLIST) instead of SIOCGDRLST_IN6 ioctl. 2013-08-17 22:13:26 +00:00
rwhod Make process descriptors standard part of the kernel. rwhod(8) already 2013-11-30 15:08:35 +00:00
sa In usr.sbin/sa/db.c, avoid warnings about assigning two const char 2011-12-18 01:08:25 +00:00
sendmail Since clang 3.2 now has an option to suppress warnings about implicitly 2013-02-16 20:17:31 +00:00
service Add -R, an option to restart all enabled "local" services. 2012-12-12 01:50:58 +00:00
services_mkdb Similar to cap_mkdb(1), add endianness support to services_mkdb(1) 2014-01-22 16:50:18 +00:00
setfib Tweak wording. 2013-09-07 20:25:22 +00:00
setfmac A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
setpmac A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
sicontrol A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
smbmsg Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
snapinfo Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:19 +00:00
spkrtest Update spkrtest(8) to use new dialog auto-sizing syntax. 2011-01-13 17:30:18 +00:00
spray Mark global functions and/or variables in spray(8) static where possible. 2011-11-06 19:02:49 +00:00
syslogd Add ENETUNREACH and EADDRNOTAVAIL to the list of errors that are potentially 2013-11-13 01:04:02 +00:00
sysrc Revert SVN r257830 -- that feature was annoying and was removed long ago. 2013-11-21 00:54:26 +00:00
tcpdchk A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
tcpdmatch A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
tcpdrop Allow the address and ports to be separated by a colon or period rather 2013-01-30 18:24:29 +00:00
tcpdump Add Casper support. 2013-12-15 23:05:19 +00:00
timed Minor update about rc.conf. 2013-04-22 18:31:39 +00:00
traceroute traceroute(8): make WARNS=3 clean 2010-12-04 14:19:27 +00:00
traceroute6 Add -a and -A option to the usage. 2012-05-08 15:18:35 +00:00
trpt A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
tzsetup Merge from CheriBSD: 2014-01-30 21:08:36 +00:00
uathload Only use -z noexecstack for these explicit arches: i386, amd64, powerpc 2011-02-16 21:04:47 +00:00
ugidfw A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
uhsoctl mdoc sweep 2013-05-13 18:13:50 +00:00
unbound Prevent resolvconf from updating /etc/resolv.conf. As Jakob Schlyter 2013-09-23 20:06:59 +00:00
usbconfig - Make the FreeBSD's USB library compile under Linux. 2013-03-13 12:23:14 +00:00
usbdump Add check for "hw.usb.no_pf" sysctl value. 2014-01-21 08:24:12 +00:00
utx Remove utxrm(8). This command has been superseded by 'utx rm'. 2013-11-03 16:43:52 +00:00
vidcontrol The M_VESA_MODE_MAX is latest valid mode - not the first invalid. 2013-05-11 13:32:38 +00:00
vipw Restore message in man page on VFS timestamp precision. 2012-02-14 09:29:37 +00:00
wake mdoc sweep. 2013-05-12 22:22:12 +00:00
watch watch: Do not mess up the tty modes on early error. 2013-09-05 19:02:03 +00:00
watchdogd mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
wlandebug Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
wlconfig mdoc: correct .Bd/.Bl arguments. 2012-03-26 21:22:53 +00:00
wpa Fix reference to ioctl(2). 2013-11-21 19:31:57 +00:00
yp_mkdb In usr.sbin/yp_mkdb/yp_mkdb.c, cast some printf field width parameters 2011-12-19 20:44:44 +00:00
ypbind Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, 2013-12-15 16:17:00 +00:00
yppoll A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
yppush Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
ypserv Fix compiler warnings. 2013-07-15 05:09:13 +00:00
ypset Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
zic A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
zzz A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
Makefile Merge from CheriBSD: 2014-01-30 21:37:43 +00:00
Makefile.amd64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.arm sysinstall was removed from usr.sbin/Makefile in r225937. Because per-arch 2012-03-13 00:45:27 +00:00
Makefile.i386 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.ia64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.inc A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
Makefile.mips Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00