mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-05 11:39:54 +00:00
spice: use a default name for the server
If no -name is given, let's use a friendly "QEMU version" server name. This is sometime exposed on spice client side, for example on remote-viewer title. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Victor Toso <victortoso@redhat.com> Message-id: 20190221110703.5775-11-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
42176d7703
commit
4c77ee12da
@ -785,7 +785,7 @@ void qemu_spice_init(void)
|
||||
|
||||
qemu_opt_foreach(opts, add_channel, &tls_port, &error_fatal);
|
||||
|
||||
spice_server_set_name(spice_server, qemu_name);
|
||||
spice_server_set_name(spice_server, qemu_name ?: "QEMU " QEMU_VERSION);
|
||||
spice_server_set_uuid(spice_server, (unsigned char *)&qemu_uuid);
|
||||
|
||||
seamless_migration = qemu_opt_get_bool(opts, "seamless-migration", 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user