diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-06 12:17:04 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-06 14:36:11 -0500 |
commit | dc9ca4ba27be4fe6a0284061b8f056c4364fb0d9 (patch) | |
tree | be8bc7fbdb8090b89e1b0e3b3b7fdf5cc0d1506f /qemu-config.h | |
parent | 5dc519ef9207bd7d209c31cf885a6c849c615f98 (diff) |
Never overwrite a QemuOpt
Rather than overwriting a QemuOpt, just add a new one to the tail and
always do a reverse search for parameters to preserve the same
behaviour. We use this order so that foreach() iterates over the opts
in their original order.
This will allow us handle options where multiple values for the same
parameter is allowed - e.g. -net user,hostfwd=
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-config.h')
0 files changed, 0 insertions, 0 deletions