public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* Binding resource pools to zones
       [not found] <87msm4v7l0.fsf.ref@yahoo.com>
@ 2024-07-26  9:14 ` Po Lu
  0 siblings, 0 replies; only message in thread
From: Po Lu @ 2024-07-26  9:14 UTC (permalink / raw)
  To: developer

Illumos has lost the capacity to bind resource pools to zones, whether
with `dedicated-cpu' or with expressly defined pools:

% zoneadm -z ksun boot
zone 'ksun': Could not bind zone to pool: System error
zone 'ksun': dedicated-cpu setting cannot be instantiated

% zoneadm -z ksun export
create -b
set zonepath=/rpool/zones/ksun
set brand=ipkg
set ip-type=exclusive
add net
set physical="vnic1"
end
add dedicated-cpu
set ncpus=32
end

The culprit appears to be:

  14407 unix, genunix partial warning cleanup

which introduces a `default' clause, so that pool_do_bind always returns
EINVAL when ioctl (..., POOL_BIND, ...) is issued specifying a zone with
running processes.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-26  9:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87msm4v7l0.fsf.ref@yahoo.com>
2024-07-26  9:14 ` Binding resource pools to zones Po Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).