Re: [libvirt] [PATCH] qemu: fix some api cannot work when disable cpuset in conf

2015-08-02 Thread lhuang
On 07/31/2015 08:33 PM, Martin Kletzander wrote: On Mon, Jul 20, 2015 at 05:18:37PM +0800, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1244664 If user disable cpuset in qemu.conf, we shouldn't try to use it, also shouldn't make some command which can work without cpuset cann

Re: [libvirt] [PATCH] qemu: fix some api cannot work when disable cpuset in conf

2015-07-31 Thread Martin Kletzander
On Mon, Jul 20, 2015 at 05:18:37PM +0800, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1244664 If user disable cpuset in qemu.conf, we shouldn't try to use it, also shouldn't make some command which can work without cpuset cannot work. Fix these case: 1. start guest with stric

[libvirt] [PATCH] qemu: fix some api cannot work when disable cpuset in conf

2015-07-20 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1244664 If user disable cpuset in qemu.conf, we shouldn't try to use it, also shouldn't make some command which can work without cpuset cannot work. Fix these case: 1. start guest with strict numa policy (we can use libnuma help us). 2. Hot add vcpu. 3.