]> git.proxmox.com Git - qemu.git/blobdiff - qerror.c
error: New QERR_INVALID_PARAMETER_VALUE
[qemu.git] / qerror.c
index 9fb817e7cb5c7a626f8a2fbd087a55fb81a2dd5b..97e8d4ab936c47d6d14112e5ab93cc0f8a7d86b2 100644 (file)
--- a/qerror.c
+++ b/qerror.c
@@ -120,6 +120,10 @@ static const QErrorStringTable qerror_table[] = {
         .error_fmt = QERR_INVALID_PARAMETER_TYPE,
         .desc      = "Invalid parameter type, expected: %(expected)",
     },
+    {
+        .error_fmt = QERR_INVALID_PARAMETER_VALUE,
+        .desc      = "Parameter '%(name)' expects %(expected)",
+    },
     {
         .error_fmt = QERR_INVALID_PASSWORD,
         .desc      = "Password incorrect",