On Thu, Apr 8, 2021 at 3:27 PM Brijesh Singh <brijesh.singh@xxxxxxx> 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@xxxxxxxxxx> > > --- > > .../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@xxxxxxx> Nice catch, will follow-up shortly. Steve