
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.
I was apparrently completely off base in my previous answer, with a better understanding of the problem now I agree with Mark. This may require to push a change to Xen but really is the sanest behaviour API wise. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/