summary refs log tree commit diff stats
path: root/hw/usb-net.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-07-27 16:50:54 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-04 16:43:09 -0500
commit514e73ecebc0aeadef218e91e36ee42b3d145c93 (patch)
treefb320a1db7f9e401e1832c5de193a99445aaf922 /hw/usb-net.c
parentf76f665547f4a954a2c83552a88816fc2a316be0 (diff)
downloadfocaccia-qemu-514e73ecebc0aeadef218e91e36ee42b3d145c93.tar.gz
focaccia-qemu-514e73ecebc0aeadef218e91e36ee42b3d145c93.zip
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>
Diffstat (limited to 'hw/usb-net.c')
0 files changed, 0 insertions, 0 deletions