From nobody Sun Feb 8 20:13:33 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1633504684; cv=none; d=zohomail.com; s=zohoarc; b=D0Kq0FoAA1dA8GhW3Y9WCmcNH/jlX3BKmNC/tukXe5J7zJb9fDveaBp+BBqu9ryliZ0hQZ3gDrlMKPeptm5iV+rGqd+vp71C8aj0wIreAVhhRAyR/FdIRpy2+OWO/MdU723Q7iWlVb/Im+731YgvSHqGyh3bX5zhaHMCMo0E8iI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633504684; 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=fOG98/l0iIuqiJc5TC5nJPjf+lDtEOJAwDPeUbg9A+Y=; b=Uf05ZpReNh/hqFATDYuYHE8KDzV7WHjvwZtzG5E3zyhAPsk0vTfnWHMNhhNuz3gF2maxTOQ2xm2A+0X3/KKjIqAhEckQN765ThaOsYc4N9MPY46QqZzsfRU2wYa131xORz6aCLKV4OsL3xsfvyBTHuKMe9XZ+NgUCcBb7z66VKg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1633504684160772.1193573747586; Wed, 6 Oct 2021 00:18:04 -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-341-e6gxVd9DP-i590LPQWoZhQ-1; Wed, 06 Oct 2021 03:18:01 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 87E081054F92; Wed, 6 Oct 2021 07:17:56 +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 66B0060C05; Wed, 6 Oct 2021 07:17:56 +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 339BF4EA37; Wed, 6 Oct 2021 07:17:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1967Fk6d007488 for ; Wed, 6 Oct 2021 03:15:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id EEBCF60853; Wed, 6 Oct 2021 07:15:46 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.43.2.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7479D60622 for ; Wed, 6 Oct 2021 07:15:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633504683; 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=fOG98/l0iIuqiJc5TC5nJPjf+lDtEOJAwDPeUbg9A+Y=; b=NI7Cyop6f3C59MAGl7TsLivYmhUL2LfVQitlf6llWpZqKC1Dg/2V7Uno/9yrp9tmecrdRs IuQkEFP0RUJXkx3VFKKvUEd+NC/mbt0Xv1wiayutTphdwEUZcxYkA7F5Krn62WgPzzqT6X LNMgslT/lmNT6FS4b+ReMVk5Sm2FYaI= X-MC-Unique: e6gxVd9DP-i590LPQWoZhQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 09/16] qemu: remove private data from virDomainFSDef Date: Wed, 6 Oct 2021 09:15:15 +0200 Message-Id: <21a0545c232c21daed4d0e9c4264109bdaf80aba.1633504466.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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.12 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1633504685118100001 This reverts commit 801e6da29c0202946d44b42136cc4ee229932a29 They are not needed anymore. Signed-off-by: J=C3=A1n Tomko Reviewed-by: Peter Krempa --- src/qemu/qemu_domain.c | 41 ----------------------------------------- src/qemu/qemu_domain.h | 11 ----------- 2 files changed, 52 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 5f467760c3..c4c79d979a 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -983,46 +983,6 @@ qemuDomainNetworkPrivateDispose(void *obj G_GNUC_UNUSE= D) } =20 =20 -static virClass *qemuDomainFSPrivateClass; -static void qemuDomainFSPrivateDispose(void *obj); - - -static int -qemuDomainFSPrivateOnceInit(void) -{ - if (!VIR_CLASS_NEW(qemuDomainFSPrivate, virClassForObject())) - return -1; - - return 0; -} - - -VIR_ONCE_GLOBAL_INIT(qemuDomainFSPrivate); - - -static virObject * -qemuDomainFSPrivateNew(void) -{ - qemuDomainFSPrivate *priv; - - if (qemuDomainFSPrivateInitialize() < 0) - return NULL; - - if (!(priv =3D virObjectNew(qemuDomainFSPrivateClass))) - return NULL; - - return (virObject *) priv; -} - - -static void -qemuDomainFSPrivateDispose(void *obj) -{ - qemuDomainFSPrivate *priv =3D obj; - - g_free(priv->vhostuser_fs_sock); -} - static virClass *qemuDomainVideoPrivateClass; static void qemuDomainVideoPrivateDispose(void *obj); =20 @@ -3163,7 +3123,6 @@ virDomainXMLPrivateDataCallbacks virQEMUDriverPrivate= DataCallbacks =3D { .graphicsNew =3D qemuDomainGraphicsPrivateNew, .networkNew =3D qemuDomainNetworkPrivateNew, .videoNew =3D qemuDomainVideoPrivateNew, - .fsNew =3D qemuDomainFSPrivateNew, .parse =3D qemuDomainObjPrivateXMLParse, .format =3D qemuDomainObjPrivateXMLFormat, .getParseOpaque =3D qemuDomainObjPrivateXMLGetParseOpaque, diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index 59cb703c16..7e717cf2ad 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -392,17 +392,6 @@ struct _qemuDomainNetworkPrivate { }; =20 =20 -#define QEMU_DOMAIN_FS_PRIVATE(dev) \ - ((qemuDomainFSPrivate *) (dev)->privateData) - -typedef struct _qemuDomainFSPrivate qemuDomainFSPrivate; -struct _qemuDomainFSPrivate { - virObject parent; - - char *vhostuser_fs_sock; -}; - - typedef enum { QEMU_PROCESS_EVENT_WATCHDOG =3D 0, QEMU_PROCESS_EVENT_GUESTPANIC, --=20 2.31.1