cli: Add --memballoon freePageReporting=

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-01-24 18:49:55 -05:00
parent 5c1ace02c9
commit 2862f1be98
4 changed files with 5 additions and 3 deletions

View File

@ -201,7 +201,7 @@
<model type="bochs"/>
</video>
<watchdog model="ib700" action="pause"/>
<memballoon model="virtio" autodeflate="on">
<memballoon model="virtio" autodeflate="on" freePageReporting="on">
<stats period="10"/>
</memballoon>
<rng model="virtio">
@ -445,7 +445,7 @@
<model type="bochs"/>
</video>
<watchdog model="ib700" action="pause"/>
<memballoon model="virtio" autodeflate="on">
<memballoon model="virtio" autodeflate="on" freePageReporting="on">
<stats period="10"/>
</memballoon>
<rng model="virtio">

View File

@ -543,7 +543,7 @@ memnode0.cellid=1,memnode0.mode=strict,memnode0.nodeset=2
--controller scsi,model=virtio-scsi
--graphics vnc
--filesystem /foo/source,/bar/target,fmode=0123,dmode=0345
--memballoon virtio,autodeflate=on,stats.period=10
--memballoon virtio,autodeflate=on,stats.period=10,freePageReporting=on
--watchdog ib700,action=pause
--tpm passthrough,model=tpm-crb,path=/dev/tpm0,backend.encryption.secret=11111111-2222-3333-4444-5555555555
--rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=udp,backend_mode=bind,backend_connect_host=foo,backend_connect_service=708,rate.bytes=1234,rate.period=1000,model=virtio

View File

@ -4038,6 +4038,7 @@ class ParserMemballoon(VirtCLIParser):
cls.add_arg("model", "model", ignore_default=True)
cls.add_arg("autodeflate", "autodeflate", is_onoff=True)
cls.add_arg("stats.period", "stats_period")
cls.add_arg("freePageReporting", "freePageReporting", is_onoff=True)
###################

View File

@ -15,6 +15,7 @@ class DeviceMemballoon(Device):
model = XMLProperty("./@model")
autodeflate = XMLProperty("./@autodeflate", is_onoff=True)
stats_period = XMLProperty("./stats/@period", is_int=True)
freePageReporting = XMLProperty("./@freePageReporting", is_onoff=True)
##################