Fix up dangling references to qmp-commands.* in comment and doc

Fix up the reference to qmp-commands.hx in qmp.c.  Missed in commit
5032a16d1d.

Fix up the reference to qmp-commands.txt in
docs/xen-save-devices-state.txt.  Missed in commit 4d8bb958fa.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-29-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
master
Markus Armbruster 2018-02-11 10:36:06 +01:00 committed by Eric Blake
parent eb815e248f
commit 1ef1cee7db
2 changed files with 8 additions and 9 deletions

View File

@ -8,8 +8,7 @@ These operations are normally used with migration (see migration.txt),
however it is also possible to save the state of all devices to file, however it is also possible to save the state of all devices to file,
without saving the RAM or the block devices of the VM. without saving the RAM or the block devices of the VM.
This operation is called "xen-save-devices-state" (see The save operation is available as QMP command xen-save-devices-state.
qmp-commands.txt)
The binary format used in the file is the following: The binary format used in the file is the following:

14
qmp.c
View File

@ -147,13 +147,13 @@ VncInfo2List *qmp_query_vnc_servers(Error **errp)
#ifndef CONFIG_SPICE #ifndef CONFIG_SPICE
/* /*
* qmp-commands.hx ensures that QMP command query-spice exists only * qmp_unregister_commands_hack() ensures that QMP command query-spice
* #ifdef CONFIG_SPICE. Necessary for an accurate query-commands * exists only #ifdef CONFIG_SPICE. Necessary for an accurate
* result. However, the QAPI schema is blissfully unaware of that, * query-commands result. However, the QAPI schema is blissfully
* and the QAPI code generator happily generates a dead * unaware of that, and the QAPI code generator happily generates a
* qmp_marshal_query_spice() that calls qmp_query_spice(). Provide it * dead qmp_marshal_query_spice() that calls qmp_query_spice().
* one, or else linking fails. FIXME Educate the QAPI schema on * Provide it one, or else linking fails. FIXME Educate the QAPI
* CONFIG_SPICE. * schema on CONFIG_SPICE.
*/ */
SpiceInfo *qmp_query_spice(Error **errp) SpiceInfo *qmp_query_spice(Error **errp)
{ {