Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-21 Thread Daniel P. Berrange
On Thu, Jan 20, 2011 at 08:20:20AM -0700, Eric Blake wrote: On 01/20/2011 05:13 AM, Daniel P. Berrange wrote: * virSysinfoRead() This API is completely internal. But DMI type1 information(dmidecode -t1) is useful for above purpose, because it's one of the information which

[libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Minoru Usui
Hi, everyone In an environment with multiple host machines, I want to select a suitable host automatically on which I run a VM depending on machine's load. Libvirt has APIs to get host machine's information, but I think these APIs aren't enough for above purpose. So I suggest below changes. What

Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Zdenek Styblik
On 01/20/2011 09:34 AM, Minoru Usui wrote: Hi, everyone In an environment with multiple host machines, I want to select a suitable host automatically on which I run a VM depending on machine's load. Libvirt has APIs to get host machine's information, but I think these APIs aren't enough

Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Daniel P. Berrange
On Thu, Jan 20, 2011 at 05:34:28PM +0900, Minoru Usui wrote: Hi, everyone In an environment with multiple host machines, I want to select a suitable host automatically on which I run a VM depending on machine's load. Libvirt has APIs to get host machine's information, but I think these

Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Eric Blake
On 01/20/2011 05:13 AM, Daniel P. Berrange wrote: * virSysinfoRead() This API is completely internal. But DMI type1 information(dmidecode -t1) is useful for above purpose, because it's one of the information which suppose to processing capacity about host machine.

Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Minoru Usui
Hi, Zdenek Thank you for your comment. On Thu, 20 Jan 2011 12:48:46 +0100 Zdenek Styblik sty...@turnovfree.net wrote: On 01/20/2011 09:34 AM, Minoru Usui wrote: Hi, everyone In an environment with multiple host machines, I want to select a suitable host automatically on which I run a

Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Minoru Usui
Hi, Daniel. Thank you for your advice. On Thu, 20 Jan 2011 12:13:21 + Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jan 20, 2011 at 05:34:28PM +0900, Minoru Usui wrote: Hi, everyone In an environment with multiple host machines, I want to select a suitable host

Re: [libvirt] [RFD] Add/Modify some API functions about Host Information

2011-01-20 Thread Minoru Usui
Hi, Eric On Thu, 20 Jan 2011 08:20:20 -0700 Eric Blake ebl...@redhat.com wrote: On 01/20/2011 05:13 AM, Daniel P. Berrange wrote: * virSysinfoRead() This API is completely internal. But DMI type1 information(dmidecode -t1) is useful for above purpose, because it's one of