diff options
author | Wenchao Xia <wenchaoqemu@gmail.com> | 2014-06-18 08:43:51 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-06-23 11:12:28 -0400 |
commit | aef9d3115fbaf2b1b904e333b46fe2b070fcbe96 (patch) | |
tree | 9bd4bd0179c4f542f1fe856553e279a9212e6b16 /balloon.c | |
parent | 5f41fbba903fc4e55b94c54cd97ea2d904371351 (diff) |
qapi event: convert BALLOON_CHANGE
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'balloon.c')
-rw-r--r-- | balloon.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -81,19 +81,6 @@ static int qemu_balloon_status(BalloonInfo *info) return 1; } -void qemu_balloon_changed(int64_t actual) -{ - QObject *data; - - data = qobject_from_jsonf("{ 'actual': %" PRId64 " }", - actual); - - monitor_protocol_event(QEVENT_BALLOON_CHANGE, data); - - qobject_decref(data); -} - - BalloonInfo *qmp_query_balloon(Error **errp) { BalloonInfo *info; |