[libvirt] [PATCH] fix trailing blanks

2008-05-28 Thread Atsushi SAKAI
Hi, Rich Fix trailing blanks. http://builder.virt-manager.org/module-libvirt--devel.html Thanks Atsushi SAKAI fix_trailing_blanks.patch Description: Binary data -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] PATCH: Fix python binding for listing storage pools/volumes

2008-05-28 Thread Daniel P. Berrange
On Wed, May 28, 2008 at 10:12:42AM -0400, Daniel Veillard wrote: > On Fri, May 23, 2008 at 04:29:59PM +0100, Daniel P. Berrange wrote: > > On Fri, May 23, 2008 at 04:17:26PM +0100, Daniel P. Berrange wrote: > > > The python binding for the APIs to list storage pools and volumes has a > > > hand wri

Re: [libvirt] PATCH: Fix python binding for listing storage pools/volumes

2008-05-28 Thread Daniel Veillard
On Fri, May 23, 2008 at 04:29:59PM +0100, Daniel P. Berrange wrote: > On Fri, May 23, 2008 at 04:17:26PM +0100, Daniel P. Berrange wrote: > > The python binding for the APIs to list storage pools and volumes has a > > hand written C layer, but an auto-generated python layer. The latter was > > auto

Re: [libvirt] PATCH: Convert lots of code to new memory APIs

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 10:42:03PM +0100, Daniel P. Berrange wrote: > This patch converts a large amount of the XML parsing/generating code in > the Xen and QEMU drivers over to using the new memory APIs, so we can get > OOM checking of it. In the process I've discovered and fixed a number of > dou

Re: [libvirt] PATCH: Convert buf.c to use memory alloc wrappers

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 07:08:22PM +0100, Daniel P. Berrange wrote: > This patch coverts the virBuffer code over to using our internal memory > allocation wrappers. It then fixes a bug in xend_internal.c where it > was failing to check for allocation failure, although this was technically > complet

Re: [libvirt] PATCH [0/2]: Deprecate conn, dom, net virterror fields

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 06:40:57PM +0100, Richard W.M. Jones wrote: > This is a pair of patches which deprecate the conn, dom and net fields > in the virterror structure. > > Programs which use these fields will get a warning (if compiled under > gcc anyway): > > foo.c:123: warning: 'dom' is de

Re: [libvirt] PATCH: 4/4: Switch many testcases to OOM checking APIs

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 06:38:47PM +0100, Daniel P. Berrange wrote: > This switches over a number of the test cases to make use of the new > virTestMain() function and thus gain support for allocation checking > > So you can now actually see some checks when running > > >VIR_TEST_OOM=1 ma

Re: [libvirt] PATCH: 3/4: Fix some memory allocation bugs

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 06:36:16PM +0100, Daniel P. Berrange wrote: > The capabilities.c file was not checking for NULL pointers when cleaning > up after some failed allocations, and so deferencing a NULL. > > The qparams.c file was not calling virRaiseError upon failure so there > wasn't any indi

Re: [libvirt] PATCH: 2/4: Generic test script infrastructure

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 06:28:25PM +0100, Daniel P. Berrange wrote: > This patch adds more helper functions to the tests/testutils.c file which > make it trivial to verify OOM handling in our test suites. > > It provides a virtTestMain() function which is the main driver. This is > given the orig

Re: [libvirt] PATCH: 1/4: Add OOM hooks to the memory allocator

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 06:17:27PM +0100, Daniel P. Berrange wrote: > This patch adds extra code to src/memory.c which allows us to force an OOM > condition on specific allocations. This is not code you *ever* want to use > in a production build, so its all conditional on TEST_OOM, which is enabled

Re: [libvirt] [PATCH]show the autostart status when displaya'virsh dominfo'.

2008-05-28 Thread Daniel P. Berrange
On Wed, May 28, 2008 at 11:21:05AM +0900, Atsushi SAKAI wrote: > Hi, Rich and Dan > > Thank you for fixing this. > I think it should be noted about submitting patch on HACKING file or others. > How do you think? > (like make check; make syntax-check; make tests) Yes, basically the three things y

Re: [libvirt] How to add a new Hypervisor support

2008-05-28 Thread Daniel Veillard
On Wed, May 28, 2008 at 07:01:59AM -0600, Amudhan Gunasekaran wrote: > Hi, > > I am investigating libvirt to find out whether adding a hypervisor support is > possible. I went through libvirt.c and found that all the operations are done > through the struct virConnect. But virConnect is not expo

[libvirt] How to add a new Hypervisor support

2008-05-28 Thread Amudhan Gunasekaran
Hi, I am investigating libvirt to find out whether adding a hypervisor support is possible. I went through libvirt.c and found that all the operations are done through the struct virConnect. But virConnect is not exposed to public. So, if I want to add a minimum support for VMWare and Hyper-V h