History log of /openbsd-current/usr.sbin/ldomctl/mdesc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 28-Nov-2019 kn

Use scan_scaled(3) for memory in ldom.conf

Replace the hand-written routing with a proper library allowing even more
formats.

Since ldomctl's local util.h conflicts with the now used global util.h from
libutil, rename it to ldom_util.h.

Manual wording from amd64's vm.conf(5).

OK kettenis


Revision tags: OPENBSD_6_6_BASE
# 1.12 14-Jul-2019 kettenis

Add interface to set/update a data property.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.11 16-Sep-2018 kettenis

Various improvements to generate logical domain configurations that are
accepted by more modern firmwares. In particular on SPARC T3 machines.

Tested on a t1k and t5120.


# 1.10 12-Jul-2018 kettenis

Add a function to delete all nodes with a specific name.
Add a function to determine the size of a machine description.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.9 23-May-2015 jsg

fix a memory leak in an error path


Revision tags: OPENBSD_5_7_BASE
# 1.8 09-Feb-2015 jsg

fix fd leaks in error paths
ok kettenis@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.7 26-Nov-2012 kettenis

Regeerate Hypervisor MD from scratch instead of modifying the existing one.


# 1.6 25-Nov-2012 kettenis

spacing


# 1.5 24-Nov-2012 kettenis

Export a few more prototypes. Make md_get_prop_val set the returned value
to -1 if the requested property isn't present.


# 1.4 27-Oct-2012 kettenis

Doesn't need <assert.h> anymore.


# 1.3 25-Oct-2012 kettenis

Some more machine description manipulation stuff.


# 1.2 21-Oct-2012 kettenis

Split out some general-purpose functions and macros into their own file.


# 1.1 15-Oct-2012 kettenis

Specify domains by name instead of by number.
Provide status of all domains if none specified.


# 1.12 14-Jul-2019 kettenis

Add interface to set/update a data property.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.11 16-Sep-2018 kettenis

Various improvements to generate logical domain configurations that are
accepted by more modern firmwares. In particular on SPARC T3 machines.

Tested on a t1k and t5120.


# 1.10 12-Jul-2018 kettenis

Add a function to delete all nodes with a specific name.
Add a function to determine the size of a machine description.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.9 23-May-2015 jsg

fix a memory leak in an error path


Revision tags: OPENBSD_5_7_BASE
# 1.8 09-Feb-2015 jsg

fix fd leaks in error paths
ok kettenis@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.7 26-Nov-2012 kettenis

Regeerate Hypervisor MD from scratch instead of modifying the existing one.


# 1.6 25-Nov-2012 kettenis

spacing


# 1.5 24-Nov-2012 kettenis

Export a few more prototypes. Make md_get_prop_val set the returned value
to -1 if the requested property isn't present.


# 1.4 27-Oct-2012 kettenis

Doesn't need <assert.h> anymore.


# 1.3 25-Oct-2012 kettenis

Some more machine description manipulation stuff.


# 1.2 21-Oct-2012 kettenis

Split out some general-purpose functions and macros into their own file.


# 1.1 15-Oct-2012 kettenis

Specify domains by name instead of by number.
Provide status of all domains if none specified.


# 1.11 16-Sep-2018 kettenis

Various improvements to generate logical domain configurations that are
accepted by more modern firmwares. In particular on SPARC T3 machines.

Tested on a t1k and t5120.


# 1.10 12-Jul-2018 kettenis

Add a function to delete all nodes with a specific name.
Add a function to determine the size of a machine description.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.9 23-May-2015 jsg

fix a memory leak in an error path


Revision tags: OPENBSD_5_7_BASE
# 1.8 09-Feb-2015 jsg

fix fd leaks in error paths
ok kettenis@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.7 26-Nov-2012 kettenis

Regeerate Hypervisor MD from scratch instead of modifying the existing one.


# 1.6 25-Nov-2012 kettenis

spacing


# 1.5 24-Nov-2012 kettenis

Export a few more prototypes. Make md_get_prop_val set the returned value
to -1 if the requested property isn't present.


# 1.4 27-Oct-2012 kettenis

Doesn't need <assert.h> anymore.


# 1.3 25-Oct-2012 kettenis

Some more machine description manipulation stuff.


# 1.2 21-Oct-2012 kettenis

Split out some general-purpose functions and macros into their own file.


# 1.1 15-Oct-2012 kettenis

Specify domains by name instead of by number.
Provide status of all domains if none specified.


# 1.10 12-Jul-2018 kettenis

Add a function to delete all nodes with a specific name.
Add a function to determine the size of a machine description.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.9 23-May-2015 jsg

fix a memory leak in an error path


Revision tags: OPENBSD_5_7_BASE
# 1.8 09-Feb-2015 jsg

fix fd leaks in error paths
ok kettenis@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.7 26-Nov-2012 kettenis

Regeerate Hypervisor MD from scratch instead of modifying the existing one.


# 1.6 25-Nov-2012 kettenis

spacing


# 1.5 24-Nov-2012 kettenis

Export a few more prototypes. Make md_get_prop_val set the returned value
to -1 if the requested property isn't present.


# 1.4 27-Oct-2012 kettenis

Doesn't need <assert.h> anymore.


# 1.3 25-Oct-2012 kettenis

Some more machine description manipulation stuff.


# 1.2 21-Oct-2012 kettenis

Split out some general-purpose functions and macros into their own file.


# 1.1 15-Oct-2012 kettenis

Specify domains by name instead of by number.
Provide status of all domains if none specified.


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.9 23-May-2015 jsg

fix a memory leak in an error path


Revision tags: OPENBSD_5_7_BASE
# 1.8 09-Feb-2015 jsg

fix fd leaks in error paths
ok kettenis@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.7 26-Nov-2012 kettenis

Regeerate Hypervisor MD from scratch instead of modifying the existing one.


# 1.6 25-Nov-2012 kettenis

spacing


# 1.5 24-Nov-2012 kettenis

Export a few more prototypes. Make md_get_prop_val set the returned value
to -1 if the requested property isn't present.


# 1.4 27-Oct-2012 kettenis

Doesn't need <assert.h> anymore.


# 1.3 25-Oct-2012 kettenis

Some more machine description manipulation stuff.


# 1.2 21-Oct-2012 kettenis

Split out some general-purpose functions and macros into their own file.


# 1.1 15-Oct-2012 kettenis

Specify domains by name instead of by number.
Provide status of all domains if none specified.