Re: [PATCH v8 06/16] virt: sev-guest: Move SNP Guest command mutex

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

 



On Tue, Apr 23, 2024 at 04:12:00PM +0530, Nikunj A. Dadhania wrote:
> Something like below ?
> 
> snp_guest_ioctl()
> -> get_report()/get_derived_key()/get_ext_report()
>   -> snp_send_guest_request()
>        snp_guest_cmd_lock();
>        ...
>        snp_guest_cmd_lock();
> 
> With this the cmd_lock will be private to sev.c and lock/unlock function
> doesn't need to be exported.

Yes, something like that.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette




[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