We've deprecated qemuConnectDomainXMLFromNative qemuDomainQemuAttach.
Switch the error code from VIR_ERR_OPERATION_UNSUPPORTED to the new
VIR_ERR_DEPRECATED.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index ec08dd939e..d6ab134196 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -7327,7 +7327,7 @@ qemuConnectDomainXMLFromNative(virConnectPtr conn,
if (virConnectDomainXMLFromNativeEnsureACL(conn) < 0)
return NULL;
- virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
+ virReportError(VIR_ERR_DEPRECATED, "%s",
_("converting arbitrary QEMU command lines to libvirt domain XML
is no longer supported"));
return NULL;
}
@@ -16779,7 +16779,7 @@ qemuDomainQemuAttach(virConnectPtr conn ATTRIBUTE_UNUSED,
{
virCheckFlags(0, NULL);
- virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
+ virReportError(VIR_ERR_DEPRECATED, "%s",
_("attaching to a QEMU process started outside of libvirt is no
longer supported"));
return NULL;
}
--
2.21.0