From nobody Sun Apr 28 17:39:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1529485544202356.895269877636; Wed, 20 Jun 2018 02:05:44 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id CAF70C0467C5; Wed, 20 Jun 2018 09:05:42 +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 8D8FF17C00; Wed, 20 Jun 2018 09:05:42 +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 30D321800536; Wed, 20 Jun 2018 09:05:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5K95Tee008521 for ; Wed, 20 Jun 2018 05:05:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5593C76C3; Wed, 20 Jun 2018 09:05:29 +0000 (UTC) Received: from lhuang.nay.redhat.com (unknown [10.66.6.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id 117B276C2; Wed, 20 Jun 2018 09:05:27 +0000 (UTC) From: Luyao Huang To: libvir-list@redhat.com Date: Wed, 20 Jun 2018 17:05:02 +0800 Message-Id: <1529485504-13995-2-git-send-email-lhuang@redhat.com> In-Reply-To: <1529485504-13995-1-git-send-email-lhuang@redhat.com> References: <1529485504-13995-1-git-send-email-lhuang@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Luyao Huang Subject: [libvirt] [PATCH 1/3] qemu: correct the ret value 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 20 Jun 2018 09:05:43 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Set the return value to 0 when everything work as expected Signed-off-by: Luyao Huang Reviewed-by: Erik Skultety --- src/qemu/qemu_process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 93fd6ba..631254d 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -5842,6 +5842,7 @@ qemuProcessSEVCreateFile(const char *configDir, goto cleanup; } =20 + ret =3D 0; cleanup: VIR_FREE(configFile); return ret; --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 17:39:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1529485537526461.4353947085492; Wed, 20 Jun 2018 02:05:37 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 155615D5ED; Wed, 20 Jun 2018 09:05:36 +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 C8ED9308BDB0; Wed, 20 Jun 2018 09:05:35 +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 732761800537; Wed, 20 Jun 2018 09:05:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5K95V3S008538 for ; Wed, 20 Jun 2018 05:05:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3E3BD76C4; Wed, 20 Jun 2018 09:05:31 +0000 (UTC) Received: from lhuang.nay.redhat.com (unknown [10.66.6.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id EEDE476C2; Wed, 20 Jun 2018 09:05:29 +0000 (UTC) From: Luyao Huang To: libvir-list@redhat.com Date: Wed, 20 Jun 2018 17:05:03 +0800 Message-Id: <1529485504-13995-3-git-send-email-lhuang@redhat.com> In-Reply-To: <1529485504-13995-1-git-send-email-lhuang@redhat.com> References: <1529485504-13995-1-git-send-email-lhuang@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Luyao Huang Subject: [libvirt] [PATCH 2/3] qemu: improve the debug message when preparing SEV guest 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 20 Jun 2018 09:05:36 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Use 'preparing' instead of 'prepare' like other place in qemu_process.c. Signed-off-by: Luyao Huang Reviewed-by: Erik Skultety --- src/qemu/qemu_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 631254d..2967568 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -5860,7 +5860,7 @@ qemuProcessPrepareSEVGuestInput(virDomainObjPtr vm) if (!sev) return 0; =20 - VIR_DEBUG("Prepare SEV guest"); + VIR_DEBUG("Preparing SEV guest"); =20 if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_SEV_GUEST)) { virReportError(VIR_ERR_INTERNAL_ERROR, --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 17:39:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1529485543673213.97050701022158; Wed, 20 Jun 2018 02:05:43 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 215C7308A95F; Wed, 20 Jun 2018 09:05:42 +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 DCDEA65F6C; Wed, 20 Jun 2018 09:05:41 +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 91D134A469; Wed, 20 Jun 2018 09:05:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5K95X8B008550 for ; Wed, 20 Jun 2018 05:05:33 -0400 Received: by smtp.corp.redhat.com (Postfix) id 26CD276C3; Wed, 20 Jun 2018 09:05:33 +0000 (UTC) Received: from lhuang.nay.redhat.com (unknown [10.66.6.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7C3476C2; Wed, 20 Jun 2018 09:05:31 +0000 (UTC) From: Luyao Huang To: libvir-list@redhat.com Date: Wed, 20 Jun 2018 17:05:04 +0800 Message-Id: <1529485504-13995-4-git-send-email-lhuang@redhat.com> In-Reply-To: <1529485504-13995-1-git-send-email-lhuang@redhat.com> References: <1529485504-13995-1-git-send-email-lhuang@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Luyao Huang Subject: [libvirt] [PATCH 3/3] docs: remove extra space in the SEV xml element example 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 20 Jun 2018 09:05:42 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Luyao Huang Reviewed-by: Erik Skultety --- docs/formatdomain.html.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 7e710d7..89672a0 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -8481,11 +8481,11 @@ qemu-kvm -net nic,model=3D? /dev/null <domain> ... <launchSecurity type=3D'sev'> - <policy> 0x0001 </policy> - <cbitpos> 47 </cbitpos> - <reducedPhysBits> 1 </reducedPhysBits> - <dhCert> RBBBSDDD=3DFDDCCCDDDG </dhCert> - <session> AAACCCDD=3DFFFCCCDSDS </session> + <policy>0x0001</policy> + <cbitpos>47</cbitpos> + <reducedPhysBits>1</reducedPhysBits> + <dhCert>RBBBSDDD=3DFDDCCCDDDG</dhCert> + <session>AAACCCDD=3DFFFCCCDSDS</session> </launchSecurity> ... </domain> --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list