spice: set merge-lists
PATCH 1/1 spice: set merge-lists
This way you can use -spice multiple times on the command line and qemu will actually pick up all options.
--- ui/spice-core.c | 1 + 1 file changed, 1 insertion(+)
ui/spice-core.c +1 -0
@@ -412,6 +412,7 @@ static SpiceChannelList *qmp_query_spice_channels(void)static QemuOptsList qemu_spice_opts = { .name ="spice" , + .merge_lists = true, .head =QTAILQ_HEAD_INITIALIZER (qemu_spice_opts.head), .desc = { {
Signature · 1 line
1.8.3.1
Hi
Quoted 4 lines · Gerd Hoffmann
This way you can use -spice multiple times on the command line and qemu will actually pick up all options.
Is this actually a good thing to have? vnc doesn't have it for example. Perhaps some day we may want to have -spice for difference server instances? (although there are some parameters that would be global, like gl/rendernode)
Quoted 21 lines
Signed-off-by Gerd Hoffmann <[email protected]>--- ui/spice-core.c | 1 + 1 file changed, 1 insertion(+)ui/spice-core.c +1
-1@@ -412,6 +412,7 @@ static SpiceChannelList *qmp_query_spice_channels(void)static QemuOptsList qemu_spice_opts = { .name ="spice" , + .merge_lists = true, .head =QTAILQ_HEAD_INITIALIZER (qemu_spice_opts.head), .desc = { { --1.8.3.1
Quoted 1 line
--
Marc-André Lureau
Quoted 5 lines · Marc-André Lureau
Hi
On Tue, Feb 21, 2017 at 12:00 PM Gerd Hoffmann <[email protected]> wrote:
Quoted 8 lines
This way you can use -spice multiple times on the command line and qemu will actually pick up all options.
Is this actually a good thing to have? vnc doesn't have it for example. Perhaps some day we may want to have -spice for difference server instances?
Is that likely? The use case for multiple vnc server instances is multiple displays, which is not a problem for spice because it has better multihead support. Also spice-server library doesn't support multiple instances today, are there plans to actually change that?
But, yes, if we want multiple instances some day this is probably a bad idea ...
cheers,
Gerd