]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vmspawn: Use builtin vdagent instead of spicevmc
authorDaan De Meyer <daan@amutable.com>
Mon, 11 May 2026 11:42:53 +0000 (13:42 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 11 May 2026 19:10:48 +0000 (21:10 +0200)
The builtin one also makes the clipboard and such work. spicevmc
is only required for remote desktop use cases, so let's use the
builtin one instead.

src/vmspawn/vmspawn.c

index f49b36af1e866ee4bbea812c600bae889659389c..27fa3501ee5f355c7bcd6b11e7e432862b753c62 100644 (file)
@@ -2965,9 +2965,9 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) {
                         return r;
 
                 r = qemu_config_section(config_file, "chardev", "vdagent",
-                                        "backend", "spicevmc",
-                                        "debug", "0",
-                                        "name", "vdagent");
+                                        "backend", "qemu-vdagent",
+                                        "clipboard", "on",
+                                        "debug", "0");
                 if (r < 0)
                         return r;