From 055f6122a6b6886348154bb8bef8dd022501c705 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Wed, 18 Nov 2009 23:05:34 -0200 Subject: QError: Add QERR_DEVICE_NOT_ACTIVE New class for device not active errors. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- qerror.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qerror.c') diff --git a/qerror.c b/qerror.c index a12e7f7b1b..0c0a5100aa 100644 --- a/qerror.c +++ b/qerror.c @@ -44,6 +44,10 @@ const QErrorStringTable qerror_table[] = { .error_fmt = QERR_DEVICE_NOT_FOUND, .desc = "The %(device) device has not been found", }, + { + .error_fmt = QERR_DEVICE_NOT_ACTIVE, + .desc = "The %(device) device has not been activated by the guest", + }, {} }; -- cgit v1.2.3