Re: [PATCH v16.1 6/9] virtio-balloon: Add support for providing free page reports to host

From: David Hildenbrand
Date: Tue Feb 11 2020 - 10:14:11 EST


>> AFAIKs, the guest could inflate/deflate (esp. temporarily) and
>> communicate via "actual" the actual balloon size as he sees it.
>
> OK so you want hinted but unused pages counted, and reported
> in "actual"? That's a vmexit before each page use ...

No, not at all. I rather meant, that it is unclear how
inflation/deflation requests and "actual" *could* interact. Especially
if we would consider free page reporting as some way of inflation
(+immediate deflation) triggered by the guest. IMHO, we would not touch
"actual" in that case.

But as I said, I am totally fine with keeping it as is in this patch.
IOW not glue free page reporting to inflation/deflation but let it act
like something different with its own semantics (and document these
properly).

--
Thanks,

David / dhildenb