summaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-03-16 17:40:48 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:45:26 +0100
commit8182ac16971ff2def684978373bc147c9c8e6fec (patch)
tree24a44e0f27486bb6c7ab02c01f2c6f276b0cabdc /qerror.c
parent2542d98976749e18f0cb2f46f39c87680ac5d2ab (diff)
downloadqemu-8182ac16971ff2def684978373bc147c9c8e6fec.tar.gz
qemu-8182ac16971ff2def684978373bc147c9c8e6fec.tar.bz2
qemu-8182ac16971ff2def684978373bc147c9c8e6fec.zip
error: New QERR_PROPERTY_VALUE_IN_USE
Diffstat (limited to 'qerror.c')
-rw-r--r--qerror.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qerror.c b/qerror.c
index 62bb00fb1b..6b59388292 100644
--- a/qerror.c
+++ b/qerror.c
@@ -113,6 +113,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "Property '%(device).%(property)' doesn't take value '%(value)'",
},
{
+ .error_fmt = QERR_PROPERTY_VALUE_IN_USE,
+ .desc = "Property '%(device).%(property)' can't take value '%(value)', it's in use",
+ },
+ {
.error_fmt = QERR_QMP_BAD_INPUT_OBJECT,
.desc = "Bad QMP input object",
},