Skip to contentSkip to conversation

spice: set merge-lists

PATCH In review Gerd Hoffmann 2 participants 3 messages Feb 21, 2017

lore
Share & tools
lore
#0 lore raw

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
index 39ccab7..d613f1a 100644
@@ -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
#1 lore raw

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
---
 ui/spice-core.c | 1 +
 1 file changed, 1 insertion(+)
ui/spice-core.c +1 -1
index 39ccab7..d613f1a 100644
@@ -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

#2 lore raw
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