[libvirt] [FeatureRequest/RFC] non-volitile domain defines

2008-07-22 Thread Stefan de Konink
I think I have already sent an email about this to the list, but no reply on this specific point. Libvirt is currently capable of storing storage, networks, the only thing that is really missing is the direct storage of domains. I wonder if a patch would be accepted that stores defined domains (li

Re: [libvirt] Java bindings

2008-07-22 Thread Daniel Veillard
On Mon, Jul 21, 2008 at 08:58:31AM +0200, Alejandro Berna Juan wrote: > my idea is to create the eclipse project (I have a little experience with it > and I think I can do it). Right now is a little bit complicate to help you > in the generation of code (I'm new in XEN and virtualization). Cheers,

Re: [libvirt] xml format for openvz driver

2008-07-22 Thread Daniel P. Berrange
On Tue, Jul 22, 2008 at 08:41:36PM +0400, Evgeniy Sokolov wrote: > >>For tag domain/os: > >>need to add "ostemplate" > >>desirable "config" > > > >Can you explain exactly what the semantics of the two desired attributes > >are used for ? > > > "config" is name of sample config for container. It con

Re: [libvirt] xml format for openvz driver

2008-07-22 Thread Evgeniy Sokolov
Hello! I made review of domain XML format for driver in libvirt. And I have several questions and additions. For tag domain: need to add "vmid" or "id" - currenly tag "name" is used for ID. OpenVZ has mandatory parameter ID, but it also support optional parameter "name", which is not implemente

Re: [libvirt] Couple qemu driver bugs after xml refactoring

2008-07-22 Thread Daniel P. Berrange
On Tue, Jul 22, 2008 at 04:53:19PM +0100, Daniel P. Berrange wrote: > On Tue, Jul 22, 2008 at 11:42:03AM -0400, Cole Robinson wrote: > > Hi all, > > > > I've hit a couple bugs in the qemu driver with the recent > > domain xml refactoring. I've debugged them but in both > > cases I'm not sure what

Re: [libvirt] [PATCH] repeat lookup by name in LookupByID

2008-07-22 Thread Jim Meyering
Daniel Veillard <[EMAIL PROTECTED]> wrote: ... >> With the patch below virsh tells what's wrong: ... >> It also adds a test that essentially does this: >> >> $ ./virsh -q -c test:///default undefine 1 >> error: a running domain like 1 cannot be undefined; >> to undefine, first shutdown

Re: [libvirt] Couple qemu driver bugs after xml refactoring

2008-07-22 Thread Daniel P. Berrange
On Tue, Jul 22, 2008 at 11:42:03AM -0400, Cole Robinson wrote: > Hi all, > > I've hit a couple bugs in the qemu driver with the recent > domain xml refactoring. I've debugged them but in both > cases I'm not sure what the optimal solutions are, so I'm > just laying them out here: > > 1) Previousl

[libvirt] Couple qemu driver bugs after xml refactoring

2008-07-22 Thread Cole Robinson
Hi all, I've hit a couple bugs in the qemu driver with the recent domain xml refactoring. I've debugged them but in both cases I'm not sure what the optimal solutions are, so I'm just laying them out here: 1) Previously defining a qemu guest without a 'listen' address specified in the graphics ta

Re: [libvirt] xml format for openvz driver

2008-07-22 Thread Evgeniy Sokolov
On Tue, Jul 22, 2008 at 05:21:41PM +0400, Evgeniy Sokolov wrote: Hello! Hi Evgeniy I made review of domain XML format for driver in libvirt. And I have several questions and additions. For tag domain: need to add "vmid" or "id" - currenly tag "name" is used for ID. OpenVZ has mandatory pa

Re: [libvirt] xml format for openvz driver

2008-07-22 Thread Evgeniy Sokolov
On Tue, Jul 22, 2008 at 05:21:41PM +0400, Evgeniy Sokolov wrote: Hello! Hi Evgeniy I made review of domain XML format for driver in libvirt. And I have several questions and additions. For tag domain: need to add "vmid" or "id" - currenly tag "name" is used for ID. OpenVZ has mandatory pa

Re: [libvirt] xml format for openvz driver

2008-07-22 Thread Daniel P. Berrange
On Tue, Jul 22, 2008 at 05:21:41PM +0400, Evgeniy Sokolov wrote: > Hello! > > I made review of domain XML format for driver in libvirt. > And I have several questions and additions. > > > For tag domain: > need to add "vmid" or "id" - currenly tag "name" is used for ID. > OpenVZ has mandatory pa

Re: [libvirt] xml format for openvz driver

2008-07-22 Thread Daniel Veillard
On Tue, Jul 22, 2008 at 05:21:41PM +0400, Evgeniy Sokolov wrote: > Hello! Hi Evgeniy > I made review of domain XML format for driver in libvirt. > And I have several questions and additions. > > > For tag domain: > need to add "vmid" or "id" - currenly tag "name" is used for ID. > OpenVZ has

[libvirt] xml format for openvz driver

2008-07-22 Thread Evgeniy Sokolov
Hello! I made review of domain XML format for driver in libvirt. And I have several questions and additions. For tag domain: need to add "vmid" or "id" - currenly tag "name" is used for ID. OpenVZ has mandatory parameter ID, but it also support optional parameter "name", which is not implemente

[libvirt] virbr0 bridge delay

2008-07-22 Thread Richard W.M. Jones
https://www.redhat.com/archives/fedora-devel-list/2008-July/msg01254.html https://www.redhat.com/archives/fedora-devel-list/2008-July/msg01258.html Since we know [or do we?] that virbr0 is only connected to end systems, not to other bridges, should we do the brctl set command suggested above insi

[libvirt] Re: Release of libvirt-java-0.2.0

2008-07-22 Thread Daniel Veillard
On Mon, Jul 21, 2008 at 09:12:51PM +0200, Tóth István wrote: > I've finally hunted down the problem. haha :-) > It stems from the way we (I) handle errors, and is not openAuth > specific, it just triggered here. > > When the virConnectOpen* function encounters an error, it calls the > error