summaryrefslogtreecommitdiff
path: root/usr.sbin/ldomctl
AgeCommit message (Collapse)Author
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
larger types really is a range reduction... Almost any cast to (unsigned) is a bug. ok millert tb benno
2018-11-01- odd condition/test in PF lexerAlexandr Nedvedicky
(and other lexers too) This commit rectifies earlier change: in the lex... even inside quotes, a \ followed by space or tab should expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). OK deraadt@, OK millert@
2018-09-16Add support for setting NVRAM variables.Mark Kettenis
2018-09-16Various improvements to generate logical domain configurations that areMark Kettenis
accepted by more modern firmwares. In particular on SPARC T3 machines. Tested on a t1k and t5120.
2018-09-15Add support for version 2.0 of the mdstore protocol.Mark Kettenis
2018-07-12Add a function to delete all nodes with a specific name.Mark Kettenis
Add a function to determine the size of a machine description.
2018-07-09No need to mention which memory allocation entry point failed (malloc,Kenneth R Westerback
calloc or strdup), we just need to log that we ran out of memory in a particular function. Recommended by florian@ and deraadt@ ok benno@ henning@ tb@
2018-04-09Do not discourage IPv6, it's working fine in LDOMs.kn
OK jca, stsp
2017-01-26Document the ldomctl(8) 'select' command previously not mentioned in theStefan Sperling
manual page. Also, replace an alternative fact given for the 'dump' command with an actual fact: it does not accept an argument.
2017-01-17Nuke some whitespace that keeps poking me in the eye as I try toKenneth R Westerback
steal code.
2015-05-23fix a memory leak in an error pathJonathan Gray
2015-02-09fix fd leaks in error pathsJonathan Gray
ok kettenis@
2014-11-20Don't allow embedded nul characters in strings.Jonathan Gray
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@
2014-11-14Add gcc printf format attributes to yyerror() in parse.y files.Doug Hogan
No yyerror() calls needed to be changed. ok bluhm@
2014-10-15create xreallocarray() and use itTheo de Raadt
2014-10-09indentTheo de Raadt
2014-09-29document that ldom guests now support block devicesStefan Sperling
2014-09-28Use TAILQ_FOREACH_SAFE when we might delete entries for the list.Mark Kettenis
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
2014-08-23Enhance the ldomctl(8) man page.Stefan Sperling
Describe all available commands, document the init-system file format, and add examples guiding users through the process of setting up guest domains based on http://undeadly.org/cgi?action=article&sid=20121214153413 input and ok jasper jmc schwarze
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
found by millert@, ok deraadt@
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-05-08tweak hvmd_init_guest() to check if everything was OK in md_read(),Gleydson Soares
otherwise print out an error string and exit. OK jasper@ kettenis@
2013-04-03Make it possible to explicitly specify the number of vcpus and the amountMark Kettenis
of memory for the primary domain. As a bonus this prevents people from shooting themselves in the foot by creating two domains names "primary".
2013-04-01Some firmware revisions on UltraSPARC T2 machines apparently insist on havingMark Kettenis
"rngs" and "rng" nodes in the Hypervisor machine description.
2013-03-04- check parser's return value and exit if parsing failedOtto Moerbeek
- a duplicate domain name is a syntax error tweaked diff from @jasper; ok kettenis@ jasper@
2013-02-26Some firmware revisions provide a factory-default configuration that containsMark Kettenis
duplication arcs in the hvmd. Add a workaround for this problem. ok deraadt@
2012-12-10OpenBSD->.OxJason McIntyre
2012-12-09Implement panic command.Mark Kettenis
2012-12-08Fix previous.Mark Kettenis
2012-12-08Add a few missing properties to vnet-port devices to make Linux happy.Mark Kettenis
2012-12-01Add support for older firmware on UltraSPARC T1 machines.Mark Kettenis
2012-12-01Make it possible to share cores between domains.Mark Kettenis
2012-11-29s/daemon/program/Mark Kettenis
Pointed out by Jung Lee.
2012-11-28Prevent people from shooting themselves in the foot by not allowing them toMark Kettenis
delete the factory-default configuration.
2012-11-26We don't really need a "rngs" node in the Hypervisor MD.Mark Kettenis
2012-11-26Fix generation of "hvmd_mblock" node. Only add the "stick-frequency"Mark Kettenis
property to the root node if the original Hypervisor MD had one to start with.
2012-11-26Regeerate Hypervisor MD from scratch instead of modifying the existing one.Mark Kettenis
2012-11-25More changes to make this work on UltraSPARC T2 systems. Now there'sMark Kettenis
enough functionality to create a configuration for a t5120 running System Firmware 7.1.x.
2012-11-25Use "id" property as physical ID for CPUs on UltraSPARC T2 and later.Mark Kettenis
2012-11-25Properly remove virtual device ports if we remove the associated channels.Mark Kettenis
2012-11-25spacingMark Kettenis
2012-11-25Add support for building a new configuration based on a configuration thatMark Kettenis
already has guest domains configured.
2012-11-24Better error reporting.Mark Kettenis
2012-11-24Delete "ncp" and "n2cp" virtual devices. Makes Solaris stop whining aboutMark Kettenis
not being able to configure crypto work queues.
2012-11-24Get rid of some hard-coded constants. Improve memory allocation code.Mark Kettenis
2012-11-24Fix yacc warning.Mark Kettenis
2012-11-24Add code to create new system configuration. Work in progress, but there'sMark Kettenis
enough functionality to create a configuration for a t1k or t2k running System Firmware 6.7.x.
2012-11-24Export a few more prototypes. Make md_get_prop_val set the returned valueMark Kettenis
to -1 if the requested property isn't present.
2012-11-24Add xasprintf.Mark Kettenis