FreeBSD src
Go to file
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
bin sh: Add -h option to SYNOPSIS 2014-02-25 03:05:43 +00:00
cddl 1452 DTrace buffer autoscaling should be less violent 2014-02-22 05:18:55 +00:00
contrib Remove libyaml, it has been replaced by libucl 2014-02-23 22:27:14 +00:00
crypto Fix installations that use kernels without CAPABILITIES support. 2014-02-04 21:48:09 +00:00
etc Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion 2014-02-22 13:05:23 +00:00
games Correct a typo in Malcolm MacDougall's name. 2014-02-15 22:15:24 +00:00
gnu add support for building a cross-gdb for ARM... This isn't hooked up 2014-02-12 02:08:42 +00:00
include Import libucl into vendor 2014-02-23 21:28:28 +00:00
kerberos5 Revert my commit in r261253; the real problem was tackled in r262209. 2014-02-20 20:53:29 +00:00
lib Queue pending exceptions in the 'struct vcpu' instead of directly updating the 2014-02-26 00:52:05 +00:00
libexec Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion 2014-02-22 13:05:23 +00:00
release In release/Makefile, remove exclusion of CVS directories in the 2014-02-26 00:52:01 +00:00
rescue - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
sbin Arguments for malloc and calloc should be size_t, not int. 2014-02-25 18:25:27 +00:00
secure Refresh our implementation of OpenBSD's Blowfish password format. 2014-02-25 23:03:48 +00:00
share release.sh: 2014-02-25 22:13:48 +00:00
sys Queue pending exceptions in the 'struct vcpu' instead of directly updating the 2014-02-26 00:52:05 +00:00
tests Import libucl into vendor 2014-02-23 21:28:28 +00:00
tools Add a very basic and totally hacked up iwnstats program. 2014-02-24 02:38:43 +00:00
usr.bin Capability rights are held by descriptors, not processes. 2014-02-23 22:13:16 +00:00
usr.sbin Queue pending exceptions in the 'struct vcpu' instead of directly updating the 2014-02-26 00:52:05 +00:00
COPYRIGHT Bump copyright year. 2013-12-31 12:18:10 +00:00
LOCKS Explicitly require Security Officer's approval for kernel PRNG bits. 2013-09-17 14:19:05 +00:00
MAINTAINERS pkg_install has been removed on 20131031. 2013-11-09 16:20:42 +00:00
Makefile Import libucl into vendor 2014-02-23 21:28:28 +00:00
Makefile.inc1 Merge from CheriBSD: 2014-01-30 22:26:51 +00:00
ObsoleteFiles.inc Remove libyaml, it has been replaced by libucl 2014-02-23 22:27:14 +00:00
README Add the cddl/ directory. 2010-11-14 11:32:56 +00:00
UPDATING Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html