Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-implement: Qemu Hotplug #377

Open
Tinyblargon opened this issue Nov 23, 2024 · 0 comments
Open

Re-implement: Qemu Hotplug #377

Tinyblargon opened this issue Nov 23, 2024 · 0 comments
Labels
good first issue Good for new contributors type/enhancement An improvement of existing functionality

Comments

@Tinyblargon
Copy link
Collaborator

Hotplug should use the following struct. When the value is nil we wont change the value in PVE, this means that for updates we need to know the current settings. Defaults to false when nil during creation.

type QemuHotplug struct {
	Disk    *bool `json:"disk,omitempty"`
	Network *bool `json:"network,omitempty"`
	USB     *bool `json:"usb,omitempty"`
	Memory  *bool `json:"memory,omitempty"`
	CPU     *bool `json:"cpu,omitempty"`
}
@Tinyblargon Tinyblargon added type/enhancement An improvement of existing functionality good first issue Good for new contributors labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for new contributors type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant