aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorWei Wang <[email protected]>2019-01-07 15:01:05 +0800
committerMichael S. Tsirkin <[email protected]>2019-03-06 11:19:33 -0500
commit53e946cb347e8993cee1d091c97a38be73d34bdd (patch)
treeac1cc6a6413031afedf6d2c789c318fa6e001392 /lib/test_overflow.c
parentfd1068e1860e44aaaa337b516df4518d1ce98da1 (diff)
virtio-balloon: improve update_balloon_size_func
There is no need to update the balloon actual register when there is no ballooning request. This patch avoids update_balloon_size when diff is 0. Signed-off-by: Wei Wang <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Reviewed-by: Halil Pasic <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions