mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #354] [MERGED] Overhaul: QemuCPU #412
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#412
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/354
Author: @Tinyblargon
Created: 8/13/2024
Status: ✅ Merged
Merged: 8/15/2024
Merged by: @Tinyblargon
Base:
master← Head:#318📝 Commits (10+)
82dd199refactor: move cores intoQemuCPU74ccaf9refactor: move numa toQemuCPU57bb9b0refactor: move Sockets toQemuCPUbc5510crefactor: move vCPU toQemuCPUa24ba9atest: baseQemuCPU5abb198refactor: doesn't have to be pointer87206c6feat: max version to use during tests8e6e018feat: reimplement cpu typed75c74efeat:CpuUnits000d0d7feat:QemuCPU.Affinity📊 Changes
14 files changed (+2057 additions, -77 deletions)
View changed files
📝
.github/workflows/go.yml(+3 -3)📝
cli/command/create/guest/create-guest.go(+23 -6)📝
go.mod(+1 -1)📝
internal/util/util.go(+1 -0)📝
proxmox/client.go(+19 -0)📝
proxmox/client_test.go(+32 -0)📝
proxmox/config_qemu.go(+20 -49)➕
proxmox/config_qemu_cpu.go(+754 -0)➕
proxmox/config_qemu_cpu_test.go(+455 -0)📝
proxmox/config_qemu_test.go(+545 -0)➕
proxmox/type_tribool.go(+64 -0)➕
proxmox/type_tribool_test.go(+118 -0)📝
test/api/CloudInit/shared_test.go(+11 -9)📝
test/api/Qemu/shared_test.go(+11 -9)📄 Description
re-implements all qemu cpu options and supports all pve8.2 cpu options.
100% test coverage.
closes #318
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.