[PR #437] [MERGED] feat: type RawConfigQemu #470

Closed
opened 2026-02-28 00:42:18 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: RawConfigQemu


📝 Commits (2)

  • 4d4c061 feat: RawConfigQemu type
  • a847ba5 perf: 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 RawConfigQemu type and uses the get/set pattern to return properties from the RawConfigQemu just like the new RawConfigLxc implementation.

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.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/437 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 7/13/2025 **Status:** ✅ Merged **Merged:** 7/13/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `RawConfigQemu` --- ### 📝 Commits (2) - [`4d4c061`](https://github.com/Telmate/proxmox-api-go/commit/4d4c0613d36468cb585fbd26aa844a1db01ba29e) feat: `RawConfigQemu` type - [`a847ba5`](https://github.com/Telmate/proxmox-api-go/commit/a847ba57ad88b4cc0c5ed8f6164228c797e73fb2) perf: reduce memory footprint of structs ### 📊 Changes **15 files changed** (+536 additions, -449 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Introduces the `RawConfigQemu` type and uses the get/set pattern to return properties from the `RawConfigQemu` just like the new `RawConfigLxc` implementation. Also changed the order of some structs to reduce padding bytes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#470
No description provided.