Skip to content

Commit

Permalink
Add more attributes to domain.devices.memballoon
Browse files Browse the repository at this point in the history
This commit adds the attributes `autodeflate` and `freePageReporting`
into the `domain.devices.memballoon` model.

Documentation:

    https://libvirt.org/formatdomain.html#memory-balloon-device
  • Loading branch information
diamondburned committed May 5, 2024
1 parent f6bc308 commit e0b1f93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generate-xml/domain.nix
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,11 @@ let
(subelem "backend" [ (subattr "model" typeString) ] (sub "source" typePath))
addresselem
])
(subelem "memballoon" [ (subattr "model" typeString) ] [ addresselem ])
(subelem "memballoon" [ (subattr "model" typeString) ] [
addresselem
(subattr "autodeflate" typeBoolYesNo)
(subattr "freePageReporting" typeBoolYesNo)
])
]
)
(sub "qemu-commandline" (elem "commandline"
Expand Down

0 comments on commit e0b1f93

Please sign in to comment.