[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <X/h7bhf9RRGjnJ+a@kroah.com>
Date: Fri, 8 Jan 2021 16:34:06 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: shuo.a.liu@...el.com
Cc: linux-kernel@...r.kernel.org, x86@...nel.org,
"H . Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Yu Wang <yu1.wang@...el.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Zhi Wang <zhi.a.wang@...el.com>,
Zhenyu Wang <zhenyuw@...ux.intel.com>
Subject: Re: [PATCH v7 08/18] virt: acrn: Introduce EPT mapping management
On Wed, Jan 06, 2021 at 03:50:45PM +0800, shuo.a.liu@...el.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?
Powered by blists - more mailing lists