freebsd-dev/lib
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
..
atf MFV: Import atf-0.20. 2014-02-14 19:33:16 +00:00
clang Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00
csu Use the size of the MACHINE_ARCH string instead of sizeof(uint32_t). It can 2013-10-27 23:48:59 +00:00
libalias
libarchive Temporarily disable iconv for non-shared library builds. The dynamic 2013-09-26 17:55:36 +00:00
libauditd
libbegemot
libblocksruntime
libbluetooth General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
libbsm
libbsnmp Add missing DPADD 2013-01-01 18:29:25 +00:00
libbz2
libc Consistently pass around context information using a simple pointer. This 2014-02-24 13:33:20 +00:00
libc_nonshared Move the iconv wrapper source from libc_nonshared to libc/iconv so that 2013-11-25 20:17:55 +00:00
libc++ Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
libcalendar
libcam Bump libcam shared library version forgotten in r259397. 2013-12-15 15:51:05 +00:00
libcapsicum Both libcasper and libcapsicum libraries have to be installed in /lib/, 2013-12-02 17:07:22 +00:00
libcasper Fix descriptor leak. 2014-02-09 21:47:46 +00:00
libcom_err - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
libcompat
libcompiler_rt Unconditionally compile the __sync_* atomics support functions into compiler-rt 2013-08-31 08:50:45 +00:00
libcrypt Switch the hardcoded default hash function from MD5 / DES to SHA512. 2014-02-15 10:53:44 +00:00
libcxxrt Add missing C++11 typeinfos to the libcxxrt version script. 2014-01-11 19:02:17 +00:00
libdevinfo
libdevstat Fix a typo. 2013-12-25 19:38:16 +00:00
libdwarf Bump SHLIB_MAJOR for libdwarf as ABI/API has changed. 2014-01-21 21:11:07 +00:00
libedit Import NetBSD readline.c,v 1.104: do not crash with add_history(NULL). 2013-09-26 17:54:58 +00:00
libefi
libelf Bump SHLIB_MAJOR for libelf. 2014-01-21 21:13:13 +00:00
libexecinfo Don't install private libexecinfo headers 2013-09-03 13:31:43 +00:00
libexpat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
libfetch Bump copyright dates 2014-01-30 08:37:23 +00:00
libgeom Since there's no defined schema for the XML that's generated by the 2013-07-19 06:42:15 +00:00
libgpib mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libgssapi mdoc: add missing -width argument to Bl -tag. 2012-06-08 12:09:00 +00:00
libiconv Split the last gcc-specific flags off into CFLAGS.gcc. This also 2014-01-05 21:03:49 +00:00
libiconv_modules Wrap for loop in #if block testing the size is actually greater 2014-02-25 01:11:05 +00:00
libipsec Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
libipx
libjail Fix some memory allocation errors: 2012-10-04 19:07:05 +00:00
libkiconv The iconv in libc did two things - implement the standard APIs, the GNU 2013-08-13 07:15:01 +00:00
libkse Replace the WEAK_ALIAS() alias with the WEAK_REFERENCE() alias. Use it and 2013-11-21 22:31:18 +00:00
libkvm Add kvm_getncpus() to obtain mp_ncpus. 2014-02-12 19:22:48 +00:00
libldns LDNS needs OpenSSL. This wasn't a problem as long as it was only build 2013-09-08 19:39:18 +00:00
liblzma
libmagic r235638 is not the clean way to add support for building on ancient FreeBSD 2012-09-11 22:38:33 +00:00
libmandoc Merge mdocml v1.12.3 into head 2014-02-01 09:27:57 +00:00
libmd use a real uint64_t instead of writing code to emulate one.. 2014-01-11 20:49:22 +00:00
libmemstat Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00
libmilter
libmp
libnandfs Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
libnetbsd Add libnetbsd, a thin compatibility layer intended to allow a limited 2012-12-21 20:37:38 +00:00
libnetgraph make sure that rbuf is aligned by making a union w/ the structure we 2014-01-07 23:01:05 +00:00
libngatm
libnv Assert input arguments to buf_send() and buf_recv(). 2014-02-02 19:06:00 +00:00
libopie
libpam Catch up with OpenPAM Nummularia. 2013-11-21 20:43:43 +00:00
libpcap MFV: libpcap 1.4.0. 2013-05-30 08:02:00 +00:00
libpjdlog Move my simple logging API to a separate library. It is now already used 2013-12-01 09:41:06 +00:00
libpmc Add hwpmc(4) support for the PowerPC 970 class processors, direct events. 2014-02-01 02:03:50 +00:00
libproc Consistently add the relocation offset only when the ELF type is not 2013-11-11 16:57:57 +00:00
libprocstat MFV r259170: 2014-01-01 00:45:28 +00:00
libradius mdoc sweep. 2013-05-12 22:22:12 +00:00
librpcsec_gss Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
librpcsvc
librt Convert this piece of code to use C11 atomics. 2013-06-30 08:59:33 +00:00
librtld_db
libsbuf Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map. 2013-04-11 19:50:10 +00:00
libsdp
libsm Add new sendmail 8.14.8 file 2014-01-26 23:40:31 +00:00
libsmb Just disable recoding support in libsmb if built WITHOUT_ICONV. 2013-11-12 15:09:28 +00:00
libsmdb
libsmutil
libstand Build libstand as a 64-bit library on ppc64 2014-02-09 16:37:17 +00:00
libstdbuf Remove WARNS=6 lines. 2012-10-18 15:39:29 +00:00
libstdthreads
libtacplus mdoc sweep. 2013-05-12 22:22:12 +00:00
libtelnet - Do not use deprecated krb5 error message reporting functions in libtelnet. 2012-04-06 00:03:45 +00:00
libthr In _pthread_kill(), if passed pthread is current thread, do not send 2014-02-01 18:13:18 +00:00
libthread_db Ensure we set all fpu registers to zero by using the address and size of 2013-08-17 14:42:40 +00:00
libucl Lower the level of WARNS to fix build with gcc 2014-02-23 22:50:22 +00:00
libufs
libugidfw
libulog Properly use SHA1_Final() instead of SHA_Final(). 2012-04-19 15:28:15 +00:00
libunbound Build and install the Unbound caching DNS resolver daemon. 2013-09-15 14:51:23 +00:00
libusb Comply to the official LibUSB v1.0 API: 2014-01-28 07:21:46 +00:00
libusbhid Restore handling of the third argument (id) of hid_start_parse(), same as 2012-09-20 18:56:27 +00:00
libutil libutil/pw_util.3: Fix two prototypes. 2014-02-13 05:13:22 +00:00
libvgl
libvmmapi Queue pending exceptions in the 'struct vcpu' instead of directly updating the 2014-02-26 00:52:05 +00:00
libwrap
liby
libypclnt
libz Fix up FreeBSD tag for files not from a vendor branch 2013-10-31 18:44:40 +00:00
msun * Mark static inline functions with __fenv_static. 2014-01-25 18:13:43 +00:00
ncurses Merge from CheriBSD: 2014-01-30 21:08:36 +00:00
tests Install category Kyuafiles from their category directories. 2013-11-08 14:29:06 +00:00
Makefile Remove libyaml, it has been replaced by libucl 2014-02-23 22:27:14 +00:00
Makefile.inc