QMP: allow JSON dict arguments in qmp-shell
qmp-shell hides the QMP wire protocol JSON encoding from the user. Mostof the time this is helpful and makes the command-line human-friendly.
Some QMP commands take a dict as an argument. In order to express this...
Use error_is_set() only when necessary
error_is_set(&var) is the same as var != NULL, but it takeswhole-program analysis to figure that out. Unnecessarily hard foroptimizers, static checkers, and human readers. Dumb it down toobvious.
Gets rid of several dozen Coverity false positives....
qmp: expose list of supported character device backends
Introduce 'query-chardev-backends' QMP command which lists allsupported character device backends.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>Reviewed-by: Eric Blake <eblake@redhat.com>...
monitor: Add device_del id argument completion.
Signed-off-by: Hani Benhabiles <hani@linux.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor: Add device_add device argument completion.
monitor: Add object_del id argument completion.
monitor: Add object_add class argument completion.
hmp: migrate command (without -d) now blocks correctly
This patch fixes a timing issue that migrate command (without -d) does notblock in some cases.
The original version of hmp.c:hmp_migrate_status_cb checks if themigration status is 'active' or not to detect the completion of a migration....
PPC: KVM: Add missing address space to ldl_phys helper
We now have to pass an address space to our _phys helpers. During thetransition apparently the EPR exit path missed out, so let's put it there.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
acpi,pc,pci fixes and enhancements
Most changes here are hotplug related:
This merges hotplug infrastructure changes by Igor,some acpi related fixes, and PC fixes.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>...
View all revisions | View revisions
Also available in: Atom