mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Fix URI check in QEMU migration
This commit is contained in:
parent
45707d5631
commit
461afc2200
@ -1,3 +1,7 @@
|
|||||||
|
Wed Apr 1 10:54:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/qemu-driver.c: Fix URI check in migration
|
||||||
|
|
||||||
Wed Apr 1 10:50:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Wed Apr 1 10:50:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Add a tree view of node devices
|
Add a tree view of node devices
|
||||||
|
@ -4629,7 +4629,7 @@ qemudDomainMigratePrepare2 (virConnectPtr dconn,
|
|||||||
* URI when passing it to the qemu monitor, so bad
|
* URI when passing it to the qemu monitor, so bad
|
||||||
* characters in hostname part don't matter.
|
* characters in hostname part don't matter.
|
||||||
*/
|
*/
|
||||||
if (!STREQLEN (uri_in, "tcp:", 6)) {
|
if (!STRPREFIX (uri_in, "tcp:")) {
|
||||||
qemudReportError (dconn, NULL, NULL, VIR_ERR_INVALID_ARG,
|
qemudReportError (dconn, NULL, NULL, VIR_ERR_INVALID_ARG,
|
||||||
"%s", _("only tcp URIs are supported for KVM migrations"));
|
"%s", _("only tcp URIs are supported for KVM migrations"));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
Loading…
Reference in New Issue
Block a user