From nobody Sun Feb 8 20:53:41 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=1602252845; cv=none; d=zohomail.com; s=zohoarc; b=eP2EEABjvVJLwfAE9WZ4JkXYPy3YwNnXQh+zYa8YYhSv2ss5Q+PeRUHTmKV2ZV5HAvF9z+7x/05w0HrGv0xbTnj81aZ8wcHEtSB86GTA9q3RBDYlLEdqt0mp4iLHZTZpA6IctulfoW/A1LgBQklFd6FG4R67msUsdR4dPtiGpSM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602252845; h=Content-Type:Content-Transfer-Encoding:Cc: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=v73QGZvIp8VT6OfazuBxluiM0/vQLf5yuruiX/xoz04=; b=DxdxYBeVnH+7vXsiO4jeUoNvMweqGPBjJLoV5rnqYkg4znJpLwTaTsbiQEO40qwm6KVvirCvmWYkNZ+pYGyPYJAE+UMNxajOJdVRKODPrYXb0DCXp1rEsnLulCf2PTUOZfI3275vsJ9eR5kEdtpYs77XIF02EhD6tjXZYYEM6r4= 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) header.from= 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 1602252845031111.07919752311739; Fri, 9 Oct 2020 07:14:05 -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-563-CcWCLSi0NUa9VIdaUX2uow-1; Fri, 09 Oct 2020 10:13:58 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 113BF64145; Fri, 9 Oct 2020 14:13:52 +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 3DD5B75123; Fri, 9 Oct 2020 14:13:51 +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 745CC1832FC3; Fri, 9 Oct 2020 14:13:49 +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 099EDlxA010427 for ; Fri, 9 Oct 2020 10:13:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id 816D26EF70; Fri, 9 Oct 2020 14:13:47 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.192.118]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7D9546EF48; Fri, 9 Oct 2020 14:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602252843; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=v73QGZvIp8VT6OfazuBxluiM0/vQLf5yuruiX/xoz04=; b=GworEh9gJsIMf/tR8s3qj1F+NQf/wCk5zXJGDXMpRGhHzbUIqptUBiybC+WVbJjOS8Oz9F L8T6lQDBu9TcWEWZIaiv1ky/UmNJ6vfX6GC0TqDo8KrzBKVS2riH6xJO4g683ZXE7fg58H EKZh5ghz3VIhts1lYmvCOAEM/lxmels= X-MC-Unique: CcWCLSi0NUa9VIdaUX2uow-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] qemu_process: sev: Drop an unused variable Date: Fri, 9 Oct 2020 16:13:39 +0200 Message-Id: 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 Cc: brijesh.singh@amd.com, dgilbert@redhat.com, Erik Skultety 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.15 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" Signed-off-by: Erik Skultety Reviewed-by: Daniel Henrique Barboza --- src/qemu/qemu_process.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 6b5de29fdb..2cc1d58266 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -6394,9 +6394,8 @@ static int qemuProcessPrepareSEVGuestInput(virDomainObjPtr vm) { qemuDomainObjPrivatePtr priv =3D vm->privateData; - virDomainDefPtr def =3D vm->def; virQEMUCapsPtr qemuCaps =3D priv->qemuCaps; - virDomainSEVDefPtr sev =3D def->sev; + virDomainSEVDefPtr sev =3D vm->def->sev; =20 if (!sev) return 0; --=20 2.26.2