summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* MFC: 266836, 266839ray2014-06-164-14/+162
| | | | | | | | | | | | | vt(4) support for vidcontrol(1). o Teach vidcontrol(1) how to load vt(4) font. o Teach vidcontrol(1) to distinct which virtual terminal system is running now. o Load vt(4) fonts from different location. o Add $FreeBSD$ tag for path.h. vt(4) support for kbdcontrol(1). Enable kbdcontrol(1) to use maps from vt(4) keymaps dir /usr/share/vt/keymaps if vt(4) is present. Sponsored by: The FreeBSD Foundation
* MFC 262744:jhb2014-06-136-11/+890
| | | | | | | Add SMBIOS support. A new option, -U, can be used to set the UUID in the System Information (Type 1) structure.
* MFC 262139,262140,262236,262281,262532:jhb2014-06-132-17/+19
| | | | | | | | | | | Various x2APIC fixes and enhancements: - Use spinlocks for the vioapic. - Handle the SELF_IPI MSR. - Simplify the APIC mode switching between MMIO and x2APIC. The guest is no longer allowed to switch modes at runtime. Instead, the desired mode is set when the virtual machine is created. - Disallow MMIO access in x2APIC mode and MSR access in xAPIC mode. - Add support for x2APIC virtualization assist in Intel VT-x.
* MFC 261638,262144,262506,266765:jhb2014-06-121-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Add virtualized XSAVE support to bhyve which permits guests to use XSAVE and XSAVE-enabled features like AVX. - Store a per-cpu guest xcr0 register and handle xsetbv VM exits by emulating the instruction. - Only expose XSAVE to guests if XSAVE is enabled in the host. Only expose a subset of XSAVE features currently supported by the guest and for which the proper emulation of xsetbv is known. Currently this includes X87, SSE, AVX, AVX-512, and Intel MPX. - Add support for injecting hardware exceptions into the guest and use this to trigger exceptions in the guest for invalid xsetbv operations instead of potentially faulting in the host. - 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. - 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. - Expose a subset of known-safe features from leaf 0 of the structured extended features to guests if they are supported on the host including RDFSBASE/RDGSBASE, BMI1/2, AVX2, AVX-512, HLE, ERMS, and RTM. Aside from AVX-512, these features are all new instructions available for use in ring 3 with no additional hypervisor changes needed.
* MFC 262311: Fix virtio spec URL.jhb2014-06-121-1/+1
|
* MFC 261504:jhb2014-06-121-1/+6
| | | | Add support for FreeBSD/i386 guests under bhyve.
* MFC 261229:jhb2014-06-121-3/+3
| | | | | | o Fix typo, sort .Xrs. PR: docs/186191
* MFC 260239,261268,265058:jhb2014-06-1213-126/+387
| | | | | | Expand the support for PCI INTx interrupts including providing interrupt routing information for INTx interrupts to I/O APIC pins and enabling INTx interrupts in the virtio and AHCI backends.
* MFC 261217:jhb2014-06-105-55/+10
| | | | | | | | Remove support for legacy PCI devices. These haven't been needed since support for LPC uart devices was added and it conflicts with upcoming patches to add PCI INTx support. Approved by: grehan
* MFC 261000,261785,263238,263322,264302:jhb2014-06-101-8/+54
| | | | | | | | | | | | | | | | Various AHCI fixes: - Fix issue with stale fields from a recycled request pulled off the freelist. - Provide an indication a "PIO Setup Device to Host FIS" occurred while executing the IDENTIFY DEVICE and IDENTIFY PACKET DEVICE commands. - Provide an indication a "D2H Register FIS" occurred during a SET FEATURES command. - Though there currently isn't a way to insert new media into an ATAPI drive, at least pretend to support Asynchronous Notification (AN) to avoid a guest needlessly polling for it. - Don't reissue in-flight commands. - Constrain the amount of data returned to what is actually available not the size of the buffer.
* MFC: r266931brueffer2014-06-071-5/+6
| | | | Grammar cleanup; sort SEE ALSO.
* MFC r266903: Update default callchain depth to 16 to match kernelemaste2014-06-061-1/+1
|
* MFC r266463:bdrewery2014-06-051-2/+8
| | | | | - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by default for newsyslog(8).
* MFC 260999:jhb2014-06-041-1/+1
| | | | | Increase the block-layer backend maximum number of requests to match the AHCI command queue depth.
* Fix syntax error thrown at the point of creating the root pool, caused byroberto2014-06-041-12/+17
| | | | | | | | | | | | | | | | | an embedded newline appearing within the options string surrounded by double-quotes. Rework the logic that goes into setting dataset options on the root pool dataset while we're here -- added two new variables (which can be altered via scripting) ZFSBOOT_POOL_CREATE_OPTIONS and also ZFSBOOT_BOOT_POOL_CREATE_OPTIONS for setting pool/dataset attributes at the time of pool creation. The former is for setting options on the root pool (zroot) and the latter is for setting options on the optional separate boot pool (bootpool) implicitly enabled when using either GELI or MBR. The default value for the root pool variable (ZFSBOOT_POOL_CREATE_OPTIONS) is "-O compress=lz4 -O atime=off" and the default value for separate boot pool variable (ZFSBOOT_BOOT_POOL_CREATE_OPTIONS) is NULL (no additional options for the separate boot pool dataset). Reviewed by: allanjude
* MFC r266107,r266108,r266109:roberto2014-06-041-27/+108
| | | | | | | | | | | | | | | | | | | | | | | | Here is a patch for the bsdinstall root-on-zfs stuff that adds optional encryption for swap, and optional gmirror for swap (which can be combined) Updates to the datasets created by zfsboot. Set compress=lz4 for the entire pool, removing it from the individual datasets Remove exec=no from /usr/src, breaks the test suite. Fix the "disks" variable reuse. It starts off being used to track the grammar for the number of disks (singular vs plural) and then it is reused as the list of available disks. Replace the variable with disks_grammar and move 'disk' and 'disks' to msg_ vars so they can be translated in the future. Submitted by: Allan Jude <freebsd@allanjude.com> Reviewed by: roberto Sponsored by: ScaleEngine Inc.
* MFC r266798 and r266803:hselasky2014-06-041-1/+0
| | | | Fix for big-endian architectures.
* MFC r266468:mav2014-06-031-0/+1
| | | | | | Add IOMMU PCI subclass, found on Tyan S8236 motherboard. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* MFC r264480: mergemaster: Avoid "/var/tmp/temproot disappeared" if there isjilles2014-06-011-1/+1
| | | | | | | | | | | | | | | | | nothing to compare. Because of the change to find in SVN r253886, the entire temproot would be deleted if it became empty, leading to a confusing message "*** FATAL ERROR: The temproot directory ${TEMPROOT} has disappeared!" Note that mergemaster does not do anything useful in this situation anyway (e.g. put IGNORE_FILES="/etc/group /etc/master.passwd" in /etc/mergemaster.rc and run mergemaster -p). As noted in that commit, add -mindepth 1. PR: bin/188485 Submitted by: David Boyd
* MFC: 266209gnn2014-05-303-3/+51
| | | | | | | | Add a command line argument (-l) to end event collection after some number of seconds. The number of seconds may be a fraction. Submitted by: Julien Charbon <jcharbon@versign.com> Relnotes: yes
* MFC: 266166gnn2014-05-301-2/+2
| | | | Extend the size of the function or symbol that can be annotated.
* MFC r266320:mav2014-05-242-5/+26
| | | | Add -o option to gstat to display "other" operatins (e.g. BIO_FLUSH).
* MFC 260469:jhb2014-05-231-1/+1
| | | | | Fix issue with the virtio descriptor region being truncated if it was above 4GB.
* MFC r266208: Speed up pmcstat by improving string hashemaste2014-05-231-3/+3
| | | | | | | | | In one case generating callgraph output from a 24MB system-wide sampling data file took 17.4 seconds on average. Profiling showed pmcstat spending a lot of time in strcmp, due to hash collisions. Replacing the XOR-only hash with FNV-1a reduces the run time for my test by 40%.
* MFC r266297: Update example portion of comment to coincide with r264840dteske2014-05-221-1/+2
|
* MFC 264765,264766:jhb2014-05-182-7/+13
| | | | | | | | - Don't claim the adapter is idle if it is clearing a drive. - Fix an off by one error when checking for the stop event. This resulted in not showing the most recent event by default. - When the stop even is hit, break out of the outer loop to stop fetching more events.
* MFC 259737, 262646:jhb2014-05-181-13/+2
| | | | | | | | | | Fix a couple of issues with vcpu state: - Add a parameter to 'vcpu_set_state()' to enforce that the vcpu is in the IDLE state before the requested state transition. This guarantees that there is exactly one ioctl() operating on a vcpu at any point in time and prevents unintended state transitions. - Fix a race between VMRUN() and vcpu_notify_event() due to 'vcpu->hostcpu' being updated outside of the vcpu_lock().
* MFC 259641,259863,259924,259937,259961,259978,260380,260383,260410,260466,jhb2014-05-171-4/+3
| | | | | | | | | | | | | | | | 260531,260532,260550,260619,261170,261453,261621,263280,263290,264516: Add support for local APIC hardware-assist. - Restructure vlapic access and register handling to support hardware-assist for the local APIC. - Use the 'Virtual Interrupt Delivery' and 'Posted Interrupt Processing' feature of Intel VT-x if supported by hardware. - Add an API to rendezvous all active vcpus in a virtual machine and use it to support level triggered interrupts with VT-x 'Virtual Interrupt Delivery'. - Use a cheaper IPI handler than IPI_AST for nested page table shootdowns and avoid doing unnecessary nested TLB invalidations. Reviewed by: neel
* MFC r264841: Update zfsboot to coincide with MFC of r264840dteske2014-05-171-23/+71
| | | | adding GEOM support.
* MFC r264840: Implement GEOM based media device classification.dteske2014-05-1722-771/+1579
|
* MFC r264269, r264282, r264280, r264291, r264276, r264314sbruno2014-05-164-0/+715
| | | | | | Merge sson's binmiscctl and image activator features to stable/10 Submitted by: sson@freebsd.org
* MFC r258044, r258679, r263990loos2014-05-141-1/+3
| | | | | | | | Adds gpioiic.4 and gpioled.4 man pages. Moves some of the information that was previously available on gpio.4 to their respectives pages. Add the cross references on gpioctl.8. Add gpiobus(4) as a link to gpio(4).
* MFC r264194:jh2014-05-091-1/+1
| | | | | | | Fork a child process and wait until the process terminates when the -P option is specified. This behavior is documented on the manual page. PR: bin/187265
* MFC r264740:delphij2014-05-091-1/+1
| | | | | | | Use case insensitive match in portsnap. PR: bin/186510 Submitted by: olli
* Merged r262424-262425,265085scottl2014-05-077-4/+205
| | | | | | | Add the -a option to pmcstat. This produces a full stack track on the sampled points. See the man page for details on how this works. Obtained from: Netflix, Inc.
* MFC r264877:trasz2014-05-071-9/+9
| | | | | | Style fixes. Sponsored by: The FreeBSD Foundation
* MFC r264604:trasz2014-05-071-1/+0
| | | | | | Remove redundant code. Sponsored by: The FreeBSD Foundation
* MFC r264549:trasz2014-05-073-34/+46
| | | | | | | | | Make it possible for the initiator side to operate in both proxy and normal mode; this makes it possible to compile with the former by default, but use it only when neccessary. That's especially important for the userland part. Sponsored by: The FreeBSD Foundation
* MFC r264535:trasz2014-05-071-3/+3
| | | | | | English. Sponsored by: The FreeBSD Foundation
* MFC r264534:trasz2014-05-071-1/+9
| | | | | | If we fail to create LUN, try again on next configuration reload. Sponsored by: The FreeBSD Foundation
* MFC r264533:trasz2014-05-071-3/+4
| | | | | | Use consistent punctuation. Sponsored by: The FreeBSD Foundation
* MFC r264532:trasz2014-05-071-3/+3
| | | | | | Use proper terminology in debug messages. Sponsored by: The FreeBSD Foundation
* MFC r264531:trasz2014-05-072-10/+13
| | | | | | Constify. Sponsored by: The FreeBSD Foundation
* MFC r264530:trasz2014-05-073-31/+34
| | | | | | Properly pass the initiator address when running in proxy mode. Sponsored by: The FreeBSD Foundation
* MFC r264529:trasz2014-05-071-11/+13
| | | | | | | Use socket address from accept(2) instead of retrieving it via getpeername(2). Sponsored by: The FreeBSD Foundation
* MFC r264528:trasz2014-05-073-8/+16
| | | | | | | | | | | | Rework the way we enable CTL iSCSI port. Previously conf_apply() needed it to be already enabled, because listening in proxy mode requires it; however, it's conf_apply() that opens pidfiles, so it resulted in port being enabled before pidfile was opened. This was not so bad, but it was also disabled when pidfile couldn't be opened due to ctld already running; this means that starting second ctld instance screwed up the first. Sponsored by: The FreeBSD Foundation
* MFC r264526:trasz2014-05-073-28/+45
| | | | | | | Properly identify target portal when running in proxy mode. While here, remove CTL_ISCSI_CLOSE, it wasn't used or implemented anyway. Sponsored by: The FreeBSD Foundation
* MFC r264524:trasz2014-05-073-86/+112
| | | | | | | | Make it possible for the iSCSI target side to operate in both normal and ICL_KERNEL_PROXY mode, and fix some bit rot so the latter actually works again. Sponsored by: The FreeBSD Foundation
* MFC r264500:trasz2014-05-071-7/+6
| | | | | | Stop treating LUN 0 as mandatory. There is no reason to do that. Sponsored by: The FreeBSD Foundation
* MFC various moves of tools/regressions/ tests to the new infrastructure.jmmv2014-04-2742-0/+3948
| | | | | | | | | | | | | | | | - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
OpenPOWER on IntegriCloud