From a5c093b432f5b195e2ceab61ee03e5e2f246c13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hyman=20Huang=28=E9=BB=84=E5=8B=87=29?= Date: Mon, 5 Dec 2022 06:23:29 -0500 Subject: [PATCH 1/7] qemu_capabilities: Fix incorrect alignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hyman Huang(黄勇) --- src/qemu/qemu_capabilities.c | 8 ++++---- src/qemu/qemu_capabilities.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 239c34393f..d78d8f1431 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -569,10 +569,10 @@ VIR_ENUM_IMPL(virQEMUCaps, "blockdev-reopen", "storage.werror", - "migration-param.bandwidth", - "migration-param.downtime", - "migration-param.xbzrle-cache-size", - + /* 360 */ + "migration-param.bandwidth", + "migration-param.downtime", + "migration-param.xbzrle-cache-size", "object.qapified", "vhost-user-blk", ); diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index a4e90d8dd5..165cacca3c 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -550,10 +550,10 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */ QEMU_CAPS_BLOCKDEV_REOPEN, /* 'blockdev-reopen' qmp command is supported */ QEMU_CAPS_STORAGE_WERROR, /* virtio-blk,scsi-hd.werror */ + /* 360 */ QEMU_CAPS_MIGRATION_PARAM_BANDWIDTH, /* max-bandwidth field in migrate-set-parameters */ QEMU_CAPS_MIGRATION_PARAM_DOWNTIME, /* downtime-limit field in migrate-set-parameters */ QEMU_CAPS_MIGRATION_PARAM_XBZRLE_CACHE_SIZE, /* xbzrle-cache-size field in migrate-set-parameters */ - QEMU_CAPS_OBJECT_QAPIFIED, /* parameters for object-add are formally described */ QEMU_CAPS_DEVICE_VHOST_USER_BLK, /* -device vhost-user-blk */ -- 2.27.0