Added by QEMU commit:
b96feb2cb9 "9pfs: local: Add support for custom fmode/dmode in 9ps
mapped security modes"
in 2.10.0
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/qemu/qemu_validate.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c
index 7e4090181d..294cc24b36 100644
--- a/src/qemu/qemu_validate.c
+++ b/src/qemu/qemu_validate.c
@@ -4165,11 +4165,6 @@ qemuValidateDomainDeviceDefFS(virDomainFSDef *fs,
}
if ((fs->fmode != 0) || (fs->dmode != 0)) {
- if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_FSDEV_CREATEMODE)) {
- virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("fmode and dmode are not supported with this QEMU
binary"));
- return -1;
- }
if (fs->accessmode != VIR_DOMAIN_FS_ACCESSMODE_MAPPED) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("fmode and dmode must be used with
accessmode=mapped"));
--
2.31.1