From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4trq-0005iS-28 for qemu-devel@nongnu.org; Wed, 18 Oct 2017 15:19:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4trl-0003p9-3Q for qemu-devel@nongnu.org; Wed, 18 Oct 2017 15:19:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56248) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4trk-0003ng-Tf for qemu-devel@nongnu.org; Wed, 18 Oct 2017 15:18:57 -0400 Date: Wed, 18 Oct 2017 20:18:48 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20171018191847.GF3225@work-vm> References: <69fd8746-b2bd-31d0-4d70-792f40ef2d79@amd.com> <20170908131555.GD32645@redhat.com> <9BF693FD-B1CD-4813-86B4-4A909D8847A1@amd.com> <20170908145201.GJ32645@redhat.com> <82d6b8f0-7101-1d59-5489-43b66107fbe0@amd.com> <20171018071906-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171018071906-mutt-send-email-mst@kernel.org> Subject: Re: [Qemu-devel] libvirt/QEMU/SEV interaction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Brijesh Singh , "libvir-list@redhat.com" , "Relph, Richard" , "qemu-devel@nongnu.org" , "Lendacky, Thomas" * Michael S. Tsirkin (mst@redhat.com) wrote: > On Fri, Sep 08, 2017 at 10:48:10AM -0500, Brijesh Singh wrote: > > > > > 11. GO verifies the measurement and if measurement matches then it may > > > > > give a secret blob -- which must be injected into the guest before > > > > > libvirt starts the VM. If verification failed, GO will request cloud > > > > > provider to destroy the VM. > > I realised I'm missing something here: how does GO limit the > secret to the specific VM? For example, what prevents hypervisor > from launching two VMs with the same GO's DH, getting measurement > from 1st one but injecting the secret into the second one? Isn't that the 'trusted channel nonce currently associated with the guest' in the guest context? Dave > Thanks, > > -- > MST > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK