From nobody Mon Feb 9 03:00:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1638543857; cv=none; d=zohomail.com; s=zohoarc; b=NaeRXmTpGQ8PVeAd/8Y82tKKFmNHrH+GFL7WXFInQx1gHpr0b5fWx3tz2OmivpuWhltvsgL5MneMTyha0JbwrtQF7L5Cgqz053Tk7X8+HN55juUl4JBHn/VUOqCkiS52gkgWjLIY2CGb9OMG0qPv9WHAj2PGSz9wmF4oiGndRmM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638543857; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=f61Yk9MzwG3PvCPpTkV/dApKojj0qWy7GPI9c4mYh2w=; b=HBoN2RRpajI4KTyTjL4hhb+nHY/3NTTT0PK7/U11l12gv7usBnW0GtBi5Fy3FQp9DJYnZVyaI3VhWfBJjlEzLtY8K66OGWay4zNVYhkSnUibM2KpLlrfIj6VTuYxBjLDITtowuLSIxumk4mHcmnLT0j93YbXcXNcj1Ea159Zcx4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1638543857151650.6108512527376; Fri, 3 Dec 2021 07:04:17 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-35-1rFlTPebOEGKNdCnOyXX2g-1; Fri, 03 Dec 2021 10:04:13 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 015CB5A08E; Fri, 3 Dec 2021 15:04:03 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CBDA35C3E0; Fri, 3 Dec 2021 15:04:02 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 912B84A7C8; Fri, 3 Dec 2021 15:04:02 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1B3F41md031176 for ; Fri, 3 Dec 2021 10:04:01 -0500 Received: by smtp.corp.redhat.com (Postfix) id 13B275DF4F; Fri, 3 Dec 2021 15:04:01 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5505A5DF21 for ; Fri, 3 Dec 2021 15:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638543856; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=f61Yk9MzwG3PvCPpTkV/dApKojj0qWy7GPI9c4mYh2w=; b=VI+gA/eeJQWxL4hN3K3Y+CTxwKBtW1WnbevsX8krm0BMO9y6vLV5/1uUwrTnpZciOgFmwC B7jU5SY8BOU7N5Y/owQNHBgtw8aHKndU1T26oM5XRin0rwuDv6lrkoTH6BtFJx1R+9UV/7 7yAbQhOdnh7Dtm4ig8ZL0Cf0IExhQ4k= X-MC-Unique: 1rFlTPebOEGKNdCnOyXX2g-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 10/17] include: virDomainMigrateFlags: Remove "block alignment" whitespace Date: Fri, 3 Dec 2021 16:01:49 +0100 Message-Id: <72c885eccb5b322c058c403b8cc6beb100697755.1638543496.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1638543858786100003 Content-Type: text/plain; charset="utf-8" Using whitespace to align the '=3D' and values doesn't make sense for the virDomainMigrateFlags enum as the visual block is interrupted by comments. Signed-off-by: Peter Krempa --- include/libvirt/libvirt-domain.h | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-dom= ain.h index 3a76aec90f..f81e96d374 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -710,7 +710,7 @@ typedef enum { * faster then it can be transferred. The domain can be manually paused * anytime during migration using virDomainSuspend. */ - VIR_MIGRATE_LIVE =3D (1 << 0), + VIR_MIGRATE_LIVE =3D (1 << 0), /* Tell the source libvirtd to connect directly to the destination hos= t. * Without this flag the client (e.g., virsh) connects to both hosts a= nd @@ -718,7 +718,7 @@ typedef enum { * libvirtd controls the migration by calling the destination daemon * directly. */ - VIR_MIGRATE_PEER2PEER =3D (1 << 1), + VIR_MIGRATE_PEER2PEER =3D (1 << 1), /* Tunnel migration data over libvirtd connection. Without this flag t= he * source hypervisor sends migration data directly to the destination @@ -728,25 +728,25 @@ typedef enum { * Note the less-common spelling that we're stuck with: * VIR_MIGRATE_TUNNELLED should be VIR_MIGRATE_TUNNELED. */ - VIR_MIGRATE_TUNNELLED =3D (1 << 2), + VIR_MIGRATE_TUNNELLED =3D (1 << 2), /* Define the domain as persistent on the destination host after succe= ssful * migration. If the domain was persistent on the source host and * VIR_MIGRATE_UNDEFINE_SOURCE is not used, it will end up persistent = on * both hosts. */ - VIR_MIGRATE_PERSIST_DEST =3D (1 << 3), + VIR_MIGRATE_PERSIST_DEST =3D (1 << 3), /* Undefine the domain on the source host once migration successfully * finishes. */ - VIR_MIGRATE_UNDEFINE_SOURCE =3D (1 << 4), + VIR_MIGRATE_UNDEFINE_SOURCE =3D (1 << 4), /* Leave the domain suspended on the destination host. virDomainResume= (on * the virDomainPtr returned by the migration API) has to be called * explicitly to resume domain's virtual CPUs. */ - VIR_MIGRATE_PAUSED =3D (1 << 5), + VIR_MIGRATE_PAUSED =3D (1 << 5), /* Migrate full disk images in addition to domain's memory. By default * only non-shared non-readonly disk images are transferred. The @@ -755,7 +755,7 @@ typedef enum { * * This flag and VIR_MIGRATE_NON_SHARED_INC are mutually exclusive. */ - VIR_MIGRATE_NON_SHARED_DISK =3D (1 << 6), + VIR_MIGRATE_NON_SHARED_DISK =3D (1 << 6), /* Migrate disk images in addition to domain's memory. This is similar= to * VIR_MIGRATE_NON_SHARED_DISK, but only the top level of each disk's @@ -765,7 +765,7 @@ typedef enum { * * This flag and VIR_MIGRATE_NON_SHARED_DISK are mutually exclusive. */ - VIR_MIGRATE_NON_SHARED_INC =3D (1 << 7), + VIR_MIGRATE_NON_SHARED_INC =3D (1 << 7), /* Protect against domain configuration changes during the migration * process. This flag is used automatically when both sides support it. @@ -782,7 +782,7 @@ typedef enum { * is unsafe unless the disk images are stored on coherent clustered * filesystem, such as GFS2 or GPFS. */ - VIR_MIGRATE_UNSAFE =3D (1 << 9), + VIR_MIGRATE_UNSAFE =3D (1 << 9), /* Migrate a domain definition without starting the domain on the * destination and without stopping it on the source host. Offline @@ -791,19 +791,19 @@ typedef enum { * Offline migration may not copy disk storage or any other file based * storage (such as UEFI variables). */ - VIR_MIGRATE_OFFLINE =3D (1 << 10), + VIR_MIGRATE_OFFLINE =3D (1 << 10), /* Compress migration data. The compression methods can be specified u= sing * VIR_MIGRATE_PARAM_COMPRESSION. A hypervisor default method will be = used * if this parameter is omitted. Individual compression methods can be * tuned via their specific VIR_MIGRATE_PARAM_COMPRESSION_* parameters. */ - VIR_MIGRATE_COMPRESSED =3D (1 << 11), + VIR_MIGRATE_COMPRESSED =3D (1 << 11), /* Cancel migration if a soft error (such as I/O error) happens during * migration. */ - VIR_MIGRATE_ABORT_ON_ERROR =3D (1 << 12), + VIR_MIGRATE_ABORT_ON_ERROR =3D (1 << 12), /* Enable algorithms that ensure a live migration will eventually conv= erge. * This usually means the domain will be slowed down to make sure it d= oes @@ -811,7 +811,7 @@ typedef enum { * memory to the destination host. VIR_MIGRATE_PARAM_AUTO_CONVERGE_* * parameters can be used to tune the algorithm. */ - VIR_MIGRATE_AUTO_CONVERGE =3D (1 << 13), + VIR_MIGRATE_AUTO_CONVERGE =3D (1 << 13), /* This flag can be used with RDMA migration (i.e., when * VIR_MIGRATE_PARAM_URI starts with "rdma://") to tell the hypervisor @@ -828,27 +828,27 @@ typedef enum { * domain and the host itself since the host's kernel may run out of * memory. */ - VIR_MIGRATE_RDMA_PIN_ALL =3D (1 << 14), + VIR_MIGRATE_RDMA_PIN_ALL =3D (1 << 14), /* Setting the VIR_MIGRATE_POSTCOPY flag tells libvirt to enable post-= copy * migration. However, the migration will start normally and * virDomainMigrateStartPostCopy needs to be called to switch it into = the * post-copy mode. See virDomainMigrateStartPostCopy for more details. */ - VIR_MIGRATE_POSTCOPY =3D (1 << 15), + VIR_MIGRATE_POSTCOPY =3D (1 << 15), /* Setting the VIR_MIGRATE_TLS flag will cause the migration to attempt * to use the TLS environment configured by the hypervisor in order to * perform the migration. If incorrectly configured on either source or * destination, the migration will fail. */ - VIR_MIGRATE_TLS =3D (1 << 16), + VIR_MIGRATE_TLS =3D (1 << 16), /* Send memory pages to the destination host through several network * connections. See VIR_MIGRATE_PARAM_PARALLEL_* parameters for * configuring the parallel migration. */ - VIR_MIGRATE_PARALLEL =3D (1 << 17), + VIR_MIGRATE_PARALLEL =3D (1 << 17), } virDomainMigrateFlags; --=20 2.31.1