[libvirt] Update on host interface configuration

2009-02-12 Thread David Lutterkort
Hi, I thought I'd write an update of what I've been doing with the host interface configuration previously discussed[1] After talking with Dan Williams, who is working in NetworkManager, it is clear that the network interface functionality for libvirt is also useful for NM and would help them wi

[libvirt] [PATCH] document static host IP assignment

2009-02-12 Thread Charles Duffy
Back in August 2008, DV added support for providing static IP/hostname assignments to dnsmasq via elements in the network definition. Since this functionality isn't covered in the documentation, I wrote up a quick patch, attached. diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.ht

[libvirt] [PATCH] Fix virsh {net,pool}-edit

2009-02-12 Thread Cole Robinson
The dumpxml commands for networks and pools don't support any flag arguments, and in fact explictly fail if flags != 0. This is not the case for vm dumpxml though, and flags were added to the base 'edit' implementation in virsh recently. The net and pool derivatives were not addressing this differ

Re: [libvirt] [PATCH] Fix generating python bindings

2009-02-12 Thread Cole Robinson
John Levon wrote: > On Thu, Feb 12, 2009 at 02:37:46PM -0500, Cole Robinson wrote: > >> The recent API additions virSaveLastError and virFreeError upset the >> python bindings generator. Add a rule to explicitly skip them for the >> bindings, since (as far as I can tell) the libvirtError class pro

Re: [libvirt] [PATCH] Fix generating python bindings

2009-02-12 Thread John Levon
On Thu, Feb 12, 2009 at 02:37:46PM -0500, Cole Robinson wrote: > The recent API additions virSaveLastError and virFreeError upset the > python bindings generator. Add a rule to explicitly skip them for the > bindings, since (as far as I can tell) the libvirtError class provides > everything we nee

[libvirt] [PATCH] Fix generating python bindings

2009-02-12 Thread Cole Robinson
The recent API additions virSaveLastError and virFreeError upset the python bindings generator. Add a rule to explicitly skip them for the bindings, since (as far as I can tell) the libvirtError class provides everything we need. Thanks, Cole diff --git a/python/generator.py b/python/generator.py

[libvirt] [PATCH] Don't check volume format for lvm backing store

2009-02-12 Thread Cole Robinson
With the recently added COW support, we were trying to validate the passed logical volume's format, when there won't ever be one pulled from the xml (logical volumes don't have any valid format values). Just remove this check, and let any validation in this manner be done by the actual call to 'lv

Re: [libvirt] libvirtd and LVM snapshots

2009-02-12 Thread Cole Robinson
Nick Moffitt wrote: > Alas, I am now faced with a more revealing error: > > http://dpaste.com/hold/119347/ > > Looking through storage_conf.c and storage_backend_logical.c, I believe > that my XML matches the XPath used on line 1005 of storage_conf.c: > > char *format = virXPathStri

Re: [libvirt] Getting error "libvir: QEMU error : Domain not found"

2009-02-12 Thread M. Mohan Kumar
On Wednesday 11 February 2009 10:26:33 pm Jim Fehlig wrote: > M. Mohan Kumar wrote: > > Hi, > > > > When I try to run vm-install on a OpenSuse 11.1 machine, vm-install > > displays the following message "libvir: QEMU error : Domain not found". > > How ever the functionality is not affected. > > vm-

Re: [libvirt] [PATCH] libvirt.spec patch to fix some rpmlint warnings/errors

2009-02-12 Thread Richard W.M. Jones
OK, so I left out the change to init. Attached is the final patch, which I've committed to Rawhide. Are we still copying these changes into the specfile that we ship in the libvirt tarball? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk