Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions protect/control/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ message ZoneResourcesSpec {
uint32 max_cpus = 3;
uint32 min_cpus = 7;
uint32 target_cpus = 4;
VcpuAffinitiesSpecSet cpus_affinities_set = 8;
ZoneResourceAdjustmentPolicy adjustment_policy = 5;
}

Expand Down Expand Up @@ -588,6 +589,25 @@ message VcpuInfoSet {
repeated VcpuInfo vcpus = 2;
}

message AllVcpus {}

message VcpuIdSpecifier {
oneof index {
AllVcpus all_vcpus = 1;
uint32 value = 2;
}
}

message VcpuAffinitiesSpec {
VcpuIdSpecifier vcpu = 1;
repeated uint32 hard_affinity = 2;
repeated uint32 soft_affinity = 3;
}

message VcpuAffinitiesSpecSet {
repeated VcpuAffinitiesSpec entries = 1;
}

// Tar and directory formats are not launchable, and are intended for internal images.
enum OciImageFormat {
OCI_IMAGE_FORMAT_UNKNOWN = 0;
Expand Down
Loading