From patchwork Tue Aug 7 15:53:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [03/35] qerror: QERR_DEVICE_ENCRYPTED: change error message From: Luiz Capitulino X-Patchwork-Id: 175730 Message-Id: <1344354826-10375-4-git-send-email-lcapitulino@redhat.com> To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, aliguori@us.ibm.com, armbru@redhat.com, mdroth@linux.vnet.ibm.com, pbonzini@redhat.com, eblake@redhat.com Date: Tue, 7 Aug 2012 12:53:14 -0300 Match what HMP commands print on DeviceEncrypted errors. Signed-off-by: Luiz Capitulino --- qerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qerror.c b/qerror.c index 082de98..de0a79e 100644 --- a/qerror.c +++ b/qerror.c @@ -81,7 +81,7 @@ static const QErrorStringTable qerror_table[] = { }, { .error_fmt = QERR_DEVICE_ENCRYPTED, - .desc = "Device '%(device)' is encrypted", + .desc = "'%(device)' (%(filename)) is encrypted", }, { .error_fmt = QERR_DEVICE_FEATURE_BLOCKS_MIGRATION,