WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 0/2] domain/vm list API outlining

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0/2] domain/vm list API outlining
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Sun, 17 Jan 2010 11:35:28 +0000
Cc: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Delivery-date: Sun, 17 Jan 2010 03:33:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>