Martin Kletzander 6c9a8a49c7 conf: forbid negative values in virDomainParseScaledValue
It makes sense for none of the callers to have negative value as an
output and, fortunately, if anyone tried defining domain with negative
memory or any other value parsed by virDomainParseScaledValue(), the
resulting value was 0.  That means we can error out during parsing as
it won't break anything.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1155843

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-10-30 07:42:28 +01:00
..
2014-07-23 12:59:40 +02:00
2014-07-23 12:59:40 +02:00
2014-06-21 10:12:21 +02:00
2014-08-07 10:28:32 +02:00
2014-08-12 19:40:20 +04:00