summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2012-04-27 00:45:56 +0530
committerMichael S. Tsirkin <mst@redhat.com>2012-05-17 12:14:34 +0300
commitb8ae0eb320b38415da94a41f75e9f99e0aaff06c (patch)
tree0e0d05059f13a1a67796c60274951bab2e0a0b2c /drivers/net/virtio_net.c
parentfa8b66ccd2d200b64496cfedcce90bf54fe7d6e9 (diff)
downloadlwn-b8ae0eb320b38415da94a41f75e9f99e0aaff06c.tar.gz
lwn-b8ae0eb320b38415da94a41f75e9f99e0aaff06c.zip
virtio: balloon: let host know of updated balloon size before module removal
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>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions