From nobody Sun Feb 8 18:57:34 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=1632497545; cv=none; d=zohomail.com; s=zohoarc; b=jJWmS41Pjpp2fkOzJRXk5ijhtF0/5/Dd7tsuJhxByqRLX4QPzdEbetG//1VAMOwUt1kzGAmx2zF59P5SHYAY60EMEB9ly8ZJ76/mmQEMFmzNBUkx9ZLmUfdHYrBR0cKykyOYobJse9A0jCdA68B37sDZs9FuuWneE5aupDudHLc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632497545; 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=RpzW1hZ2h5YNgkIM0IwBT2aIbx161HQbYOAYpMB2qlM=; b=W+yRApM1d52I53ARAklnk0J66IhbxRMOqTg3CcG1+6hpZHwXWXpooza62PofeCWtWljZXwUPhpBw4BjY4gCiMIIv0aXi5b3RNdN+7N1N3Sy9140yxUjoIuqzTZRxYgkbphcS/TR2g1sxR8LcCTfWTY3IChE0nhFc0ttGxKNOJYM= 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 1632497545983598.365391049517; Fri, 24 Sep 2021 08:32:25 -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-248-9DKtgtN9ODCC-1cZdTdBCw-1; Fri, 24 Sep 2021 11:31:04 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 821A11084689; Fri, 24 Sep 2021 15:30:55 +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 64EDC6091B; Fri, 24 Sep 2021 15:30:55 +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 0887C4EA3A; Fri, 24 Sep 2021 15:30:55 +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 18OFUgxY027718 for ; Fri, 24 Sep 2021 11:30:42 -0400 Received: by smtp.corp.redhat.com (Postfix) id DEA325DA61; Fri, 24 Sep 2021 15:30:42 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6879D5D9DD for ; Fri, 24 Sep 2021 15:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632497544; 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=RpzW1hZ2h5YNgkIM0IwBT2aIbx161HQbYOAYpMB2qlM=; b=GrRNA7Afz5cavc1pRpdqp0oVeOWoBweSEy6yLKHGRKq921h84+aJXn/KW8EfKIlHDZYTR0 b4YMVEevVbD+Acffn9sgNqpTBeM5nFX/S7kHVHqBfG7DlS5vVTPb5M/SsTiZWBwWKUp41i l79f6+UzA9iNCIED5UCOBPBmQkehtHQ= X-MC-Unique: 9DKtgtN9ODCC-1cZdTdBCw-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/4] qemu: assume QEMU_CAPS_FSDEV_CREATEMODE Date: Fri, 24 Sep 2021 17:30:25 +0200 Message-Id: <5e0ee1bca0a40d405c52919ff425a94d398de4b0.1632497399.git.jtomko@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.13 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: 1632497547151100001 Added by QEMU commit: b96feb2cb9 "9pfs: local: Add support for custom fmode/dmode in 9ps mapped security modes" in 2.10.0 Signed-off-by: J=C3=A1n Tomko --- src/qemu/qemu_validate.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index 7e4090181d..294cc24b36 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -4165,11 +4165,6 @@ qemuValidateDomainDeviceDefFS(virDomainFSDef *fs, } =20 if ((fs->fmode !=3D 0) || (fs->dmode !=3D 0)) { - if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_FSDEV_CREATEMODE)) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", - _("fmode and dmode are not supported with this QEM= U binary")); - return -1; - } if (fs->accessmode !=3D VIR_DOMAIN_FS_ACCESSMODE_MAPPED) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("fmode and dmode must be used with accessmode= =3Dmapped")); --=20 2.31.1