From nobody Thu May 2 01:21:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1591402475; cv=none; d=zohomail.com; s=zohoarc; b=LpGJe0oue1BRFM9jAzLKjSR/n4Fg0qxbkCCWosPyUYDgfmZ/+5Ti9DsJ8sMInF4N5NsSMugwTvL7qN5D6rtC+JGJfVW+9n1wvgu40Y792uPKDw54KI4R4qxKCv9dhbBTsJL+KC/vdc220tIzYwQ3tF22bKVCXbhP1XPs2fNgfKA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591402475; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=PECUfPnAvV3PMKomwt5PbTTn6QMgoJFaL9LgrI1BZqc=; b=QMhWX7cQcy6yCgiabTeKeadaqhWZTLUQYX6X9Jnwodl65HG73I0qXQLb4zQEezXmpbeqGlXhARsZDBq3Ohu1fvsOjfmsAup/QQOE/DGpk7QKNNDuthLWAX6DDhxilM3OJSlhg8K86yP71jf1abAtShhXjnaFUOInfaPiwIxszYc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1591402475487868.7319791943191; Fri, 5 Jun 2020 17:14:35 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-152-zFrjm2H6NxWonM1GohJC0A-1; Fri, 05 Jun 2020 20:14:29 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CF152106B255; Sat, 6 Jun 2020 00:14:24 +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 AA5E95D9EF; Sat, 6 Jun 2020 00:14:24 +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 7BD9010481F; Sat, 6 Jun 2020 00:14:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 054AICtB021863 for ; Thu, 4 Jun 2020 06:18:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7F7DB5C5D9; Thu, 4 Jun 2020 10:18:12 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 810145C28E; Thu, 4 Jun 2020 10:18:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591402474; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=PECUfPnAvV3PMKomwt5PbTTn6QMgoJFaL9LgrI1BZqc=; b=OqPFX832RcThA4gdh2J8uCPJyyeY3c5ak7W+0LITH42fiirguWCqcdG4Xp4pMEw1Vr8+xK Q5ehSGhvMyKWJrP7lPV92jDsPr21xTXgfgBdvXxY8d9XwwGY19/pzp4hmiL1bIxRcimeMI Kqkgyk31si75y/i0R50o994ayUv4uOI= X-MC-Unique: zFrjm2H6NxWonM1GohJC0A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] conf: fix alignment in virObjectEvent to be 8 not 4 bytes Date: Thu, 4 Jun 2020 11:18:05 +0100 Message-Id: <20200604101805.3205990-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The previous fix accidentally picked up a debug change that put alignment back at 4, not 8, bytes as it claimed: commit 37ae0426420a2f682cc96ee457a8cae9c0db27d3 Author: Daniel P. Berrang=C3=A9 Date: Wed Jun 3 11:18:23 2020 +0100 conf: force 8 byte alignment for virObjectEvent Signed-off-by: Daniel P. Berrang=C3=A9 --- Pushed under the face-palm build breaker fix rule src/conf/object_event_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/object_event_private.h b/src/conf/object_event_privat= e.h index 126464a9a5..80af043b9b 100644 --- a/src/conf/object_event_private.h +++ b/src/conf/object_event_private.h @@ -42,7 +42,7 @@ typedef void virConnectObjectEventGenericCallback cb, void *cbopaque); =20 -struct __attribute__((aligned(4))) _virObjectEvent { +struct __attribute__((aligned(8))) _virObjectEvent { virObject parent; int eventID; virObjectMeta meta; --=20 2.26.2