From nobody Sun May 19 02:06:38 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1598285480; cv=none; d=zohomail.com; s=zohoarc; b=PwKypzUAlzLIrvY+Tm7OOZVsQ9GFIPtLBzc9txmH+aUye6rPY1phJBxWleyenL6s3/216Si2tLYVidWnkrxovwkBY8KknmT4iYXCyvg8KzAfuix/BEioVuAmjjyCsRrD53A4ttbFFFN0qlKEDuoCtKRx772M5s4Cma8T2yd/D1A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598285480; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=IKMfpR8LFFqXU42P7wLvK78ryt2+YbDSEEvXx+BdZHs=; b=XY4J1qGFPAWO/gzdk7bDbMNj96xCyS9Ix1vfy8OkkavC6XxTE9hGOl1YglpwajJ6SyaoF3RCN/ge9XWnqw9lRbNo3gPz8w/a6RfuH6SHHq/Jv5847OfivMosrWasB7MnC11pYsqsKJabtQpWP5mI4U65R46rVFZSH+U5EI3tOvQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 159828548039785.41925041343313; Mon, 24 Aug 2020 09:11:20 -0700 (PDT) Received: from localhost ([::1]:51360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAF42-0001xQ-HR for importer@patchew.org; Mon, 24 Aug 2020 12:11:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAF3M-0001OA-VP for qemu-devel@nongnu.org; Mon, 24 Aug 2020 12:10:37 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:31828 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kAF3K-00031w-Cf for qemu-devel@nongnu.org; Mon, 24 Aug 2020 12:10:36 -0400 Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-534-xZi1OdlPNseSCEiX87CUnQ-1; Mon, 24 Aug 2020 12:10:21 -0400 Received: by mail-qk1-f200.google.com with SMTP id x20so6735000qki.20 for ; Mon, 24 Aug 2020 09:10:21 -0700 (PDT) Received: from redhat.redhat.com (ip68-103-222-6.ks.ok.cox.net. [68.103.222.6]) by smtp.gmail.com with ESMTPSA id o47sm11601361qtk.19.2020.08.24.09.10.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 09:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598285431; h=from:from: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; bh=IKMfpR8LFFqXU42P7wLvK78ryt2+YbDSEEvXx+BdZHs=; b=VfUeDGFFtV5PC/vKa+ieKGvr+PNn/sIFNQAFFhGEs+5pUI/xccMGw5ZhW7awAV0EPyQmez GqcxIPuTd57HLpkkYgPUm8HFCWuezolw/WIBlSvc0b+0BS068CONHWT0UQNx/5ugbsnz2j ed7COz/Br1mXINe6mAnk9g9OW4hCjd4= X-MC-Unique: xZi1OdlPNseSCEiX87CUnQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IKMfpR8LFFqXU42P7wLvK78ryt2+YbDSEEvXx+BdZHs=; b=ZYpJEtShxjEad9e2zsIZxI2fYZDXAJ2fPEyc7euM11M8aO8/6f+WN7wdL0ET8a0XBy N87PXCxVwMrriNUWJIciUGqA+fhPPASrprWsNTPEGuU3OAOZYj3yxGb4KYI2B5nowGU/ AAwPSLVBfryF5dXS/VQ7O2eVcfVQSzIeor0rGVrhKUIpM8t40cAEu7YhLAMAxffp3AAG C6q1LO+RtokcIHEusDiTsNzic4qf4Cz+duPgn06O5QHAtP13xCkMO+KQ2qQCH5n8poSG pV4s0uOau7ObcCrdNg3qFs7vrFsX78/p18rHbNPDfDNVNouPbsX6quRqD0vDGuH3Z9Fc L/1w== X-Gm-Message-State: AOAM532snbwfQvYFX0zLbmVBXRy6f1ofkTK/4Y1B6krpY8+SET/MJl5T WTYv7nB6JQ1Btrs1Ly8UNjjsX0E61EGhH+S/a0Tdl2OKN1pL4FL13XFt55E68WcNQXzMi35o9Hq jo9VlbMhGVtV+vZs= X-Received: by 2002:a37:62cd:: with SMTP id w196mr5327932qkb.486.1598285417004; Mon, 24 Aug 2020 09:10:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN8CV4NFB0WNQkM6jKemZlzVt+4hb2PHQE9oi/BT8QvL30Knn7Zkhwzm3gqJWGEMkXvh0SPQ== X-Received: by 2002:a37:62cd:: with SMTP id w196mr5327906qkb.486.1598285416670; Mon, 24 Aug 2020 09:10:16 -0700 (PDT) From: Connor Kuehl To: pbonzini@redhat.com, ehabkost@redhat.com Subject: [PATCH] doc: fix ioctl name MEMORY_ENCRYPT_OP -> KVM_MEMORY_ENCRYPT_OP Date: Mon, 24 Aug 2020 11:10:14 -0500 Message-Id: <20200824161014.401882-1-ckuehl@redhat.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ckuehl@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.61; envelope-from=ckuehl@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/24 03:41:06 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.956, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Just for precision's sake :-) While we're in there, fix some typos: - fix colon placement before a list - "provides" -> "provide" - "destroy's" -> "destroys" - fix a broken link, it had a space where there should have been an undescore Signed-off-by: Connor Kuehl --- docs/amd-memory-encryption.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/amd-memory-encryption.txt b/docs/amd-memory-encryption.txt index 43bf3ee6a5..e4c3f19e6d 100644 --- a/docs/amd-memory-encryption.txt +++ b/docs/amd-memory-encryption.txt @@ -18,14 +18,14 @@ ioctls. Launching --------- Boot images (such as bios) must be encrypted before guest can be booted. -MEMORY_ENCRYPT_OP ioctl provides commands to encrypt the images :LAUNCH_ST= ART, +KVM_MEMORY_ENCRYPT_OP ioctl provides commands to encrypt the images: LAUNC= H_START, LAUNCH_UPDATE_DATA, LAUNCH_MEASURE and LAUNCH_FINISH. These four commands together generate a fresh memory encryption key for the VM, encrypt the bo= ot images and provide a measurement than can be used as an attestation of the successful launch. =20 LAUNCH_START is called first to create a cryptographic launch context with= in -the firmware. To create this context, guest owner must provides guest poli= cy, +the firmware. To create this context, guest owner must provide guest polic= y, its public Diffie-Hellman key (PDH) and session parameters. These inputs should be treated as binary blob and must be passed as-is to the SEV firmw= are. =20 @@ -64,7 +64,7 @@ Since the guest owner knows the initial contents of the g= uest at boot, the attestation measurement can be verified by comparing it to what the guest = owner expects. =20 -LAUNCH_FINISH command finalizes the guest launch and destroy's the cryptog= raphic +LAUNCH_FINISH command finalizes the guest launch and destroys the cryptogr= aphic context. =20 See SEV KM API Spec [1] 'Launching a guest' usage flow (Appendix A) for the @@ -98,7 +98,7 @@ AMD Memory Encryption whitepaper: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2013/12/AMD_Memory_= Encryption_Whitepaper_v7-Public.pdf =20 Secure Encrypted Virtualization Key Management: -[1] http://support.amd.com/TechDocs/55766_SEV-KM API_Specification.pdf +[1] http://support.amd.com/TechDocs/55766_SEV-KM_API_Specification.pdf =20 KVM Forum slides: http://www.linux-kvm.org/images/7/74/02x08A-Thomas_Lendacky-AMDs_Virtualiz= atoin_Memory_Encryption_Technology.pdf --=20 2.25.4