lkml.org 
[lkml]   [2021]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 08/18] virt: acrn: Introduce EPT mapping management
On Fri  8.Jan'21 at 16:34:06 +0100, Greg Kroah-Hartman wrote:
>On Wed, Jan 06, 2021 at 03:50:45PM +0800, shuo.a.liu@intel.com wrote:
>> +/**
>> + * struct acrn_vm_memmap - A EPT memory mapping info for a User VM.
>> + * @type: Type of the memory mapping (ACRM_MEMMAP_*).
>> + * Pass to hypervisor directly.
>> + * @attr: Attribute of the memory mapping.
>> + * Pass to hypervisor directly.
>> + * @user_vm_pa: Physical address of User VM.
>> + * Pass to hypervisor directly.
>> + * @service_vm_pa: Physical address of Service VM.
>> + * Pass to hypervisor directly.
>> + * @vma_base: VMA address of Service VM. Pass to hypervisor directly.
>> + * @len: Length of the memory mapping.
>> + * Pass to hypervisor directly.
>> + */
>> +struct acrn_vm_memmap {
>> + __u32 type;
>> + __u32 attr;
>> + __u64 user_vm_pa;
>> + union {
>> + __u64 service_vm_pa;
>> + __u64 vma_base;
>> + };
>> + __u64 len;
>> +};
>
>Endianness?

Same consideration within patch 06/18. Need i specify these values? They
are more like ioctls' paramter values.

Thanks
shuo
>

\
 
 \ /
  Last update: 2021-01-11 05:08    [W:0.061 / U:2.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site