Skip to content

Commit

Permalink
libvirt: domain: fix cpuset types
Browse files Browse the repository at this point in the history
  • Loading branch information
j-brn committed Nov 19, 2023
1 parent 0226102 commit a9e4c0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/libvirtd/domain.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ let
vcpupinType = types.submodule {
options = {
vcpu = mkOption {
type = types.ints.positive;
type = types.number;
description = mdDoc ''
vcpu to pin
'';
};

cpuset = mkOption {
type = types.listOf types.ints.positive;
type = types.listOf types.number;
description = mdDoc ''
Comma separated list of cpus this vcpu can be pinned to.
'';
Expand All @@ -134,14 +134,14 @@ let
iothreadpinType = types.submodule {
options = {
iothread = mkOption {
type = types.ints.positive;
type = types.number;
description = mdDoc ''
iothread to pin
'';
};

cpuset = mkOption {
type = types.listOf types.ints.positive;
type = types.listOf types.number;
description = mdDoc ''
Comma separated list of cpus this iothread can be pinned to.
'';
Expand All @@ -152,7 +152,7 @@ let
emulatorpinType = types.submodule {
options = {
cpuset = mkOption {
type = types.listOf types.ints.positive;
type = types.listOf types.number;
description = mdDoc ''
Comma separated list of cpus the emulator can be pinned to.
'';
Expand Down

0 comments on commit a9e4c0d

Please sign in to comment.