Re: [libvirt] [PATCH v2] virsh: Emit error for VSH_OT_DATA without VSH_OFLAG_REQ

2015-01-12 Thread Ján Tomko
On 12/11/2014 03:46 AM, Hao Liu wrote: > Commit 6b9964 enforces checking invalid use of VSH_OT_STRING with > VSH_OFLAG_REQ. This commit tries to do the same thing to stop using > VSH_OT_DATA without VSH_OFLAG_REQ and also fix existing misuse. > > Signed-off-by: Hao Liu > --- > V2: > Add missi

[libvirt] [PATCH v2] virsh: Emit error for VSH_OT_DATA without VSH_OFLAG_REQ

2014-12-10 Thread Hao Liu
Commit 6b9964 enforces checking invalid use of VSH_OT_STRING with VSH_OFLAG_REQ. This commit tries to do the same thing to stop using VSH_OT_DATA without VSH_OFLAG_REQ and also fix existing misuse. Signed-off-by: Hao Liu --- V2: Add missing fix of dommemstat --period option. tools/virsh-dom