virtio: balloon: let host know of updated balloon size before module removal
authorAmit Shah <amit.shah@redhat.com>
Thu, 26 Apr 2012 19:15:56 +0000 (00:45 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 17 May 2012 09:14:34 +0000 (12:14 +0300)
When the balloon module is removed, we deflate the balloon, reclaiming
all the pages that were given to the host.  However, we don't update the
config values for the new balloon size, resulting in the host showing
outdated balloon values.

The size update is done after each leak and fill operation, only the
module removal case was left out.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


No differences found