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 1/2] separate logically list_vm and list_domain

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1/2] separate logically list_vm and list_domain
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Sun, 17 Jan 2010 11:35:29 +0000
Cc: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Delivery-date: Sun, 17 Jan 2010 03:34:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1263728130-10859-1-git-send-email-vincent.hanquez@xxxxxxxxxxxxx>
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>
References: <1263728130-10859-1-git-send-email-vincent.hanquez@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxx>
---
 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(-)

Attachment: 0001-separate-logically-list_vm-and-list_domain.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>