Re: [PATCH v7 03/16] virt: sev-guest: Add SNP guest request structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/1/2024 7:37 PM, Borislav Petkov wrote:
> On Thu, Feb 01, 2024 at 04:40:10PM +0530, Nikunj A. Dadhania wrote:
>> I will move it to arch/x86/coco/sev, do we need a separate "include" directory ?
> 
> I still don't understand why you need to move it at all?
> 

To support Secure TSC, SNP guest messages need to be used during the early boot.
Most of the guest messaging code is currently part of sev-guest driver
and header. I have opportunistically moved the header in this patch as I was adding 
guest request structure. Movement of rest of the functions implementation 
from sev-guest.c => kernel/sev.c is done in patch 7/16.

As per https://lore.kernel.org/all/Yg5nh1RknPRwIrb8@xxxxxxx/, I can move the snp 
guest messaging code implementation to arch/x86/coco/sev/guest-msg.[ch]

Regards
Nikunj




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux