Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postcopy: Synchronize usage of the balloon inhibitor
While the qemu_balloon_inhibit() interface appears rather general purpose, postcopy uses it in a last-caller-wins approach with no guarantee of balanced inhibits and de-inhibits. Wrap postcopy's usage of the inhibitor to give it one vote overall, using the same last-caller-wins approach as previously implemented at the balloon level. Fixes: 01ccbec ("balloon: Allow multiple inhibit users") Reported-by: Christian Borntraeger <[email protected]> Tested-by: Christian Borntraeger <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
- Loading branch information