]> Git Repo - qemu.git/commit
Modify qemu_opt_rename to realize renaming all items in opts
authorJun Li <[email protected]>
Wed, 24 Sep 2014 05:45:27 +0000 (13:45 +0800)
committerStefan Hajnoczi <[email protected]>
Fri, 3 Oct 2014 09:30:33 +0000 (10:30 +0100)
commit20d6cd47d0459bdc6a8b64e7abe8f713e0d4718e
tree6abc65004d0462e53429be48d6c999fcdf6b5ca0
parentd1319b077a4bd980ca1b8a167b02b519330dd26b
Modify qemu_opt_rename to realize renaming all items in opts

Add realization of rename all items in opts for qemu_opt_rename.
e.g:
When add bps twice in command line, need to rename all bps to
throttling.bps-total.

This patch solved following bug:
Bug 1145586 - qemu-kvm will give strange hint when add bps twice for a drive
ref:https://bugzilla.redhat.com/show_bug.cgi?id=1145586

[Resolved conflict with commit 5abbf0ee4d87c695deb1c3fca9bb994b93a3e3be
("block: Catch simultaneous usage of options and their aliases").  Check
for simultaneous use first, and then loop over all options.
--Stefan]

Signed-off-by: Jun Li <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: 1411537527[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
blockdev.c
This page took 0.023258 seconds and 4 git commands to generate.