[Libvir] Tricky provisioning problem with inactive domains

Daniel Veillard veillard at redhat.com
Mon Jan 15 21:29:51 UTC 2007


On Mon, Jan 15, 2007 at 09:22:37PM +0000, Daniel P. Berrange wrote:
> On Mon, Jan 15, 2007 at 08:57:33PM +0000, Mark McLoughlin wrote:
> > On Mon, 2007-01-15 at 14:14 +0000, 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 name.
> > 
> > 	I think I'd expect to be able to call virDomainDefine() to change an
> > active domain's config without affecting it until it restarts.
> 
> In fact a little good news. I've just re-checked Xen 3.0.4 and this does
> indeed work. You can start a guest, and then change its config at will
> using virDomainDefine. Its just my hand-crafted  3.0.3 inactive domain
> driver which doesn't let this work - which I can trivially fix. So this
> thread looks like it may in fact be a non-issue.

  Good :-)

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list