]> git.proxmox.com Git - qemu.git/commit
balloon: Reject negative balloon values
authorAmit Shah <amit.shah@redhat.com>
Wed, 27 Jul 2011 11:20:54 +0000 (16:50 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 28 Jul 2011 09:40:27 +0000 (15:10 +0530)
commit9843621e3b03d36aa64d57abedc6d03bde464dd3
tree2e25ab20a4ff30f4919a0cee914545e204e6ac7e
parentab640dbfc04651ede92495a4067c826db068c1a7
balloon: Reject negative balloon values

Negative balloon values don't make sense, reject them and throw a qerror
with QERR_INVALID_PARAMETER_VALUE.

Reported-by: Mike Cao <bcao@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
balloon.c