]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Fix numatune nodeset reporting
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 18 May 2015 21:55:10 +0000 (14:55 -0700)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 18 May 2015 22:22:23 +0000 (15:22 -0700)
commit9deb96f9f0c061f21a1f37bdbb4f3820795343d6
tree1473cbe90ca185f260ef1f3066252e6add018bf9
parenta5b55bd93106b8e678964f1dbf363dca3af76286
qemu: Fix numatune nodeset reporting

Since af2a1f0587d88656f2c14265a63fbc11ecbd924e,
qemuDomainGetNumaParameters() returns invalid value for a running
guest.  The problem is that it is getting the information from cgroups,
but the parent cgroup is being left alone since the mentioned commit.
Since the running guest's XML is in sync with cgroups, there is no need
to look into cgroups (unless someone changes the configuration behind
libvirt's back).  Returning the info from the definition fixes a bug and
is also a cleanup.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1221047
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_driver.c