Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-11 Thread Daniel Veillard
On Fri, Sep 07, 2007 at 09:55:45AM -0400, beth kon wrote: Daniel Veillard wrote: which would return an XML instance as in virConnectGetCapabilities. I toyed with the idea of extending virConnectGetCapabilities() to add a topology section in case of NUMA support at the hypervisor level, but it

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-11 Thread Daniel Veillard
On Tue, Sep 11, 2007 at 03:08:46AM +0100, Daniel P. Berrange wrote: On Mon, Sep 10, 2007 at 09:52:46PM -0400, beth kon wrote: Daniel, I'm taking a stab at this work and want to be sure I'm taking the right approach. I'm new to xen and even newer to libvirt, so have a bit of a

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-11 Thread beth kon
Daniel Veillard wrote: On Fri, Sep 07, 2007 at 09:55:45AM -0400, beth kon wrote: Daniel Veillard wrote: which would return an XML instance as in virConnectGetCapabilities. I toyed with the idea of extending virConnectGetCapabilities() to add a topology section in case of NUMA support

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-10 Thread beth kon
Daniel, I'm taking a stab at this work and want to be sure I'm taking the right approach. I'm new to xen and even newer to libvirt, so have a bit of a learning curve. For the topology information, I assume that this will be a call through xend, similar to xenDaemonNodeGetInfo. It would

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-10 Thread Daniel P. Berrange
On Mon, Sep 10, 2007 at 09:52:46PM -0400, beth kon wrote: Daniel, I'm taking a stab at this work and want to be sure I'm taking the right approach. I'm new to xen and even newer to libvirt, so have a bit of a learning curve. For the topology information, I assume that this will be a

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-07 Thread beth kon
Daniel Veillard wrote: On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and Linux (for QEMU/KVM). In Xen, I've recently posted patches for exporting topology into

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-06 Thread Richard W.M. Jones
Daniel Veillard wrote: 1) Provide a function describing the topology as an XML instance: char * virNodeGetTopology(virConnectPtr conn); which would return an XML instance as in virConnectGetCapabilities. I toyed with the idea of extending virConnectGetCapabilities() to add a

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-06 Thread Daniel Veillard
On Thu, Sep 06, 2007 at 03:40:23PM +0100, Richard W.M. Jones wrote: Daniel Veillard wrote: 1) Provide a function describing the topology as an XML instance: char *virNodeGetTopology(virConnectPtr conn); which would return an XML instance as in virConnectGetCapabilities. I toyed

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-09-06 Thread Ryan Harper
* Daniel Veillard [EMAIL PROTECTED] [2007-09-06 08:55]: On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and Linux (for QEMU/KVM). In Xen, I've recently

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-06-14 Thread Richard W.M. Jones
Daniel P. Berrange wrote: - Linux/Solaris Xen - hypercalls - Linux non-Xen - libnuma - Solaris non-Xen - liblgrp The Xen Linux modelling seems reasonably similar IIRC, but Solaris is a slightly different representational approach. The Solaris approach seems to be fully hierarchical

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-06-14 Thread Daniel Veillard
On Thu, Jun 14, 2007 at 02:08:12PM +0100, Richard W.M. Jones wrote: Daniel P. Berrange wrote: - Linux/Solaris Xen - hypercalls - Linux non-Xen - libnuma - Solaris non-Xen - liblgrp The Xen Linux modelling seems reasonably similar IIRC, but Solaris is a slightly different

[Libvir] Extending libvirt to probe NUMA topology

2007-06-13 Thread Ryan Harper
Hello all, I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and Linux (for QEMU/KVM). In Xen, I've recently posted patches for exporting topology into the [1]physinfo hypercall, as well adding a [2]hypercall to probe the Xen heap. I believe

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-06-13 Thread Daniel Veillard
On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, Hello Ryan, I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and Linux (for QEMU/KVM). In Xen, I've recently posted patches for exporting topology into the

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-06-13 Thread Daniel P. Berrange
On Wed, Jun 13, 2007 at 01:48:21PM -0400, Daniel Veillard wrote: On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, Hello Ryan, I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and Linux (for QEMU/KVM). In

Re: [Libvir] Extending libvirt to probe NUMA topology

2007-06-13 Thread Ryan Harper
* Daniel Veillard [EMAIL PROTECTED] [2007-06-13 12:52]: On Wed, Jun 13, 2007 at 10:40:40AM -0500, Ryan Harper wrote: Hello all, Hello Ryan, Hey, thanks for the swift reply. I wanted to start a discussion on how we might get libvirt to be able to probe the NUMA topology of Xen and