projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e425306
)
qapi: fix qmp_balloon() conversion
author
Luiz Capitulino
<lcapitulino@redhat.com>
Thu, 26 Apr 2012 20:15:02 +0000
(17:15 -0300)
committer
Luiz Capitulino
<lcapitulino@redhat.com>
Fri, 27 Apr 2012 14:44:50 +0000
(11:44 -0300)
Commit
d72f326431
forgot to convert a call from qerror_report() to
error_set(). Fix it.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
balloon.c
patch
|
blob
|
history
diff --git
a/balloon.c
b/balloon.c
index 0166744aa89ae67827e2ccf9579e3fb7ae8cf269..aa354f75546122df10b4a9cba27e5725d8099c35 100644
(file)
--- 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;
}