fixup! display: add -display spice-app launching a Spice client

Submitted by marcandre.lureau@redhat.com on Feb. 22, 2019, 6:07 a.m.

Details

Message ID 20190222060759.17906-1-marcandre.lureau@redhat.com
State New
Headers show
Series "fixup! display: add -display spice-app launching a Spice client" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

marcandre.lureau@redhat.com Feb. 22, 2019, 6:07 a.m.
---
 ui/spice-app.c | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/ui/spice-app.c b/ui/spice-app.c
index 4f5229f3ee..925b27b708 100644
--- a/ui/spice-app.c
+++ b/ui/spice-app.c
@@ -181,6 +181,8 @@  static void spice_app_display_init(DisplayState *ds, DisplayOptions *opts)
     g_app_info_launch_default_for_uri(uri, NULL, &err);
     if (err) {
         error_report("Failed to launch %s URI: %s", uri, err->message);
+        error_report("You need a capable Spice client, "
+                     "such as virt-viewer 8.0");
         exit(1);
     }
     g_free(uri);