summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a simple scripted partitioner. Documentation and more scripting supportnwhitehorn2013-01-204-3/+222
| | | | | | | | | | | | will come soon. This lets the install process have a line like: bsdinstall scriptedpart 'ada0 GPT {1.5G freebsd-ufs /, 10G freebsd-swap, auto freebsd-ufs /usr}' to set up a system with a 1.5GB /, some swap space, and a /usr using the rest of ada0. MFC after: 1 month
* Change the $ENV example to use .shrc instead of .shinit. This is consistentjoel2013-01-201-3/+3
| | | | | | with what we use in /usr/share/skel/dot.profile. Discussed with: jilles
* sh: Move some stackmarks to fix high memory usage in some loops.jilles2013-01-201-11/+5
| | | | | | | | | | | | If a loop contained certain commands (such as redirected compound commands), the temporary memory for the redirection was not freed between iterations of the loop but only after the loop. Put a stackmark in evaltree(), freeing memory whenever a node has been evaluated. Some other stackmarks are then redundant; remove them. Example: while :; do { :; } </dev/null; done
* zfs/sparc64 boot: fix booting after r242230avg2013-01-201-8/+12
| | | | | | | | | | arch_zfs_probe method is supposed to only probe for ZFS vdevs, but it can not expect that ZFS data is in a ready state yet. So, move some code from sparc64_zfs_probe to main to meet the constraints. Reported by: Chris Ross <cross+freebsd@distal.com> Tested by: Chris Ross <cross+freebsd@distal.com> MFC after: 4 days
* - Force inetd to have listen queue size to be set to the value ofzont2013-01-201-1/+1
| | | | | | | kern.ipc.somaxconn instead of hardcoded value 64. Submitted by: Andrey Ignatov <rdna@rdna.ru> MFC after: 2 weeks
* Backward compatibility fix: treat cmds loaded as a script as nonInteractivedteske2013-01-201-2/+17
|
* sh: Remove mkinit's initialization routine.jilles2013-01-205-35/+12
| | | | Instead, call the only init function left directly from main().
* - Avoid unnecessary strdup()gabor2013-01-201-2/+2
| | | | | Submitted by: ache MFC after: 5 days
* Fix minor nit in usage output.joel2013-01-201-1/+1
| | | | Reviewed by: neel
* Link the bhyve(4) man page to the build so the man page is actually installed.neel2013-01-201-0/+2
| | | | Pointed out by: wxs@
* Make "Finish" the default choice in the partition editor. This lets younwhitehorn2013-01-201-1/+1
| | | | | | | successfully complete an installation with all defaults by pressing Enter repeatedly until your machine reboots. MFC after: 3 weeks
* Use <vmname> in a consistent manner in usage messages output by 'bhyve',neel2013-01-202-2/+3
| | | | | | 'bhyveload' and 'bhyvectl'. Pointed out by: joel@
* Add svn properties to the recently merged bhyve source files.neel2013-01-202-2/+2
| | | | | The pre-commit hook will not allow any commits without the svn:keywords property in head.
* Link against compiler-rt to pull in the required __aeabi_* functionsandrew2013-01-191-2/+2
|
* sh: Replace an mkinit use with an initialization.jilles2013-01-191-10/+5
|
* When DDB is enabled and we are building for the ARM EABI include the unwindandrew2013-01-192-0/+14
| | | | tables in the kernel.
* Use correct GPIO interrupt lines.kientzle2013-01-191-1/+1
|
* Clarify the error messages for unrecognized pins and muxtypes.kientzle2013-01-191-4/+9
|
* Remove EOL whitespace.joel2013-01-192-4/+4
|
* Minor mdoc fixes.joel2013-01-191-10/+7
|
* Add the required __aeabi_* functions to libc.andrew2013-01-197-0/+361
| | | | | The floating point functions are here rather than compiler-rt because the libc softfloat code allows us to set the rounding mode.
* When building for ARM EABI link against libgcc for the __aeabi_* functions.andrew2013-01-191-0/+10
|
* Merge projects/bhyve to head.neel2013-01-19105-0/+25476
|\ | | | | | | | | | | | | | | | | 'bhyve' was developed by grehan@ and myself at NetApp (thanks!). Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for their support and encouragement. Obtained from: NetApp
| * IFC @ r245542neel2013-01-1739-133/+401
| |\
| * \ IFC @ r245509neel2013-01-17251-1923/+6113
| |\ \
| * | | Get rid of 'sample.sh' from here - it belongs in the /usr/share/examplesneel2013-01-091-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | directory. Obtained from: NetApp
| * | | Sort the 'bhyvectl' subdir alphabetically.neel2013-01-091-1/+1
| | | | | | | | | | | | | | | | Obtained from: NetApp
| * | | Get rid of gratuitous diff with respect to HEAD.neel2013-01-091-1/+0
| | | | | | | | | | | | | | | | Obtained from: NetApp
| * | | IFC @ r245205neel2013-01-099-32/+87
| | | |
| * | | IFC @ r245178neel2013-01-09133-1767/+1817
| |\ \ \
| * | | | Add the 'bhyveload(8)' man page.neel2013-01-082-1/+131
| | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: NetApp Reviewed by: grehan
| * | | | Reduce the default memory allocation for a VM from 768MB to 128MB.neel2013-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | Obtained from: NetApp
| * | | | Don't completely drain the read file descriptor. Instead, onlygrehan2013-01-071-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fill up to the uart's rx fifo size, and leave any remaining input for when the rx fifo is read. This allows cut'n'paste of long lines to be done into the bhyve console without truncation. Also, introduce a mutex since the file input will run in the mevent thread context and may corrupt state accessed by a vCPU thread. Reviewed by: neel Approved by: NetApp
| * | | | Add man page for bhyve(4). The project as well as the man page is aneel2013-01-071-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work-in-progress. This is the first man page I have written so apologies in advance if it offends anybody's sensibilities :-) Reviewed by: grehan Obtained from: NetApp
| * | | | Use 64-bit arithmetic throughout, and lock accesses to globals.grehan2013-01-071-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, dbench with >= 4 processes runs without getting weird jumps forward in time when the APCI pmtimer is the default timecounter. Obtained from: NetApp
| * | | | Revert changes for x2apic support from projects/bhyve.neel2013-01-064-549/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the early days of bhyve it did not support instruction emulation which necessitated the use of x2apic to access the local apic. This is no longer the case and the dependency on x2apic has gone away. The x2apic patches can be considered independently of bhyve and will be merged into head via projects/x2apic. Discussed with: grehan
| * | | | bhyve does not require a custom configuration file anymore so make the GENERICneel2013-01-051-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identical to the one in HEAD. Obtained from: NetApp
| * | | | Get rid of workarounds to avoid ins/outs instructions emitted by the guest.neel2013-01-051-42/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They can be emulated if needed in the future. Obtained from: NetApp
| * | | | IFC @ r244983.neel2013-01-041437-29105/+41495
| |\ \ \ \
| * | | | | There is no need for a special 'BHYVE' kernel configuration file anymore -neel2013-01-041-345/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'GENERIC' works fine. Obtained from: NetApp
| * | | | | There is no need for 'start_emulating()' and 'stop_emulating()' to be definedneel2013-01-042-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in <machine/cpufunc.h> so remove them from there. Obtained from: NetApp
| * | | | | The "unrestricted guest" capability is a feature of Intel VT-x that allowsneel2013-01-043-123/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the guest to execute real or unpaged protected mode code - bhyve relies on this feature to execute the AP bootstrap code. Get rid of the hack that allowed bhyve to support SMP guests on processors that do not have the "unrestricted guest" capability. This hack was entirely FreeBSD-specific and would not work with any other guest OS. Instead, limit the number of vcpus to 1 when executing on processors without "unrestricted guest" capability. Suggested by: grehan Obtained from: NetApp
| * | | | | Change thread name for the main kqueue event loop to "<vmname> mevent" sogrehan2012-12-201-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it can be easily distinguished from other non-vCPU threads in forthcoming changes. Obtained from: NetApp
| * | | | | Modify the default behavior of bhyve such that it no longer forces the use ofneel2012-12-161-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | x2apic mode on the guest. The guest can decide whether or not it wants to use legacy mmio or x2apic access to the APIC by writing to the MSR_APICBASE register. Obtained from: NetApp
| * | | | | Prefer x2apic mode when running inside a virtual machine.neel2012-12-163-5/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a tunable 'machdep.x2apic_desired' to let the administrator override the default behavior. Provide a read-only sysctl 'machdep.x2apic' to let the administrator know whether the kernel is using x2apic or legacy mmio to access local apic. Tested with Parallels Desktop 8 and bhyve hypervisors. Also tested running on bare metal Intel Xeon E5-2658. Obtained from: NetApp Discussed with: jhb, attilio, avg, grehan
| * | | | | Rename fbsdrun.* -> bhyverun.*grehan2012-12-1312-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bhyve is intended to be a generic hypervisor, and not FreeBSD-specific. (renaming internal routines will come later) Reviewed by: neel Obtained from: NetApp
| * | | | | Properly reset the tx/rx rings when a guest requests a device reset.grehan2012-12-121-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Obtained from: NetApp
| * | | | | Create unique MAC addresses for virtio devices that aregrehan2012-12-121-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | created with non-zero PCI function numbers. Remove obsolete reference to CFE. Obtained from: NetApp
| * | | | | Determine the correct length and sector size for raw devices.grehan2012-12-081-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: NetApp Tested by: Michael Dexter with iscsi LUNs
| * | | | | IFC @r243836neel2012-12-042233-76352/+164339
| |\ \ \ \ \
OpenPOWER on IntegriCloud