]> git.proxmox.com Git - qemu.git/commit
OptsVisitor: opts_type_int(): recognize intervals when LM_IN_PROGRESS
authorLaszlo Ersek <lersek@redhat.com>
Mon, 19 Aug 2013 22:35:35 +0000 (00:35 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Tue, 20 Aug 2013 15:51:59 +0000 (11:51 -0400)
commit1e1c555a49175e2298eaa156e008a92d207bf812
treedc119766749ba5f53e54290eb2d14c3298c9e70e
parentd8754f40acb2d30e4735cdcd21a16e7ac29264a3
OptsVisitor: opts_type_int(): recognize intervals when LM_IN_PROGRESS

When a well-formed range value, bounded by signed integers, is encountered
while processing a repeated option, enter LM_SIGNED_INTERVAL and return
the low bound.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qapi/opts-visitor.c