Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-17 Thread Karel Zak
On Mon, Jan 15, 2007 at 09:46:37AM -0500, Daniel Veillard wrote: > On Mon, Jan 15, 2007 at 02:14:36PM +, Daniel P. Berrange wrote: > > Adding support for inactive domains was supposed to make everyone's life > > easier, but as luck would have it, its actually made one thing very much > > harde

Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Daniel Veillard
On Mon, Jan 15, 2007 at 09:22:37PM +, Daniel P. Berrange wrote: > On Mon, Jan 15, 2007 at 08:57:33PM +, Mark McLoughlin wrote: > > On Mon, 2007-01-15 at 14:14 +, Daniel P. Berrange wrote: > > > > > 3. We could just use virDomainCreate() to start installer, and try to > > > use vir

Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Daniel Veillard
On Mon, Jan 15, 2007 at 08:57:33PM +, Mark McLoughlin wrote: > On Mon, 2007-01-15 at 14:14 +, Daniel P. Berrange wrote: > > > 3. We could just use virDomainCreate() to start installer, and try to > > use virDomainDefine() to write the long term config - the latter > > call will fa

Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Daniel P. Berrange
On Mon, Jan 15, 2007 at 08:57:33PM +, Mark McLoughlin wrote: > On Mon, 2007-01-15 at 14:14 +, Daniel P. Berrange wrote: > > > 3. We could just use virDomainCreate() to start installer, and try to > > use virDomainDefine() to write the long term config - the latter > > call will fa

Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Mark McLoughlin
On Mon, 2007-01-15 at 14:14 +, Daniel P. Berrange wrote: > 3. We could just use virDomainCreate() to start installer, and try to > use virDomainDefine() to write the long term config - the latter > call will fail though because there will already be a running guest > with that nam

Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Daniel Veillard
On Mon, Jan 15, 2007 at 02:14:36PM +, Daniel P. Berrange wrote: > Adding support for inactive domains was supposed to make everyone's life > easier, but as luck would have it, its actually made one thing very much > harder. In the virt-inst/virt-manager tools provisioning works something > lik

Re: [Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Hugh Brock
Daniel P. Berrange wrote: Adding support for inactive domains was supposed to make everyone's life easier, but as luck would have it, its actually made one thing very much harder. In the virt-inst/virt-manager tools provisioning works something like this: In paravirt case: - Create a guest us

[Libvir] Tricky provisioning problem with inactive domains

2007-01-15 Thread Daniel P. Berrange
Adding support for inactive domains was supposed to make everyone's life easier, but as luck would have it, its actually made one thing very much harder. In the virt-inst/virt-manager tools provisioning works something like this: In paravirt case: - Create a guest using an explicit kernel/initr