struct xen_add_to_physmap UNION
Hi,
What's the latest on the union of size/foreign_domid. I don't see it checked in xen unstable. Final decision is to unionize it, right? It doesn't matter for PVH either way.
+++ b/xen/include/public/memory.h Thu Oct 11 16:24:47 2012 -0700
@@ -208,14 +208,19 @@ struct xen_add_to_physmap {
/* Which domain to change the mapping for. */
domid_t domid;- /* Number of pages to go through for gmfn_range */
- uint16_t size;
+ union {
+ /* Number of pages to go through for gmfn_range */
+ uint16_t size;
+ /* IFF XENMAPSPACE_gmfn_foreign */
+ domid_t foreign_domid;+ } u;
thanks,
Mukesh
Quoted 5 lines · Mukesh Rathor
Hi,
What's the latest on the union of size/foreign_domid. I don't see it checked in xen unstable. Final decision is to unionize it, right? It doesn't matter for PVH either way.
I think the final decision is to go with XENMEM_add_to_physmap_range, see <[email protected]>.
Ian.
Quoted 18 lines
+++
b/xen/include/public/memory.hThu Oct 11 16:24:47 2012 -0700(quoted diff) +6
-2@@ -208,14 +208,19 @@ struct xen_add_to_physmap { /* Which domain to change the mapping for. */ domid_t domid; - /* Number of pages to go through for gmfn_range */ - uint16_t size; + union { + /* Number of pages to go through for gmfn_range */ + uint16_t size; + /* IFF XENMAPSPACE_gmfn_foreign */ + domid_t foreign_domid; + } u; thanks,Mukesh