commit virt-viewer for openSUSE:Factory
Hello community, here is the log from the commit of package virt-viewer for openSUSE:Factory checked in at 2011-11-29 12:52:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old) and /work/SRC/openSUSE:Factory/.virt-viewer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "virt-viewer", Maintainer is "CARNOLD@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes 2011-10-20 14:13:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 2011-11-29 12:53:02.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 21 16:22:57 MST 2011 - carnold@novell.com + +- Always use canonical URI from libvirt connection + virtview-git-canonical-uri.patch + +------------------------------------------------------------------- New: ---- virtview-git-canonical-uri.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-viewer.spec ++++++ --- /var/tmp/diff_new_pack.lE0pzX/_old 2011-11-29 12:53:03.000000000 +0100 +++ /var/tmp/diff_new_pack.lE0pzX/_new 2011-11-29 12:53:03.000000000 +0100 @@ -40,6 +40,7 @@ Patch12: virtview-git-wildcard-hostname.patch Patch13: virtview-git-fn-key.patch Patch14: virtview-git-window-wait.patch +Patch15: virtview-git-canonical-uri.patch Patch20: netcat.diff Patch21: windows-keycombo.patch Patch22: netware-keycombo.patch @@ -92,6 +93,7 @@ %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 ++++++ report-error.patch ++++++ --- /var/tmp/diff_new_pack.lE0pzX/_old 2011-11-29 12:53:03.000000000 +0100 +++ /var/tmp/diff_new_pack.lE0pzX/_new 2011-11-29 12:53:03.000000000 +0100 @@ -2,7 +2,7 @@ =================================================================== --- virt-viewer-0.4.1.orig/src/virt-viewer.c +++ virt-viewer-0.4.1/src/virt-viewer.c -@@ -423,6 +423,7 @@ virt_viewer_initial_connect(VirtViewerAp +@@ -426,6 +426,7 @@ virt_viewer_initial_connect(VirtViewerAp } else { virt_viewer_app_simple_message_dialog(app, _("Cannot find guest domain %s"), priv->domkey); ++++++ virtview-git-canonical-uri.patch ++++++ Subject: Always use canonical URI from libvirt connection From: Daniel P. Berrange berrange@redhat.com Mon Nov 7 11:17:05 2011 +0000 Date: Mon Nov 7 11:17:41 2011 +0000: Git: 9319081827c096120c1a782b5dbc6924e9cd9eff The URI we feed into libvirt may be an alias, so always query the actual URI used internally Index: virt-viewer-0.4.1/src/virt-viewer.c =================================================================== --- virt-viewer-0.4.1.orig/src/virt-viewer.c +++ virt-viewer-0.4.1/src/virt-viewer.c @@ -285,6 +285,7 @@ virt_viewer_extract_connect_info(VirtVie gchar *transport = NULL; gchar *user = NULL; gint port = 0; + gchar *uri = NULL; virt_viewer_app_free_connect_info(app); @@ -319,7 +320,8 @@ virt_viewer_extract_connect_info(VirtVie else DEBUG_LOG("Guest graphics address is %s", unixsock); - if (virt_viewer_util_extract_host(priv->uri, NULL, &host, &transport, &user, &port) < 0) { + uri = virConnectGetURI(priv->conn); + if (virt_viewer_util_extract_host(uri, NULL, &host, &transport, &user, &port) < 0) { virt_viewer_app_simple_message_dialog(app, _("Cannot determine the host for the guest %s"), priv->domkey); goto cleanup; @@ -352,6 +354,7 @@ virt_viewer_extract_connect_info(VirtVie g_free(type); g_free(xpath); g_free(xmldesc); + g_free(uri); return retval; } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de