aboutsummaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-06 12:17:04 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-06 14:36:11 -0500
commitdc9ca4ba27be4fe6a0284061b8f056c4364fb0d9 (patch)
treebe8bc7fbdb8090b89e1b0e3b3b7fdf5cc0d1506f /qemu-config.c
parent5dc519ef9207bd7d209c31cf885a6c849c615f98 (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.c')
0 files changed, 0 insertions, 0 deletions