mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
qemu: command: Remove condition to use default sheepdog port
Since we now set the default ports when parsing disks, it's not necessary to have default port numbers encoded in the command line generator.
This commit is contained in:
@@ -938,8 +938,7 @@ qemuBuildNetworkDriveStr(virStorageSourcePtr src,
|
||||
goto cleanup;
|
||||
} else if (src->nhosts == 1) {
|
||||
if (virAsprintf(&ret, "sheepdog:%s:%s:%s",
|
||||
src->hosts->name,
|
||||
src->hosts->port ? src->hosts->port : "7000",
|
||||
src->hosts->name, src->hosts->port,
|
||||
src->path) < 0)
|
||||
goto cleanup;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user