[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABayD+fi2Q4nqNGiL8nuO3HfqZbq5PoEgimwWtwjX_o0nANFEQ@mail.gmail.com>
Date: Thu, 8 Apr 2021 17:49:05 -0700
From: Steve Rutherford <srutherford@...gle.com>
To: Brijesh Singh <brijesh.singh@....com>
Cc: KVM list <kvm@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Nathan Tempelman <natet@...gle.com>,
Ashish Kalra <Ashish.Kalra@....com>,
Paolo Bonzini <pbonzini@...hat.com>
Subject: Re: [PATCH] KVM: SVM: Add support for KVM_SEV_SEND_CANCEL command
On Thu, Apr 8, 2021 at 3:27 PM Brijesh Singh <brijesh.singh@....com> wrote:
>
>
> On 4/1/21 8:44 PM, Steve Rutherford wrote:
> > After completion of SEND_START, but before SEND_FINISH, the source VMM can
> > issue the SEND_CANCEL command to stop a migration. This is necessary so
> > that a cancelled migration can restart with a new target later.
> >
> > Signed-off-by: Steve Rutherford <srutherford@...gle.com>
> > ---
> > .../virt/kvm/amd-memory-encryption.rst | 9 +++++++
> > arch/x86/kvm/svm/sev.c | 24 +++++++++++++++++++
> > include/linux/psp-sev.h | 10 ++++++++
> > include/uapi/linux/kvm.h | 2 ++
> > 4 files changed, 45 insertions(+)
>
>
> Can we add a new case statement in sev_cmd_buffer_len()
> [drivers/crypto/ccp/sev-dev.c] for this command ? I understand that the
> command just contains the handle. I have found dyndbg very helpful. If
> the command is not added in the sev_cmd_buffer_len() then we don't dump
> the command buffer.
>
> With that fixed.
>
> Reviewed-by: Brijesh Singh <brijesh.singh@....com>
Nice catch, will follow-up shortly.
Steve
Powered by blists - more mailing lists