All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: Add spice vdagent support for upstream qemu
@ 2013-03-18 15:49 fantonifabio
  2013-03-25 12:29 ` Ian Jackson
  0 siblings, 1 reply; 6+ messages in thread
From: fantonifabio @ 2013-03-18 15:49 UTC (permalink / raw)
  To: xen-devel; +Cc: Fabio Fantoni, Ian.Jackson, Ian.Campbell, Stefano.Stabellini

- Enable vdagent on upstream qemu if spice is used.

Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
---
 tools/libxl/libxl_dm.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index a8a36d7..110f1dc 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -427,6 +427,10 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
 
             flexarray_append(dm_args, "-spice");
             flexarray_append(dm_args, spiceoptions);
+            flexarray_vappend(dm_args, "-device", "virtio-serial", "-chardev",
+                "spicevmc,id=vdagent,name=vdagent", "-device",
+                "virtserialport,chardev=vdagent,name=com.redhat.spice.0",
+                NULL);
         }
 
         switch (b_info->u.hvm.vga.kind) {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-22 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 15:49 [PATCH] libxl: Add spice vdagent support for upstream qemu fantonifabio
2013-03-25 12:29 ` Ian Jackson
2013-03-25 14:46   ` Fabio Fantoni
2013-03-26 16:30     ` Ian Jackson
2013-03-26 17:42       ` Fabio Fantoni
2013-04-22 12:11         ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.