|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 5/8] qom: introduce QERR_PROPERTY_VALUE_OUT_OF_RANGE |
Date: | Fri, 16 Dec 2011 15:01:33 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 12/16/2011 03:00 PM, Anthony Liguori wrote:
This will be used when reject invalid values for integer fields that are less than 64-bits wide. Signed-off-by: Paolo Bonzini<address@hidden>I'd rather use generic errors when possible. How about VALUE_OUT_OF_RANGE and we can make the message "'%(item)' doesn't take value..." and pass "%s.%s" % (device, property) for item.
Ok. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |