mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #437] [MERGED] feat: type RawConfigQemu #470
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#470
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/437
Author: @Tinyblargon
Created: 7/13/2025
Status: ✅ Merged
Merged: 7/13/2025
Merged by: @Tinyblargon
Base:
master← Head:RawConfigQemu📝 Commits (2)
4d4c061feat:RawConfigQemutypea847ba5perf: reduce memory footprint of structs📊 Changes
15 files changed (+536 additions, -449 deletions)
View changed files
📝
proxmox/config_qemu.go(+180 -113)📝
proxmox/config_qemu_cloudinit.go(+21 -21)📝
proxmox/config_qemu_cpu.go(+23 -23)📝
proxmox/config_qemu_disk.go(+21 -17)📝
proxmox/config_qemu_disk_ide.go(+19 -19)📝
proxmox/config_qemu_disk_sata.go(+22 -22)📝
proxmox/config_qemu_disk_scsi.go(+76 -76)📝
proxmox/config_qemu_disk_virtio.go(+45 -45)📝
proxmox/config_qemu_guestagent.go(+20 -16)📝
proxmox/config_qemu_memory.go(+15 -15)📝
proxmox/config_qemu_network.go(+5 -5)📝
proxmox/config_qemu_pcie.go(+5 -5)📝
proxmox/config_qemu_serial.go(+8 -8)📝
proxmox/config_qemu_test.go(+71 -59)📝
proxmox/config_qemu_usb.go(+5 -5)📄 Description
Introduces the
RawConfigQemutype and uses the get/set pattern to return properties from theRawConfigQemujust like the newRawConfigLxcimplementation.Also changed the order of some structs to reduce padding bytes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.