]> Git Repo - qemu.git/commit
vl.c: Use parse_uint_full() for NUMA nodeid
authorEduardo Habkost <[email protected]>
Mon, 4 Feb 2013 18:27:50 +0000 (16:27 -0200)
committerAnthony Liguori <[email protected]>
Mon, 4 Feb 2013 20:38:34 +0000 (14:38 -0600)
commit5f1399651eaab1b04e49107250d182968a227aa6
tree3c5714c5278d7fd4fb88045fc653020eed1bc39b
parente4ce85b25838694d2d7396b5e969eb4830329631
vl.c: Use parse_uint_full() for NUMA nodeid

This should catch many kinds of errors that the current code wasn't
checking for:

 - Values that can't be parsed as a number
 - Negative values
 - Overflow
 - Empty string

Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
vl.c
This page took 0.020664 seconds and 4 git commands to generate.