lkml.org 
[lkml]   [2022]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC PATCH v5 026/104] KVM: TDX: x86: Add vm ioctl to get TDX systemwide parameters
    From
    On 3/4/22 20:48, isaku.yamahata@intel.com wrote:
    > Implement a VM-scoped subcomment to get system-wide parameters. Although
    > this is system-wide parameters not per-VM, this subcomand is VM-scoped
    > because
    > - Device model needs TDX system-wide parameters after creating KVM VM.
    > - This subcommands requires to initialize TDX module. For lazy
    > initialization of the TDX module, vm-scope ioctl is better.

    Since there was agreement to install the TDX module on load, please
    place this ioctl on the /dev/kvm file descriptor.

    At least for SEV, there were cases where the system-wide parameters are
    needed outside KVM, so it's better to avoid requiring a VM file descriptor.

    Thanks,

    Paolo

    \
     
     \ /
      Last update: 2022-04-06 02:03    [W:4.054 / U:2.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site