From patchwork Wed Jan 16 15:48:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC,V5,60/62] qerror: Add QERR_DEVICE_NOT_DEDUPLICATED. Date: Wed, 16 Jan 2013 05:48:39 -0000 From: =?utf-8?q?Beno=C3=AEt_Canet?= X-Patchwork-Id: 212933 Message-Id: <1358351321-4891-61-git-send-email-benoit@irqsave.net> To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@redhat.com --- include/qapi/qmp/qerror.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h index 6c0a18d..3f99c8c 100644 --- a/include/qapi/qmp/qerror.h +++ b/include/qapi/qmp/qerror.h @@ -108,6 +108,9 @@ void assert_no_error(Error *err); #define QERR_DEVICE_NOT_ACTIVE \ ERROR_CLASS_DEVICE_NOT_ACTIVE, "Device '%s' has not been activated" +#define QERR_DEVICE_NOT_DEDUPLICATED \ + ERROR_CLASS_GENERIC_ERROR, "Device '%s' doesn't support deduplication" + #define QERR_DEVICE_NOT_ENCRYPTED \ ERROR_CLASS_GENERIC_ERROR, "Device '%s' is not encrypted"