diff options
| author | Jeff Carr <[email protected]> | 2024-10-22 04:18:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-22 04:18:40 -0500 |
| commit | e256f02cf8caf7459269ebdba90c43936feb60bd (patch) | |
| tree | 5572fc182d2a35d3a5dd9e23ebf6ea1acd61ff0e /helpers.go | |
| parent | 8cab0857fda04a5e9b06860aec15d05342b747f1 (diff) | |
this is weird
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'helpers.go')
| -rw-r--r-- | helpers.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers.go b/helpers.go new file mode 100644 index 0000000..81b5fb2 --- /dev/null +++ b/helpers.go @@ -0,0 +1,5 @@ +package virtbuf + +func (x *Hypervisor) SetMemory(gb int) { + x.Memory = int64(gb * 1024 * 1024 * 1024) +} |
