Re: [libvirt] [PATCHv2 3/3] util: Produce friendlier error message to user

2015-10-21 Thread John Ferlan
On 10/21/2015 12:13 AM, Luyao Huang wrote: > Commit 1c24cfe9 fix the problem in virNumaSetPagePoolSize, > this patch just like it and fix the issue in another function. > > when user use freepages and specify a invalid node or page size, > will get error like this: > > # virsh freepages 0 1

Re: [libvirt] [PATCHv2 3/3] util: Produce friendlier error message to user

2015-10-21 Thread lhuang
On 10/21/2015 09:58 PM, John Ferlan wrote: On 10/21/2015 12:13 AM, Luyao Huang wrote: Commit 1c24cfe9 fix the problem in virNumaSetPagePoolSize, this patch just like it and fix the issue in another function. when user use freepages and specify a invalid node or page size, will get error

[libvirt] [PATCHv2 3/3] util: Produce friendlier error message to user

2015-10-20 Thread Luyao Huang
Commit 1c24cfe9 fix the problem in virNumaSetPagePoolSize, this patch just like it and fix the issue in another function. when user use freepages and specify a invalid node or page size, will get error like this: # virsh freepages 0 1 error: Failed to open file