From nobody Wed May 22 00:27:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1618305098; cv=none; d=zohomail.com; s=zohoarc; b=PPN8QxeLEJl1HG9L2nGHWxvXeuYgV5LsW8h29J+UtOmXXNCEK9/H5ya79wvy3Bqyhr2CxXgA4/HBBhtKllM72zUcCks73peGHx/QZfjzE4l3VAi7UwBrI482wW56sJDFZb5ELdZKp091Tz2Zfobyn+AfZiuN/TDq2ra4e7Y3YHE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618305098; 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=E735+aDaZ2s3rthRjZieuk/eCyLUPehb1ITKciuaZTc=; b=ITnmpYWHbmOUfTPFHuKNyYx8WXtykzzUjrfrPwkC7Xz5OKPOjmY1eumn63DTsMwzqa5kHgFKKuipZygKnfRBkhML2lWuQJ8KgvHn1F47EhizIipP/3JtunVdN3LDWZvf9mMqOMbGTFxEuxanAYpYBVNWTeiESAz0t4tVE28hu2c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1618305098068805.5037161461687; Tue, 13 Apr 2021 02:11:38 -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-362-MhF2lBwuMR2qjxYflQovxQ-1; Tue, 13 Apr 2021 05:11:34 -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 2A2F8107ACE3; Tue, 13 Apr 2021 09:11:28 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 561335D9DE; Tue, 13 Apr 2021 09:11:25 +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 238661806D16; Tue, 13 Apr 2021 09:11:19 +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 13D9AMqE006853 for ; Tue, 13 Apr 2021 05:10:22 -0400 Received: by smtp.corp.redhat.com (Postfix) id D986717D43; Tue, 13 Apr 2021 09:10:22 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.195.130]) by smtp.corp.redhat.com (Postfix) with ESMTP id 511E35D9DE for ; Tue, 13 Apr 2021 09:10:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618305096; 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=E735+aDaZ2s3rthRjZieuk/eCyLUPehb1ITKciuaZTc=; b=hB963w7cvSDl1+MTx8t1xvFsLcZOf4xpCl19W8i23o6OG+tK847Sr/1Owh1ViivnRQ5zmg itbgcDfO77CqQRBwd4Ou3Tb7hdAwCax2UvcOql6USULSr2eMRy4PIPMP+Fdodzx7R/NrEV Ivkzixz71MpD9vxnbv2oi+Mb5/gqY4k= X-MC-Unique: MhF2lBwuMR2qjxYflQovxQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH] qemu_conf: properly set 'deprecation_behavior' default value Date: Tue, 13 Apr 2021 11:10:18 +0200 Message-Id: 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.14 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) Content-Type: text/plain; charset="utf-8" The comment for that option states that the default value is 'none' but it was not set by the code. Fixes: 700450449377be4bf923e91d00f8fe8cf0975f66 Signed-off-by: Pavel Hrdina Reviewed-by: Michal Privoznik --- src/qemu/qemu_conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index 77fd7f6df7..68b086be54 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -295,6 +295,8 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool priv= ileged, &cfg->nfirmwares) < 0) return NULL; =20 + cfg->deprecationBehavior =3D g_strdup("none"); + return g_steal_pointer(&cfg); } =20 --=20 2.30.2