diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 04c8df7232492e6b80d14a3e172e4f061b8c7988..c467092bcc4fb4a57a0d5c29f3d5804fbb9ba8ec 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -3264,6 +3264,9 @@ qemuBuildNetworkDriveURI(virStorageSourcePtr src, case VIR_STORAGE_NET_PROTOCOL_LAST: case VIR_STORAGE_NET_PROTOCOL_NONE: + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Unexpected network protocol '%s'"), + virStorageNetProtocolTypeToString(src->protocol)); goto cleanup; }