libxl: publish number of paged pages.

This is information is currently not harvested from libxc.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
Andres Lagar-Cavilla committed 2012-03-13 15:34:54 +00:00
1 parent fe2522db51
commit eba0dfbbc2
2 files changed
+2

No files matched your search

+1
View File
@@ -460,6 +460,7 @@ static void xcinfo2xlinfo(const xc_domaininfo_t *xcinfo,
xlinfo->current_memkb = PAGE_TO_MEMKB(xcinfo->tot_pages);
xlinfo->shared_memkb = PAGE_TO_MEMKB(xcinfo->shr_pages);
xlinfo->paged_memkb = PAGE_TO_MEMKB(xcinfo->paged_pages);
xlinfo->max_memkb = PAGE_TO_MEMKB(xcinfo->max_pages);
xlinfo->cpu_time = xcinfo->cpu_time;
xlinfo->vcpu_max_id = xcinfo->max_vcpu_id;
+1
View File
@@ -175,6 +175,7 @@ libxl_dominfo = Struct("dominfo",[
("shutdown_reason", libxl_shutdown_reason),
("current_memkb", MemKB),
("shared_memkb", MemKB),
("paged_memkb", MemKB),
("max_memkb", MemKB),
("cpu_time", uint64),
("vcpu_max_id", uint32),
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.