Skip to content

Commit

Permalink
Merge pull request #105 from jqueuniet/fix_qemu_memory_field
Browse files Browse the repository at this point in the history
Fix qemu config memory field parsing
  • Loading branch information
luthermonson authored Nov 16, 2023
2 parents f6c641c + 705fbe3 commit 53eab9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ type VirtualMachineConfig struct {
Affinity string `json:"affinity,omitempty"`

// Qemu memory specs
Numa int `json:"numa,omitempty"`
Memory int `json:"memory,omitempty"`
Hugepages string `json:"hugepages,omitempty"`
Balloon int `json:"balloon,omitempty"`
Numa int `json:"numa,omitempty"`
Memory StringOrInt `json:"memory,omitempty"` // See commit 7f8c808772979f274cdfac1dc7264771a3b7a7ae on qemu-server
Hugepages string `json:"hugepages,omitempty"`
Balloon int `json:"balloon,omitempty"`

// Other Qemu devices
VGA string `json:"vga,omitempty"`
Expand Down

0 comments on commit 53eab9d

Please sign in to comment.