qemu: caps: Deprecate QEMU_CAPS_BLOCKJOB_SYNC

Interestingly, none of the qemus we have caps for supported it ...

Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2017-09-13 15:42:22 +02:00
parent 771a38609d
commit 1666d10793
2 changed files with 1 additions and 2 deletions

View File

@ -1562,7 +1562,6 @@ struct virQEMUCapsStringFlags {
struct virQEMUCapsStringFlags virQEMUCapsCommands[] = {
{ "system_wakeup", QEMU_CAPS_WAKEUP },
{ "transaction", QEMU_CAPS_TRANSACTION },
{ "block_stream", QEMU_CAPS_BLOCKJOB_SYNC },
{ "block-stream", QEMU_CAPS_BLOCKJOB_ASYNC },
{ "dump-guest-memory", QEMU_CAPS_DUMP_GUEST_MEMORY },
{ "query-spice", QEMU_CAPS_SPICE },

View File

@ -174,7 +174,7 @@ typedef enum {
QEMU_CAPS_TRANSACTION, /* transaction monitor command */
/* 90 */
QEMU_CAPS_BLOCKJOB_SYNC, /* old block_job_cancel, block_stream */
X_QEMU_CAPS_BLOCKJOB_SYNC, /* old block_job_cancel, block_stream */
QEMU_CAPS_BLOCKJOB_ASYNC, /* new block-job-cancel, block-stream */
QEMU_CAPS_SCSI_CD, /* -device scsi-cd */
QEMU_CAPS_IDE_CD, /* -device ide-cd */