|
|
99cbc7 |
From d10524fd3934bf539b38599eb928b26089d17b52 Mon Sep 17 00:00:00 2001
|
|
|
99cbc7 |
Message-Id: <d10524fd3934bf539b38599eb928b26089d17b52@dist-git>
|
|
|
99cbc7 |
From: Han Han <hhan@redhat.com>
|
|
|
99cbc7 |
Date: Tue, 31 Jul 2018 10:42:27 +0200
|
|
|
99cbc7 |
Subject: [PATCH] conf: Fix a error msg typo in virDomainVideoDefValidate
|
|
|
99cbc7 |
|
|
|
99cbc7 |
https://bugzilla.redhat.com/show_bug.cgi?id=1607825
|
|
|
99cbc7 |
|
|
|
99cbc7 |
Introduced by commit d48813e8.
|
|
|
99cbc7 |
|
|
|
99cbc7 |
Signed-off-by: Han Han <hhan@redhat.com>
|
|
|
99cbc7 |
Reviewed-by: Erik Skultety <eskultet@redhat.com>
|
|
|
99cbc7 |
(cherry picked from commit d1c4480390da7243e37daee37f8a40cb439a6a7c)
|
|
|
99cbc7 |
Signed-off-by: Erik Skultety <eskultet@redhat.com>
|
|
|
99cbc7 |
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
99cbc7 |
---
|
|
|
99cbc7 |
src/conf/domain_conf.c | 2 +-
|
|
|
99cbc7 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
99cbc7 |
|
|
|
99cbc7 |
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
|
|
|
99cbc7 |
index 23288aa01b..a05aad056d 100644
|
|
|
99cbc7 |
--- a/src/conf/domain_conf.c
|
|
|
99cbc7 |
+++ b/src/conf/domain_conf.c
|
|
|
99cbc7 |
@@ -5697,7 +5697,7 @@ virDomainVideoDefValidate(const virDomainVideoDef *video,
|
|
|
99cbc7 |
if (def->videos[i]->type == VIR_DOMAIN_VIDEO_TYPE_NONE &&
|
|
|
99cbc7 |
def->nvideos > 1) {
|
|
|
99cbc7 |
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
|
|
99cbc7 |
- _("a '%s' video type must be the only video device "
|
|
|
99cbc7 |
+ _("a 'none' video type must be the only video device "
|
|
|
99cbc7 |
"defined for the domain"));
|
|
|
99cbc7 |
return -1;
|
|
|
99cbc7 |
}
|
|
|
99cbc7 |
--
|
|
|
99cbc7 |
2.18.0
|
|
|
99cbc7 |
|