aboutsummaryrefslogtreecommitdiff
path: root/balloon.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-04-27 12:00:06 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-04-27 12:00:06 -0500
commita8b69b8e2431edfcb6c4cfb069787e9071d6235b (patch)
tree5f6467e5b76c456625ef7b15f44fb9ff81dff8d6 /balloon.c
parenta75bfc5fdda8b87ff969d68e020ffdf1008751b1 (diff)
parentb3c83a2265261594d0a24507a17ad2f5c83eea81 (diff)
downloadqemu-a8b69b8e2431edfcb6c4cfb069787e9071d6235b.zip
qemu-a8b69b8e2431edfcb6c4cfb069787e9071d6235b.tar.gz
qemu-a8b69b8e2431edfcb6c4cfb069787e9071d6235b.tar.bz2
Merge remote-tracking branch 'qmp/queue/qmp' into staging
* qmp/queue/qmp: qapi: fix qmp_balloon() conversion qemu-iotests: add block-stream speed value test case block: add 'speed' optional parameter to block-stream block: change block-job-set-speed argument from 'value' to 'speed' block: use Error mechanism instead of -errno for block_job_set_speed() block: use Error mechanism instead of -errno for block_job_create()
Diffstat (limited to 'balloon.c')
-rw-r--r--balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/balloon.c b/balloon.c
index 0166744..aa354f7 100644
--- a/balloon.c
+++ b/balloon.c
@@ -108,7 +108,7 @@ void qmp_balloon(int64_t value, Error **errp)
}
if (value <= 0) {
- qerror_report(QERR_INVALID_PARAMETER_VALUE, "target", "a size");
+ error_set(errp, QERR_INVALID_PARAMETER_VALUE, "target", "a size");
return;
}