]> git.proxmox.com Git - qemu.git/blobdiff - qerror.c
QError: New QERR_DEVICE_LOCKED
[qemu.git] / qerror.c
index 03e3b34c7dcac7b0d7efc2feb8e052ebcb79cff7..37e8072464e92c584a8e8a2f79bd4166fed9abe2 100644 (file)
--- a/qerror.c
+++ b/qerror.c
@@ -48,6 +48,10 @@ static const QErrorStringTable qerror_table[] = {
         .error_fmt = QERR_DEVICE_ENCRYPTED,
         .desc      = "The %(device) is encrypted",
     },
+    {
+        .error_fmt = QERR_DEVICE_LOCKED,
+        .desc      = "Device %(device) is locked",
+    },
     {
         .error_fmt = QERR_DEVICE_NOT_ACTIVE,
         .desc      = "The %(device) device has not been activated by the guest",