diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-11-18 23:05:34 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:21 -0600 |
commit | 055f6122a6b6886348154bb8bef8dd022501c705 (patch) | |
tree | d2892e978a7c649fbcc07f2460696cd32e94c0b1 /qerror.h | |
parent | 3ced9f7a36189aed94d8bf86f3f5087a53012455 (diff) | |
download | qemu-055f6122a6b6886348154bb8bef8dd022501c705.zip qemu-055f6122a6b6886348154bb8bef8dd022501c705.tar.gz qemu-055f6122a6b6886348154bb8bef8dd022501c705.tar.bz2 |
QError: Add QERR_DEVICE_NOT_ACTIVE
New class for device not active errors.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.h')
-rw-r--r-- | qerror.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -41,4 +41,7 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_DEVICE_NOT_FOUND \ "{ 'class': 'DeviceNotFound', 'data': { 'device': %s } }" +#define QERR_DEVICE_NOT_ACTIVE \ + "{ 'class': 'DeviceNotActive', 'data': { 'device': %s } }" + #endif /* QERROR_H */ |