freebsd-skq/usr.sbin
neel 4626d164b8 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
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
arp
asf
audit
auditd
auditdistd
auditreduce
authpf
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
boot98cfg
bootparamd
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
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 Generate /var/db/services.db during 'make distribution' so that it is 2014-01-22 16:59:53 +00:00
extattr
extattrctl
faithd
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update
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
gstat
i2c
ifmcstat mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
inetd
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
kbdcontrol
kbdmap
keyserv
kgmon
kgzip
kldxref
lastlogin
lmcconfig
lpr
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
mountd
moused
mptable - Use <x86/mptable.h> instead of duplicating its definitions. 2013-12-11 21:21:03 +00:00
mptutil
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
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
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 Add support for displaying VPD for PCI devices via pciconf. 2014-01-20 20:56:09 +00:00
periodic
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
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
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 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
rtadvctl
rtadvd
rtprio
rtsold
rwhod Make process descriptors standard part of the kernel. rwhod(8) already 2013-11-30 15:08:35 +00:00
sa
sendmail
service
services_mkdb Similar to cap_mkdb(1), add endianness support to services_mkdb(1) 2014-01-22 16:50:18 +00:00
setfib
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
tcpdump Add Casper support. 2013-12-15 23:05:19 +00:00
timed
traceroute
traceroute6
trpt
tzsetup Merge from CheriBSD: 2014-01-30 21:08:36 +00:00
uathload
ugidfw
uhsoctl
unbound
usbconfig
usbdump Add check for "hw.usb.no_pf" sysctl value. 2014-01-21 08:24:12 +00:00
utx
vidcontrol
vipw
wake
watch
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
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