Re: [libvirt] [PATCH] save state as string

2009-01-07 Thread Guido Günther
On Tue, Jan 06, 2009 at 05:51:27PM +, Daniel P. Berrange wrote: [..snip..] The file we write is /var/run/libvirt/qemu/*.xml where we keep the internal state of a running vm. We can change this at at any time. Yes no, but mostly no. These persistent state files will need to be

Re: [libvirt] [PATCH] save state as string

2009-01-06 Thread Daniel Veillard
On Mon, Dec 29, 2008 at 03:44:54PM +0100, Guido Günther wrote: Hi, current domstatus code saves the domain as number, attached patch safes it as string which looks a bit nicer. [...] @@ -1414,7 +1416,9 @@ qemudDomainStatusFormat(virConnectPtr conn, char *config_xml = NULL, *xml = NULL;

Re: [libvirt] [PATCH] save state as string

2009-01-06 Thread Guido Günther
On Tue, Jan 06, 2009 at 03:27:52PM +0100, Daniel Veillard wrote: On Mon, Dec 29, 2008 at 03:44:54PM +0100, Guido Günther wrote: Hi, current domstatus code saves the domain as number, attached patch safes it as string which looks a bit nicer. [...] @@ -1414,7 +1416,9 @@

Re: [libvirt] [PATCH] save state as string

2009-01-06 Thread Daniel P. Berrange
On Tue, Jan 06, 2009 at 04:38:50PM +0100, Guido G?nther wrote: On Tue, Jan 06, 2009 at 03:27:52PM +0100, Daniel Veillard wrote: On Mon, Dec 29, 2008 at 03:44:54PM +0100, Guido Günther wrote: Hi, current domstatus code saves the domain as number, attached patch safes it as string which

[libvirt] [PATCH] save state as string

2008-12-29 Thread Guido Günther
Hi, current domstatus code saves the domain as number, attached patch safes it as string which looks a bit nicer. Cheers, -- Guido From b266ff63d9a96a5901e2171b94acef287685109a Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Guido=20G=C3=BCnther?= a...@sigxcpu.org Date: Mon, 29 Dec 2008 12:21:31 +0100