> Missing commit description:
>
> What problem are you trying to solve?
>
I want to log the storage (iops per second) and
network speed (packets and bandwidth per second)
I want to limit the network traffic to a specific bandwidth.
>
> The "Signed-off-by" goes here.
>
> > diff --git a/block/
find_opts("bandwidth-opts"),
+ optarg, 1)) {
+exit(1);
+}
+break;
case QEMU_OPTION_vnc:
#ifdef CONFIG_VNC
display_remote++;
@@ -3862,6 +3893,8 @@ int main(int argc, char **argv, char **envp)
exit(1);
}
+bandwidth_parse(qemu_opts_find(qemu_find_opts("bandwidth-opts"), NULL));
+
/*
* Get the default machine options from the machine if it is not already
* specified either by the configuration file or by the command line.
--
1.9.1
Signed-off-by: Harald Schieche