From patchwork Mon Sep 26 11:07:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Berger X-Patchwork-Id: 12988627 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E17CC07E9D for ; Mon, 26 Sep 2022 11:45:19 +0000 (UTC) Received: from localhost ([::1]:43386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocmY2-0000zk-9A for qemu-devel@archiver.kernel.org; Mon, 26 Sep 2022 07:45:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocmS2-0006GD-8n; Mon, 26 Sep 2022 07:39:08 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:20312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocmRw-00039y-0d; Mon, 26 Sep 2022 07:39:02 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28QBLhV2001485; Mon, 26 Sep 2022 11:38:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=tfIBb3fsW1l1UO32OFoyCoJFg8m5H9Vu4iJhsEpeqVE=; b=V5VDOpAynmd6OBlvZtcmp9XZhElJdnLcwDxTlfbH9xlUCcoxuC6Rz7E/sIdfHIwCi5Gr /4iTUJ1Zcfz3+jtOwWdqjifWIG+em7VxiXxGuXIn/C2C7ajT727gNfbB86Kg7WHoCk+V l4pC/BDSzmljaL2bk3xlWl82ZQM0V4boZd3qs2jpPBaLGLKvfi5+4itA46yMpzLzn5Ol heB5zKg4S7ZWYgrVKsmamQ0bRKWvr8pV+IGFIPMb7K9eSqXM4fE/fDUYw4sCh7Im8xiI 5SWZ8zlLKpVq5TPm3+RtAK78WAupHx83iUeRITWzfOYEL9di/1Fb7/WDlpUIBkiDEvav hA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jub508d5f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 11:38:55 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 28QBZPcT005289; Mon, 26 Sep 2022 11:38:54 GMT Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jub508d4j-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 11:38:54 +0000 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28QB5LxI005264; Mon, 26 Sep 2022 11:07:51 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma02dal.us.ibm.com with ESMTP id 3jssha0s0p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 11:07:51 +0000 Received: from smtpav04.dal12v.mail.ibm.com ([9.208.128.131]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28QB7nhh35783002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Sep 2022 11:07:49 GMT Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C05658052; Mon, 26 Sep 2022 11:07:50 +0000 (GMT) Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ED5065804E; Mon, 26 Sep 2022 11:07:49 +0000 (GMT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by smtpav04.dal12v.mail.ibm.com (Postfix) with ESMTP; Mon, 26 Sep 2022 11:07:49 +0000 (GMT) From: Stefan Berger To: qemu-trivial@nongnu.org, marcandre.lureau@redhat.com Cc: qemu-devel@nongnu.org, Stefan Berger Subject: [PATCH] docs: Add --tpm2 option to swtpm command line Date: Mon, 26 Sep 2022 07:07:46 -0400 Message-Id: <20220926110746.2769518-1-stefanb@linux.ibm.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: u6oqGZjRgCvujMUlds03zHBU19txpoy3 X-Proofpoint-GUID: Fmt33Lp92PYnnY1cCPXQGv_WleignEOT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-26_08,2022-09-22_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1011 malwarescore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 spamscore=0 adultscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209260073 Received-SPF: pass client-ip=148.163.156.1; envelope-from=stefanb@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Add the --tpm2 option to the swtpm command line to run a TPM 2. Signed-off-by: Stefan Berger --- docs/specs/tpm.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/specs/tpm.rst b/docs/specs/tpm.rst index 3be190343a..243e24b692 100644 --- a/docs/specs/tpm.rst +++ b/docs/specs/tpm.rst @@ -304,6 +304,7 @@ a socket interface. They do not need to be run as root. mkdir /tmp/mytpm1 swtpm socket --tpmstate dir=/tmp/mytpm1 \ --ctrl type=unixio,path=/tmp/mytpm1/swtpm-sock \ + --tpm2 \ --log level=20 Command line to start QEMU with the TPM emulator device communicating