Neel Natu
c458fc1ed4
Merge projects/bhyve to head.
...
'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
2013-01-19 04:18:52 +00:00
Eitan Adler
38d90616e6
Add option to make pc-sysinstall optional
...
Approved by: cperciva
2013-01-18 15:57:09 +00:00
Alfred Perlstein
b647367061
Spelling: exitting -> exiting
...
MFC after: 2 weeks
2013-01-18 02:36:06 +00:00
Jung-uk Kim
efcc2a3054
Merge ACPICA 20130117.
2013-01-17 23:56:43 +00:00
Neel Natu
c2217b9848
IFC @ r245509
2013-01-17 07:04:37 +00:00
Eitan Adler
535460c7dc
Remove unused variables
...
Approved by: cperciva
MFC After: 3 days
2013-01-16 05:03:49 +00:00
Eitan Adler
bab89cefc7
Avoid clobbering errno with a call to fprintf
...
PR: bin/173923
Submitted by: Garrett Cooper <yanegomi@gmail.com>
Approved by: cperciva
MFC After: 3 days
2013-01-16 05:00:51 +00:00
Devin Teske
db7b0ba78f
Don't use f_show_msg() unless printf(1) syntax is required (this reduces the
...
number of unnecessary forks).
2013-01-14 21:03:34 +00:00
Baptiste Daroussin
8cc0ef19d2
Directly uses calloc(3) instread of malloc(3) + memset(3)
...
Reported by: Jeremy Chadwick <jdc@koitsu.org>
MFC after: 3 days
2013-01-14 07:17:38 +00:00
Devin Teske
27ff90aa87
Add new f_yesno/f_noyes wrapper functions (which take printf(1) syntax).
2013-01-14 01:15:25 +00:00
Devin Teske
3c91c65a2b
Add missing dialog(1) arguments to internationalize "Help"-button label.
2013-01-14 01:09:23 +00:00
Nathan Whitehorn
aa333a1880
Note that cpufreq(4) is not available on all hardware.
...
PR: bin/175139
MFC after: 2 weeks
2013-01-12 16:01:58 +00:00
Joel Dahl
0510534298
Remove EOL whitespace.
2013-01-12 08:44:54 +00:00
Brooks Davis
624c4889c7
Always install our mtree as /usr/sbin/fmtree and link it as
...
/usr/sbin/mtree by default.
Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked
as /usr/sbin/mtree as well as /usr/sbin/nmtree.
2013-01-09 21:07:08 +00:00
Hajimu UMEMOTO
164051cea5
Add no_prefer_iface option.
...
It stops treating the address on the interface as special by source
address selection rule even when the interface is outgoing interface.
This is desired in some situation.
Requested by: hrs
Reviewed by: IHANet folks including hrs
MFC after: 1 week
2013-01-09 18:18:08 +00:00
Neel Natu
c83f77500c
Get rid of 'sample.sh' from here - it belongs in the /usr/share/examples
...
directory.
Obtained from: NetApp
2013-01-09 04:04:30 +00:00
Neel Natu
0ff4c70271
Sort the 'bhyvectl' subdir alphabetically.
...
Obtained from: NetApp
2013-01-09 04:02:23 +00:00
Neel Natu
1b54fbe69d
IFC @ r245178
2013-01-09 02:26:50 +00:00
Neel Natu
83994ddc7c
Add the 'bhyveload(8)' man page.
...
Obtained from: NetApp
Reviewed by: grehan
2013-01-08 06:00:32 +00:00
Neel Natu
e37bc32183
Reduce the default memory allocation for a VM from 768MB to 128MB.
...
Obtained from: NetApp
2013-01-08 01:56:05 +00:00
Peter Grehan
70d980fc34
Don't completely drain the read file descriptor. Instead, only
...
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
2013-01-07 07:33:48 +00:00
Peter Grehan
5fdfc2b893
Use 64-bit arithmetic throughout, and lock accesses to globals.
...
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
2013-01-07 04:51:43 +00:00
Devin Teske
1d70f5f445
Update copyright following last commit.
2013-01-07 00:18:03 +00:00
Devin Teske
3da75d2e7b
Add nonInteractive support to f_dialog_yesno/noyes().
2013-01-07 00:15:52 +00:00
Mateusz Guzik
1f09eec3f8
pw: free group returned by gr_add
2013-01-06 21:56:58 +00:00
Devin Teske
31a41563c0
Update copyrights and dates following last commit.
2013-01-06 18:18:09 +00:00
Devin Teske
99bc932ec2
Add support for scripting (sysinstall style).
...
Reviewed by: jilles
2013-01-05 02:08:47 +00:00
Benjamin Kaduk
e8ab2920c7
Grammar fixes and some wordsmithing
...
Discussed with: rmacklem
Approved by: hrs (mentor)
MFC after: 2 weeks
2013-01-05 00:27:08 +00:00
Neel Natu
46b1c55d9e
IFC @ r244983.
2013-01-04 19:28:32 +00:00
Neel Natu
5f0677d392
The "unrestricted guest" capability is a feature of Intel VT-x that allows
...
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
2013-01-04 02:04:41 +00:00
Hiroki Sato
e0418c03e7
- Print scopeid for link-local scope addresses.
...
- Do not print the flags= part when flags == 0.
2013-01-03 22:27:57 +00:00
Rick Macklem
8ac5ae563b
Fix r244604 so that it builds when MK_KERBEROS_SUPPORT == "no".
...
Reported by: bf
Tested by: bf
Reviewed by: gcooper
MFC after: 3 days
2013-01-03 22:24:39 +00:00
Mark Johnston
9df22a6e88
Make sure to update the mtime of a logfile after archiving it. This
...
ensures that the next rotation happens at the correct time when using
interval-based rotations.
PR: bin/174438
Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:14:51 +00:00
Mark Johnston
468d206524
Have -n imply -r, since dry-run mode obviously doesn't require root
...
privileges.
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:12:48 +00:00
Mark Johnston
220936938f
Fix a typo in an error message.
...
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:11:24 +00:00
Devin Teske
450f13a446
Comments.
2013-01-03 15:48:00 +00:00
Marius Strobl
7c0360c4c8
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
...
GNU/Linux *duck*.
MFC after: 1 week
2013-01-03 00:49:11 +00:00
Nathan Whitehorn
ec8edf9362
Make sade actually be a symlink to partedit, as per the commit message in
...
r244859, rather than a hardlink. This fixes installation if /usr/sbin
is on a different filesystem than /usr/libexec.
Submitted by: se
2013-01-02 13:25:11 +00:00
Nathan Whitehorn
2befb3613f
Add a man page for the new sade(8), which is mostly the same uninformative
...
manpage as the old sade(8).
2012-12-30 14:44:14 +00:00
Nathan Whitehorn
934f522a9f
Replace sade the extracted piece of sysinstall with sade the extracted
...
piece of bsdinstall (although this time with a symlink instead of duplicated
source code).
Discussed on: freebsd-geom
MFC after: 3 months
2012-12-30 14:35:00 +00:00
Nathan Whitehorn
4f5fcf8d00
If invoked as sade, don't complain about having a filesystem on / already
...
-- it's something you expect (and indeed hope for).
MFC after: 1 week
2012-12-30 14:33:16 +00:00
Devin Teske
5ffea47a33
Comments.
2012-12-29 00:30:30 +00:00
Devin Teske
802a85b13d
Add missing enforcement of height restriction after minor adjustment.
2012-12-29 00:06:26 +00:00
Devin Teske
30a8a39e07
Add support for running without a controlling terminal (for example, when
...
running as an rvalue to a pipe).
2012-12-29 00:01:24 +00:00
Devin Teske
9c83db2d4c
Allow debug output to be logged to a file (set $debugFile to target pathname)
...
or both stdout and a file (precede $debugFile pathname with a plus-sign, `+').
2012-12-28 23:49:17 +00:00
Devin Teske
39ce5cceae
Whitespace.
2012-12-28 23:40:13 +00:00
Devin Teske
f788e301b5
Fix incorrect function name. s/[[:<:]]dialog_clear/f_&/
2012-12-28 23:27:17 +00:00
Baptiste Daroussin
b3075010f8
Simplify vnextgrent and vnextpwent reusing pw_scan and gr_scan from libutil.
2012-12-27 19:43:29 +00:00
Baptiste Daroussin
0c50344969
Fix a regression in "pw group show" introduced r242349:
...
print a newline after printing each group line.
PR: bin/174731
Submitted by: Jan Beich <jbeich@tormail.org>
2012-12-27 14:44:13 +00:00
Baptiste Daroussin
460a6dac0b
Simplify the code by using the new gr_add function
2012-12-27 14:35:06 +00:00