Re: [libvirt] [PATCH] conf: fix running vm numa settings disappear after restart libvirtd

2015-03-24 Thread Peter Krempa
On Mon, Mar 23, 2015 at 20:11:19 +0800, Luyao Huang wrote: > > On 03/23/2015 06:10 PM, Peter Krempa wrote: > > On Thu, Mar 19, 2015 at 18:13:04 +0800, Luyao Huang wrote: > >> 5bba61f introduce a issue : when start a vm with settings and > >> restart libvirtd, numa settings will disappear. Because

Re: [libvirt] [PATCH] conf: fix running vm numa settings disappear after restart libvirtd

2015-03-23 Thread Luyao Huang
On 03/23/2015 06:10 PM, Peter Krempa wrote: On Thu, Mar 19, 2015 at 18:13:04 +0800, Luyao Huang wrote: 5bba61f introduce a issue : when start a vm with settings and restart libvirtd, numa settings will disappear. Because when parse the vm states file, there is no node in "/domain/cpu/numa" thi

Re: [libvirt] [PATCH] conf: fix running vm numa settings disappear after restart libvirtd

2015-03-23 Thread Peter Krempa
On Thu, Mar 19, 2015 at 18:13:04 +0800, Luyao Huang wrote: > 5bba61f introduce a issue : when start a vm with settings and > restart libvirtd, numa settings will disappear. Because when parse the > vm states file, there is no node in "/domain/cpu/numa" this place. > > Change to use ./cpu/numa ins

[libvirt] [PATCH] conf: fix running vm numa settings disappear after restart libvirtd

2015-03-19 Thread Luyao Huang
5bba61f introduce a issue : when start a vm with settings and restart libvirtd, numa settings will disappear. Because when parse the vm states file, there is no node in "/domain/cpu/numa" this place. Change to use ./cpu/numa instead of /domain/cpu/numa. Signed-off-by: Luyao Huang --- src/conf/