diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2025-03-10 11:46:13 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2025-05-24 16:33:18 +0200 |
commit | 42000e0013709f21b54f71b63525c22cb6b92d5d (patch) | |
tree | 05daab3f1ad52e137900143bb9621df1bf1b236c | |
parent | 5d56bff11e3d7fdbbf7fda6c9a8ebd0d6b7a7bac (diff) | |
download | qemu-42000e0013709f21b54f71b63525c22cb6b92d5d.zip qemu-42000e0013709f21b54f71b63525c22cb6b92d5d.tar.gz qemu-42000e0013709f21b54f71b63525c22cb6b92d5d.tar.bz2 |
ui/vdagent: remove migration blocker
Fixes: https://issues.redhat.com/browse/RHEL-81894
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | ui/vdagent.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/vdagent.c b/ui/vdagent.c index adc8755..c0746fe 100644 --- a/ui/vdagent.c +++ b/ui/vdagent.c @@ -6,7 +6,6 @@ #include "qemu/option.h" #include "qemu/units.h" #include "hw/qdev-core.h" -#include "migration/blocker.h" #include "ui/clipboard.h" #include "ui/console.h" #include "ui/input.h" @@ -33,9 +32,6 @@ struct VDAgentChardev { Chardev parent; - /* TODO: migration isn't yet supported */ - Error *migration_blocker; - /* config */ bool mouse; bool clipboard; @@ -673,10 +669,6 @@ static void vdagent_chr_open(Chardev *chr, return; #endif - if (migrate_add_blocker(&vd->migration_blocker, errp) != 0) { - return; - } - vd->mouse = VDAGENT_MOUSE_DEFAULT; if (cfg->has_mouse) { vd->mouse = cfg->mouse; @@ -1076,8 +1068,6 @@ static void vdagent_chr_init(Object *obj) VDAgentChardev *vd = QEMU_VDAGENT_CHARDEV(obj); vd->outbuf = g_byte_array_new(); - error_setg(&vd->migration_blocker, - "The vdagent chardev doesn't yet support migration"); vmstate_register_any(NULL, &vmstate_vdagent, vd); } @@ -1085,7 +1075,6 @@ static void vdagent_chr_fini(Object *obj) { VDAgentChardev *vd = QEMU_VDAGENT_CHARDEV(obj); - migrate_del_blocker(&vd->migration_blocker); vdagent_disconnect(vd); if (vd->mouse_hs) { qemu_input_handler_unregister(vd->mouse_hs); |