freebsd-skq/usr.sbin
Neel Natu 52e5c8a2ec Simplify APIC mode switching from MMIO to x2APIC. In part this is done to
simplify the implementation of the x2APIC virtualization assist in VT-x.

Prior to this change the vlapic allowed the guest to change its mode from
xAPIC to x2APIC. We don't allow that any more and the vlapic mode is locked
when the virtual machine is created. This is not very constraining because
operating systems already have to deal with BIOS setting up the APIC in
x2APIC mode at boot.

Fix a bug in the CPUID emulation where the x2APIC capability was leaking
from the host to the guest.

Ignore MMIO reads and writes to the vlapic in x2APIC mode. Similarly, ignore
MSR accesses to the vlapic when it is in xAPIC mode.

The default configuration of the vlapic is xAPIC. The "-x" option to bhyve(8)
can be used to change the mode to x2APIC instead.

Discussed with:	grehan@
2014-02-20 01:48:25 +00:00
..
ac Move example to EXAMPLES. 2013-03-17 06:54:04 +00:00
accton
acpi Teach acpidump(8) to display the 'Flags' field in the HPET Description Table. 2013-11-22 18:53:54 +00:00
adduser
amd
ancontrol
apm
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
audit
auditd
auditdistd Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
auditreduce
authpf Install authpf-noip. 2013-07-10 07:40:30 +00:00
bhyve Simplify APIC mode switching from MMIO to x2APIC. In part this is done to 2014-02-20 01:48:25 +00:00
bhyvectl Fix amd64 build breakage caused by r260532. 2014-01-11 17:37:53 +00:00
bhyveload Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +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 Fix world build WITHOUT_PF. 2014-02-12 09:59:48 +00:00
btxld
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 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
daemon 1. Properly clean pid files in the case of the error. 2013-09-19 18:00:05 +00:00
dconschat
devinfo
digictl
diskinfo
dumpcis Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
editmap
edquota edquota: Don't pass fd for temporary file to editor. 2013-10-27 21:06:17 +00:00
eeprom
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
faithd
fdcontrol
fdformat
fdread
fdwrite
fifolog Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
flowctl
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
fwcontrol
getfmac
getpmac
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
i2c
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
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 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
keyserv
kgmon remove old-style function definition 2013-02-14 14:44:08 +00:00
kgzip
kldxref kldxref: Add static keyword to the new function only used in the same file. 2013-10-16 20:04:06 +00:00
lastlogin
lmcconfig
lpr Change the closeallfds() routine to use closefrom() when it is 2013-05-27 22:19:01 +00:00
lptcontrol
mailstats
mailwrapper
makefs Record the IEEE P1282 Rock Ridge version 1.12 POSIX File Serial Number, 2013-12-29 16:43:35 +00:00
makemap
manctl
memcontrol
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
mld6query
mlxcontrol
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
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
nfsd Document the fact that an NFSv4 mount uses the host uuid to uniquely 2013-07-01 21:41:12 +00:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree Merge from CheriBSD: 2014-01-30 21:32:25 +00:00
nologin
nscd
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
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 Implicit include of sys/queue.h instead of relying on gelf.h/libelf.h to bring it 2014-01-20 22:54:11 +00:00
pmcannotate objdump output changed indentation from 1 space to 2 spaces somewhere between 2013-05-06 18:30:49 +00:00
pmccontrol
pmcstat
pnpinfo
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
praliases
praudit
procctl
pstat
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
quotaon
rarpd Add some missing newlines and static declarations. 2013-04-07 15:33:06 +00:00
repquota
rip6query
rmt
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
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
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
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
sendmail Since clang 3.2 now has an option to suppress warnings about implicitly 2013-02-16 20:17:31 +00:00
service
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
setpmac
sicontrol
smbmsg
snapinfo
spkrtest
spray
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
tcpdmatch
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
traceroute6
trpt
tzsetup Merge from CheriBSD: 2014-01-30 21:08:36 +00:00
uathload
ugidfw
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
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
wlconfig
wpa Fix reference to ioctl(2). 2013-11-21 19:31:57 +00:00
yp_mkdb
ypbind Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, 2013-12-15 16:17:00 +00:00
yppoll
yppush
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
zzz
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
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
Makefile.mips
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