I was so ashamed of writing a incorrect commit '848ab68' and didn't test with it. Patch 1/2 fix the issue and Patch 2/2 introduce a test for it. Luyao Huang (2): virsh: really fix the error if vcpu number exceed the guest maxvcpu number test: introduce a function in test driver for check get vcpupin info src/test/test_driver.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/vcpupin | 34 +++++++++++++++++++++++++++---- tools/virsh-domain.c | 4 ++-- 3 files changed, 87 insertions(+), 6 deletions(-) -- 1.8.3.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list