On 5/30/24 23:30, Nikunj A Dadhania wrote: > Add a snp_guest_req structure to simplify the function arguments. This > structure will be used to call the SNP Guest message request API instead > of passing a long list of parameters. > > Update the snp_issue_guest_request() prototype to include the new guest > request structure and move all the sev-guest.h header content to sev.h. > > Signed-off-by: Nikunj A Dadhania <nikunj@xxxxxxx> Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx> > --- > arch/x86/include/asm/sev.h | 78 ++++++++++- > drivers/virt/coco/sev-guest/sev-guest.h | 69 ---------- > arch/x86/kernel/sev.c | 15 ++- > drivers/virt/coco/sev-guest/sev-guest.c | 169 +++++++++++++----------- > 4 files changed, 177 insertions(+), 154 deletions(-) > delete mode 100644 drivers/virt/coco/sev-guest/sev-guest.h >