Vincent Hanquez
2010-Jan-17 11:35 UTC
[Xen-devel] [PATCH 0/2] domain/vm list API outlining
The API currently available in xl for listing, is not very pratical and some person have express interest having more access to the lowlevel. Hence separating the middle level call into one low level call that lists domains, and one high level call that lists vms. This small patchset does that and add a list-vm options to xl to be able to list only VMs compared to domains. also a couple of renames around lists, and is_stubdom is more resiliant to possible unexpected value. Vincent Hanquez (2): separate logically list_vm and list_domain add a list-vm options to xl that only list vms uuid,domid,name tools/libxl/libxl.c | 53 ++++++++++++++++++++++++++++++++++---------- tools/libxl/libxl.h | 12 +++++++++- tools/libxl/libxl_utils.c | 19 +++++++++++----- tools/libxl/libxl_utils.h | 2 +- tools/libxl/xl.c | 53 ++++++++++++++++++++++++++++++++++++++++++++- 5 files changed, 118 insertions(+), 21 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-17 11:35 UTC
[Xen-devel] [PATCH 1/2] separate logically list_vm and list_domain
previously list_domain was something between listing VM and domains. provide 2 separates API calls to list domains and list vms. the list vms API filters utility domains like stubdomains, and domain 0 change is_stubdom to properly check the integer and also return a boolean value. Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/libxl.c | 53 ++++++++++++++++++++++++++++++++++---------- tools/libxl/libxl.h | 12 +++++++++- tools/libxl/libxl_utils.c | 19 +++++++++++----- tools/libxl/libxl_utils.h | 2 +- tools/libxl/xl.c | 2 +- 5 files changed, 67 insertions(+), 21 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-17 11:35 UTC
[Xen-devel] [PATCH 2/2] add a list-vm options to xl that only list vms uuid, domid, name
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/xl.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel