History log of /openbsd-current/usr.sbin/ldomctl/ldom.conf.5
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.18 06-Oct-2022 kn

accept iodevices as NACs as well

Assignable PCIe devices have a root complex path and a more descriptive
I/O slot path; example output from a T4-2:

# ldomctl list-io | head -n2
PATH NAME
/@400/@2/@0/@8 /SYS/MB/PCIE0

ldom.conf(5) `iodevice' currently accepts PATH values, which are cryptic and
completely hardware specific, whereas NAME values are obvious (partially
same across machines) and match physical slot labels ("0 PCIe2 x8") besides
information from ILOM:
/System/PCI_Devices/Add-on/Device_0 location = PCIE0 (PCIe Slot 0).

Make ldom.conf `iodevice' accept either value; internally nothing changes.

Rename struct iodev's path member to dev to clarify this further.

OK kettenis


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.17 31-Mar-2022 naddy

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@


# 1.16 17-Nov-2021 kn

Clarify BUGS wrt. reserving memory for the hypervisor

The previous wording might be understood as "leave memory unused in the
primary domain", which is precisely what causes the hypervisor to reject
the configuration since ldomctl(8) would implicitly allocate all remaining
memory for the primary domain.

Make sure that primary domain memory should be assigned explicitly so the
total amount of allocated memory is less than physically available, i.e.
the hypervisor will have even more memory available and configurations can
boot again.

OK stsp


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.15 06-Nov-2020 kn

Explain vcpu strides, provide example

Quite a few users and developers (including me) were confused by how
virtual CPU strides would work.

Initial diff together with stsp, final feedback from kettenis


Revision tags: OPENBSD_6_8_BASE
# 1.14 14-Sep-2020 kn

Briefly document default boot disk behaviour


Revision tags: OPENBSD_6_7_BASE
# 1.13 21-Feb-2020 kn

Support devaliases for vnet

vnet devalias=netboot

Creates a device alias to be used in OBP:

{ok} boot netboot

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.17 31-Mar-2022 naddy

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@


# 1.16 17-Nov-2021 kn

Clarify BUGS wrt. reserving memory for the hypervisor

The previous wording might be understood as "leave memory unused in the
primary domain", which is precisely what causes the hypervisor to reject
the configuration since ldomctl(8) would implicitly allocate all remaining
memory for the primary domain.

Make sure that primary domain memory should be assigned explicitly so the
total amount of allocated memory is less than physically available, i.e.
the hypervisor will have even more memory available and configurations can
boot again.

OK stsp


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.15 06-Nov-2020 kn

Explain vcpu strides, provide example

Quite a few users and developers (including me) were confused by how
virtual CPU strides would work.

Initial diff together with stsp, final feedback from kettenis


Revision tags: OPENBSD_6_8_BASE
# 1.14 14-Sep-2020 kn

Briefly document default boot disk behaviour


Revision tags: OPENBSD_6_7_BASE
# 1.13 21-Feb-2020 kn

Support devaliases for vnet

vnet devalias=netboot

Creates a device alias to be used in OBP:

{ok} boot netboot

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.16 17-Nov-2021 kn

Clarify BUGS wrt. reserving memory for the hypervisor

The previous wording might be understood as "leave memory unused in the
primary domain", which is precisely what causes the hypervisor to reject
the configuration since ldomctl(8) would implicitly allocate all remaining
memory for the primary domain.

Make sure that primary domain memory should be assigned explicitly so the
total amount of allocated memory is less than physically available, i.e.
the hypervisor will have even more memory available and configurations can
boot again.

OK stsp


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.15 06-Nov-2020 kn

Explain vcpu strides, provide example

Quite a few users and developers (including me) were confused by how
virtual CPU strides would work.

Initial diff together with stsp, final feedback from kettenis


Revision tags: OPENBSD_6_8_BASE
# 1.14 14-Sep-2020 kn

Briefly document default boot disk behaviour


Revision tags: OPENBSD_6_7_BASE
# 1.13 21-Feb-2020 kn

Support devaliases for vnet

vnet devalias=netboot

Creates a device alias to be used in OBP:

{ok} boot netboot

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.15 06-Nov-2020 kn

Explain vcpu strides, provide example

Quite a few users and developers (including me) were confused by how
virtual CPU strides would work.

Initial diff together with stsp, final feedback from kettenis


Revision tags: OPENBSD_6_8_BASE
# 1.14 14-Sep-2020 kn

Briefly document default boot disk behaviour


Revision tags: OPENBSD_6_7_BASE
# 1.13 21-Feb-2020 kn

Support devaliases for vnet

vnet devalias=netboot

Creates a device alias to be used in OBP:

{ok} boot netboot

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.14 14-Sep-2020 kn

Briefly document default boot disk behaviour


Revision tags: OPENBSD_6_7_BASE
# 1.13 21-Feb-2020 kn

Support devaliases for vnet

vnet devalias=netboot

Creates a device alias to be used in OBP:

{ok} boot netboot

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.13 21-Feb-2020 kn

Support devaliases for vnet

vnet devalias=netboot

Creates a device alias to be used in OBP:

{ok} boot netboot

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.12 20-Feb-2020 kn

Support devaliases for vdisk

vdisk "/var/ldom/miniroot.fs" devalias=miniroot

Creates a device alias to be used in OBP:

{ok} devlias
miniroot /virutal-devices@100/...

This helps navigating inside guests without remembering
device paths or rather their order as specified in the config.

OK kettenis


# 1.11 20-Feb-2020 kn

vnet does not take curly braces

The manual lies and all options ought to be provided space
separated, on the same line as the vnet keyword.

OK kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.10 13-Jan-2020 kn

Add BUGS section for hypervisor memory requirement

The hypervisor transparently allocates memory it needs, but the specific
amount is machine dependent and not always documented or known.

Mention these details to prevent users from overcommitting memroy in their
configuration.


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.9 03-Dec-2019 kn

"variable name=value" can be used multiple times


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.8 30-Nov-2019 kn

Add create-vdisk command

Analogue to amd64's vmctl create, this command creates sparse disk image
files of the given size.

This is less error prone than creating full files with dd(1), but comes
with other caveats - still, it is worth having around.

Further refinements yet to come; vmctl and ldomctl should also behave more
alike in the future, as briefly discussed with kettenis and deraadt.


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.7 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.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis


# 1.6 05-Aug-2019 kettenis

Allow an optional stride in the vcpu specification. This makes it possible
to allocate virtual CPUs but not assign them to domains. This way you
can give domains exclusive access to a core without assigning all threads
of that core to the domain.


# 1.5 28-Jul-2019 schwarze

minor markup polishing and typo fixes; OK kn@


# 1.4 28-Jul-2019 kettenis

Document the iodevice keyword.


# 1.3 28-Jul-2019 kn

Add missing article, use Dq not literal "


# 1.2 28-Jul-2019 kn

Use imperative present tense consistently


# 1.1 28-Jul-2019 kn

Move ldom.conf.5 to ldomctl

ldomctl(8)/ldomd(8) differs from the usual control/daemon setup since
ldom.conf(5) is never read by the daemon itself but the control program
only, so put it where it belongs.

While here, mention eeprom(8) for a list of OpenPROM variables.

Move prompted by kettenis
Positive feedback deraadt, "go ahead" kettenis