[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 04/12] x86/altp2m: basic data structures and support routines.
On 06/26/2015 02:17 PM, Ed White wrote: > On 06/24/2015 03:29 AM, Andrew Cooper wrote: >> On 22/06/15 19:56, Ed White wrote: >>> diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h >>> index 3d8f4dc..a1529c0 100644 >>> --- a/xen/include/asm-x86/hvm/vcpu.h >>> +++ b/xen/include/asm-x86/hvm/vcpu.h >>> @@ -118,6 +118,13 @@ struct nestedvcpu { >>> >>> #define vcpu_nestedhvm(v) ((v)->arch.hvm_vcpu.nvcpu) >>> >>> +struct altp2mvcpu { >>> + uint16_t p2midx; /* alternate p2m index */ >>> + uint64_t veinfo_gfn; /* #VE information page guest pfn */ >> >> Please use the recently-introduced pfn_t here. pfn is a more >> appropriate term than gfn in this case. > > Did you mean pfn_t, or xen_pfn_t? I'm having a hard time > figuring out how to use a pfn_t, I can't even assign > INVALID_PFN to one. > Scratch that. After a while fumbling around in the dark, I worked out how to use pfn_t. Ed _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |