Re: [libvirt] autostart with xend

2009-02-05 Thread Daniel P. Berrange
On Fri, Jan 30, 2009 at 02:10:57PM -0500, John Levon wrote: It doesn't work quite right with a running domain. The 'new' will correctly set the config, but the temporary config doesn't include the new setting. So tests of the form set autostart; is it set? will fail. I'm not sure I

Re: [libvirt] autostart with xend

2009-02-05 Thread John Levon
On Thu, Feb 05, 2009 at 11:56:59AM +, Daniel P. Berrange wrote: It doesn't work quite right with a running domain. The 'new' will correctly set the config, but the temporary config doesn't include the new setting. So tests of the form set autostart; is it set? will fail. I'm not sure

Re: [libvirt] autostart with xend

2009-02-05 Thread Daniel P. Berrange
On Thu, Feb 05, 2009 at 12:09:16PM -0500, John Levon wrote: On Thu, Feb 05, 2009 at 11:56:59AM +, Daniel P. Berrange wrote: It doesn't work quite right with a running domain. The 'new' will correctly set the config, but the temporary config doesn't include the new setting. So tests

Re: [libvirt] autostart with xend

2009-02-05 Thread John Levon
On Thu, Feb 05, 2009 at 06:03:48PM +, Daniel P. Berrange wrote: Python API, you can see it returning False when it shouldn't. You should be able to see it with 'virsh dominfo' Yes, sorry. You do indeed see the wrong answer there. The problem is that we're doing a new and xend is

[libvirt] autostart with xend

2009-01-30 Thread John Levon
It doesn't work quite right with a running domain. The 'new' will correctly set the config, but the temporary config doesn't include the new setting. So tests of the form set autostart; is it set? will fail. Suggestions? Also, why isn't this represented in the XML? thanks, john -- Libvir-list