]> xenbits.xensource.com Git - libvirt.git/commit
lxc: fix starting a domain with non-strict numa memory mode
authorLuyao Huang <lhuang@redhat.com>
Mon, 20 Apr 2015 13:33:31 +0000 (15:33 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 20 Apr 2015 13:50:43 +0000 (15:50 +0200)
commit930e8697a5b66989fbf56a5e38cfaf1378a1c59e
tree342d9f9d28fcaea7e91b54c87abed5d4a2158a1d
parent461eafecfade36555e44378c34568caf55c5cc8a
lxc: fix starting a domain with non-strict numa memory mode

 # virsh -c lxc:/// start helloworld
 error: Failed to start domain helloworld
 error: internal error: guest failed to start: Unknown
 failure in libvirt_lxc startup

Return success when there are no cpuset.mems to be set,
instead of failing without setting an error.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/lxc/lxc_cgroup.c