diff options
Diffstat (limited to 'xen/include/xen/sched.h')
-rw-r--r-- | xen/include/xen/sched.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index e12293cafc..39ed2c061b 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -194,6 +194,16 @@ struct mem_event_domain int xen_port; }; +struct mem_event_per_domain +{ + /* Memory sharing support */ + struct mem_event_domain share; + /* Memory paging support */ + struct mem_event_domain paging; + /* Memory access support */ + struct mem_event_domain access; +}; + struct domain { domid_t domain_id; @@ -318,12 +328,8 @@ struct domain /* Non-migratable and non-restoreable? */ bool_t disable_migrate; - /* Memory sharing support */ - struct mem_event_domain mem_share; - /* Memory paging support */ - struct mem_event_domain mem_paging; - /* Memory access support */ - struct mem_event_domain mem_access; + /* Various mem_events */ + struct mem_event_per_domain *mem_event; /* Currently computed from union of all vcpu cpu-affinity masks. */ nodemask_t node_affinity; |