History log of /openbsd-current/usr.sbin/ldomctl/mdstore.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 01-Feb-2021 kettenis

The code in mdstore.c should stand on its own, so rename the global
variables used here instead of using the ones from config.c.

ok deraadt@, kn@


# 1.13 31-Jan-2021 deraadt

last pieces of satisfying -fno-common


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.12 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.11 07-Jul-2019 kettenis

Add support for version 3.0 of the "mdstore" protocol.


# 1.10 06-Jul-2019 kettenis

Make sure we use the svc_handle for the negotiated major version of the
"mdstore" service.


# 1.9 06-Jul-2019 kettenis

Pad message since newer firmware doesn't like it without padding.

Tested by kn@ and jan@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 15-Sep-2018 kettenis

Add support for version 2.0 of the mdstore protocol.


Revision tags: OPENBSD_5_7_BASE 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.7 13-Sep-2014 doug

Replace all queue *_END macro calls except CIRCLEQ_END with NULL.

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@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 24-Nov-2012 kettenis

Better error reporting.


# 1.5 24-Nov-2012 kettenis

Add code to create new system configuration. Work in progress, but there's
enough functionality to create a configuration for a t1k or t2k running
System Firmware 6.7.x.


# 1.4 05-Nov-2012 kettenis

Better code to download configurations onto the SP.


# 1.3 04-Nov-2012 kettenis

A bit more SP configuration code.


# 1.2 04-Nov-2012 kettenis

Add support for selecting a configuration stored on the SP.


# 1.1 04-Nov-2012 kettenis

Support for listing configurations store on the SP.


# 1.13 31-Jan-2021 deraadt

last pieces of satisfying -fno-common


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.12 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.11 07-Jul-2019 kettenis

Add support for version 3.0 of the "mdstore" protocol.


# 1.10 06-Jul-2019 kettenis

Make sure we use the svc_handle for the negotiated major version of the
"mdstore" service.


# 1.9 06-Jul-2019 kettenis

Pad message since newer firmware doesn't like it without padding.

Tested by kn@ and jan@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 15-Sep-2018 kettenis

Add support for version 2.0 of the mdstore protocol.


Revision tags: OPENBSD_5_7_BASE 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.7 13-Sep-2014 doug

Replace all queue *_END macro calls except CIRCLEQ_END with NULL.

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@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 24-Nov-2012 kettenis

Better error reporting.


# 1.5 24-Nov-2012 kettenis

Add code to create new system configuration. Work in progress, but there's
enough functionality to create a configuration for a t1k or t2k running
System Firmware 6.7.x.


# 1.4 05-Nov-2012 kettenis

Better code to download configurations onto the SP.


# 1.3 04-Nov-2012 kettenis

A bit more SP configuration code.


# 1.2 04-Nov-2012 kettenis

Add support for selecting a configuration stored on the SP.


# 1.1 04-Nov-2012 kettenis

Support for listing configurations store on the SP.


# 1.12 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.11 07-Jul-2019 kettenis

Add support for version 3.0 of the "mdstore" protocol.


# 1.10 06-Jul-2019 kettenis

Make sure we use the svc_handle for the negotiated major version of the
"mdstore" service.


# 1.9 06-Jul-2019 kettenis

Pad message since newer firmware doesn't like it without padding.

Tested by kn@ and jan@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 15-Sep-2018 kettenis

Add support for version 2.0 of the mdstore protocol.


Revision tags: OPENBSD_5_7_BASE 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.7 13-Sep-2014 doug

Replace all queue *_END macro calls except CIRCLEQ_END with NULL.

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@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 24-Nov-2012 kettenis

Better error reporting.


# 1.5 24-Nov-2012 kettenis

Add code to create new system configuration. Work in progress, but there's
enough functionality to create a configuration for a t1k or t2k running
System Firmware 6.7.x.


# 1.4 05-Nov-2012 kettenis

Better code to download configurations onto the SP.


# 1.3 04-Nov-2012 kettenis

A bit more SP configuration code.


# 1.2 04-Nov-2012 kettenis

Add support for selecting a configuration stored on the SP.


# 1.1 04-Nov-2012 kettenis

Support for listing configurations store on the SP.


# 1.11 07-Jul-2019 kettenis

Add support for version 3.0 of the "mdstore" protocol.


# 1.10 06-Jul-2019 kettenis

Make sure we use the svc_handle for the negotiated major version of the
"mdstore" service.


# 1.9 06-Jul-2019 kettenis

Pad message since newer firmware doesn't like it without padding.

Tested by kn@ and jan@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.8 15-Sep-2018 kettenis

Add support for version 2.0 of the mdstore protocol.


Revision tags: OPENBSD_5_7_BASE 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.7 13-Sep-2014 doug

Replace all queue *_END macro calls except CIRCLEQ_END with NULL.

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@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 24-Nov-2012 kettenis

Better error reporting.


# 1.5 24-Nov-2012 kettenis

Add code to create new system configuration. Work in progress, but there's
enough functionality to create a configuration for a t1k or t2k running
System Firmware 6.7.x.


# 1.4 05-Nov-2012 kettenis

Better code to download configurations onto the SP.


# 1.3 04-Nov-2012 kettenis

A bit more SP configuration code.


# 1.2 04-Nov-2012 kettenis

Add support for selecting a configuration stored on the SP.


# 1.1 04-Nov-2012 kettenis

Support for listing configurations store on the SP.


# 1.8 15-Sep-2018 kettenis

Add support for version 2.0 of the mdstore protocol.


Revision tags: OPENBSD_5_7_BASE 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.7 13-Sep-2014 doug

Replace all queue *_END macro calls except CIRCLEQ_END with NULL.

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@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 24-Nov-2012 kettenis

Better error reporting.


# 1.5 24-Nov-2012 kettenis

Add code to create new system configuration. Work in progress, but there's
enough functionality to create a configuration for a t1k or t2k running
System Firmware 6.7.x.


# 1.4 05-Nov-2012 kettenis

Better code to download configurations onto the SP.


# 1.3 04-Nov-2012 kettenis

A bit more SP configuration code.


# 1.2 04-Nov-2012 kettenis

Add support for selecting a configuration stored on the SP.


# 1.1 04-Nov-2012 kettenis

Support for listing configurations store on the SP.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.7 13-Sep-2014 doug

Replace all queue *_END macro calls except CIRCLEQ_END with NULL.

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@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.6 24-Nov-2012 kettenis

Better error reporting.


# 1.5 24-Nov-2012 kettenis

Add code to create new system configuration. Work in progress, but there's
enough functionality to create a configuration for a t1k or t2k running
System Firmware 6.7.x.


# 1.4 05-Nov-2012 kettenis

Better code to download configurations onto the SP.


# 1.3 04-Nov-2012 kettenis

A bit more SP configuration code.


# 1.2 04-Nov-2012 kettenis

Add support for selecting a configuration stored on the SP.


# 1.1 04-Nov-2012 kettenis

Support for listing configurations store on the SP.