From: Jiang Wang Subject: How is xm list implemented? Date: Sun, 31 May 2009 15:54:25 -0400 Message-ID: <77e29ea90905311254k62a5affs6ff81789d3e7a258@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi: I want to understand the implementation of xm list command, such as which internal data structures are used. So far, I can only find out that xm list is implemented by xend, and xend use Xen API, VM.get_all(). But how is VM.get_all() implemented? Is it calling the hypervisor? If so, which source file is for the implementation? Or it is implemented in the xend itself? Any pointers? Thanks. Regards, Jiang