[gnome-boxes/always-recreate-GVirConfigDomainGraphicsSpice] vm-configurator: GraphicsSpice gets recreated on startup
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/always-recreate-GVirConfigDomainGraphicsSpice] vm-configurator: GraphicsSpice gets recreated on startup
- Date: Fri, 17 Apr 2020 12:36:27 +0000 (UTC)
commit b474acd02362c43c3877f61b3bad3fe3b3002b67
Author: Manuel Wassermann <manuel wassermann97 gmail com>
Date: Wed Apr 15 17:46:43 2020 +0200
vm-configurator: GraphicsSpice gets recreated on startup
Fixes: #507
src/vm-configurator.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 361b5882..94e592b2 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -274,8 +274,6 @@ public static async void update_existing_domain (Domain domain,
foreach (var device in domain.get_devices ()) {
if (device is DomainInterface)
iface = device as DomainInterface;
- else if (device is DomainGraphicsSpice)
- graphics = device as DomainGraphicsSpice;
else if (device is DomainChannel) {
var device_channel = device as DomainChannel;
if (device_channel.get_target_name () == WEBDAV_CHANNEL_URI)
@@ -316,8 +314,6 @@ else if (device is DomainDisk) {
enable_boot_menu (domain, supports_alternative_boot_device);
- if (graphics != null)
- devices.prepend (create_graphics_device ());
if (channel_webdav == null)
devices.prepend (create_webdav_channel ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]