Marc-André Lureau 79216718f9 spice: merge options lists
Passing several -spice options to qemu command line, or calling
several time qemu_opts_set() will ignore all but the first option
list. Since the spice server is a singleton, it makes sense to merge
all the options, the last value being the one taken into account.

This changes the behaviour from, for ex:
$ qemu... -spice port=5900 -spice port=5901 -> port: 5900
to:
$ qemu... -spice port=5900 -spice port=5901 -> port: 5901

(if necessary we could instead produce an error when an option is
given twice, although this makes handling default values and such more
complicated)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Victor Toso <victortoso@redhat.com>
Message-id: 20190221110703.5775-5-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-02-21 14:09:17 +01:00
..
2019-02-05 10:45:44 +01:00
2019-02-21 11:45:19 +01:00
2019-01-14 11:04:35 +00:00
2019-02-05 10:45:44 +01:00
2019-02-05 10:45:44 +01:00
2019-02-05 10:45:44 +01:00
2019-02-21 14:09:17 +01:00
2019-02-05 16:50:18 +01:00
2019-02-05 10:45:44 +01:00