Discussion: CPU features #1149
Labels
community feedback
resource/qemu
Issue or PR related to Qemu resource
type/enhancement
An improvement of existing functionality
Currently the qemu resource of the provider has a lot of top level keys.
We are no where near all the features we want to support for this resource.
The problem is that some keys are already in use for other things.
For example the
cpu
key is used for setting the CPU type.This also means we have multiple CPU related keys.
All these keys aren't prefixed with
cpu_
making it unclear what they do.cpu
sockets
cores
vcpus
numa
This means that for
CPU limit
,CPU Affinity
,CPU units
andExtra CPU Flags
we would have to add more top level keys.Currently I have 2 proposals.
Proposal one
Deprecate all CPU related flags and introduce the following schema:
Proposal two
Deprecate all CPU related flags, repurpose the
cpu
key and introduce the following schema:This would force all CPU related information to be near one another.
I'm not sure how usable a nested schema like this would be for modules.
The text was updated successfully, but these errors were encountered: