[virt-tools-list] [virt-viewer] Fix spice-gtk check in configure.ac

2012-11-13 Thread Christophe Fergeau
The check that at least one of spice-gtk and gtk-vnc is present uses a wrong variable name to check for spice-gtk presence, which causes the check to think it's never present. This would make gtk-vnc presence mandatory. This commit fixes the name of the spice-gtk variable ($have_gtk_spice -

[virt-tools-list] [virt-viewer][PATCH v2] Reconnect to libvirtd after connection breaks

2012-11-13 Thread Michal Privoznik
Currently, if user wants to reconnect to a domain he can use '-r' cmd line argument. This makes virt-viewer listen to domain events. However, if connection to libvirtd breaks somehow, we will receive no longer any event. Hence we must reconnect to the libvirt. --- diff to v1: -clean the patch up

Re: [virt-tools-list] [virt-viewer] Fix spice-gtk check in configure.ac

2012-11-13 Thread Michal Privoznik
On 13.11.2012 11:42, Christophe Fergeau wrote: The check that at least one of spice-gtk and gtk-vnc is present uses a wrong variable name to check for spice-gtk presence, which causes the check to think it's never present. This would make gtk-vnc presence mandatory. This commit fixes the name

[virt-tools-list] [virt-viewer][PATCH 0/3] Couple of cleanups

2012-11-13 Thread Michal Privoznik
In order to make syntax-check pass. These patches should be applied on the top of https://www.redhat.com/archives/virt-tools-list/2012-November/msg00075.html otherwise AUTHORS would need update (add /me). Michal Privoznik (3): cfg.mk: Don't require bindtextdomain directly AUTHORS: add

Re: [virt-tools-list] [virt-viewer][PATCH v2] Reconnect to libvirtd after connection breaks

2012-11-13 Thread Christophe Fergeau
On Tue, Nov 13, 2012 at 11:57:31AM +0100, Michal Privoznik wrote: Currently, if user wants to reconnect to a domain he can use '-r' cmd line argument. This makes virt-viewer listen to domain events. However, if connection to libvirtd breaks somehow, we will receive no longer any event. Hence

[virt-tools-list] [virt-viewer][PATCH 1/3] cfg.mk: Don't require bindtextdomain directly

2012-11-13 Thread Michal Privoznik
With current implementation, all binaries that need it call bindtextdomain but not directly. They call a helper function instead. This makes, however, syntax-check fail as it cannot recognize it. --- cfg.mk |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cfg.mk

[virt-tools-list] Screenshot improvements

2012-11-13 Thread Christophe Fergeau
In relation to https://bugzilla.redhat.com/show_bug.cgi?id=875126 this series makes some improvements to the screenshot saving code. ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list

[virt-tools-list] [virt-viewer 3/3] Make sure png screenshots have a .png extensions

2012-11-13 Thread Christophe Fergeau
When falling back to saving to .png, the filename might not end with .png. This commit appends the .png extension to the screenshot filename if it's missing. --- src/virt-viewer-window.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/virt-viewer-window.c

[virt-tools-list] [virt-viewer 1/3] Set a default dir/name for screenshots

2012-11-13 Thread Christophe Fergeau
It makes sense for the screenshots to be saved in ~/Images, especially as otherwise the filechooser will display 'recent documents' to which we cannot save. This commit also sets the default screenshot name to 'Screenshot'. --- src/virt-viewer-window.c | 8 +--- 1 file changed, 5

[virt-tools-list] [virt-viewer 2/3] Allow to save to other formats than png

2012-11-13 Thread Christophe Fergeau
Currently, the screenshots can only be saved to png. This commit checks if the file extension is a known one, and will save to this format if it is. Otherwise it will fallback to saving to png. --- src/virt-viewer-window.c | 55 ++-- 1 file changed, 53

Re: [virt-tools-list] [libosinfo 3/4] Don't assume target disk

2012-11-13 Thread Christophe Fergeau
On Mon, Nov 12, 2012 at 04:22:12PM +0100, Zeeshan Ali (Khattak) wrote: On Mon, Nov 12, 2012 at 11:47 AM, Christophe Fergeau cferg...@redhat.com wrote: On Sun, Nov 11, 2012 at 08:14:57PM +0100, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Instead of

Re: [virt-tools-list] [libosinfo 1/4] Add InstallScript:expected-path-format

2012-11-13 Thread Christophe Fergeau
On Mon, Nov 12, 2012 at 04:32:29PM +0100, Zeeshan Ali (Khattak) wrote: Ah ok, might be worth explicitly spelling out that the drive name should not be there as this is not your typical Windows path. I do spell out in the docs of the appropriate getters: Also note that in case of

[virt-tools-list] Custom KVM with Virt Manager not starting

2012-11-13 Thread Ekrem Sonmemis
Dear List, I have been trying to use VMM with my custom KVM but have not been able to get it to work. After creating a custom KVM-QEMU installation which works as intended, I installed libvirt and VMM and noticed that the KVM-QEMU VMs being created were not running on my custom version.

Re: [virt-tools-list] [virt-viewer][PATCH v2] Reconnect to libvirtd after connection breaks

2012-11-13 Thread Michal Privoznik
On 13.11.2012 12:30, Christophe Fergeau wrote: On Tue, Nov 13, 2012 at 11:57:31AM +0100, Michal Privoznik wrote: Currently, if user wants to reconnect to a domain he can use '-r' cmd line argument. This makes virt-viewer listen to domain events. However, if connection to libvirtd breaks

Re: [virt-tools-list] [libosinfo 3/4] Don't assume target disk

2012-11-13 Thread Zeeshan Ali (Khattak)
On Tue, Nov 13, 2012 at 1:19 PM, Christophe Fergeau cferg...@redhat.com wrote: On Mon, Nov 12, 2012 at 04:22:12PM +0100, Zeeshan Ali (Khattak) wrote: On Mon, Nov 12, 2012 at 11:47 AM, Christophe Fergeau cferg...@redhat.com wrote: On Sun, Nov 11, 2012 at 08:14:57PM +0100, Zeeshan Ali (Khattak)

[virt-tools-list] [libosinfo v2 11/11] Separate root user passwd setup in fedora installer

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Separate out root and user password setup in fedora installer so that root account is not made passwordless just because user password was not specified. --- data/install-scripts/fedora.xml | 9 ++--- 1 file changed, 6 insertions(+), 3

[virt-tools-list] [libosinfo v2 04/11] Allow apps to specify install script disk

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-cmd.xml | 14 +- data/install-scripts/windows-sif.xml | 2 +- osinfo/libosinfo.syms| 3 +++ osinfo/osinfo_install_config.c | 28

[virt-tools-list] [libosinfo v2 02/11] Don't assume avatar location and disk

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Instead of hardcoding avatar path and disk, lets get those from application. --- data/install-scripts/fedora.xml | 26 +--- data/install-scripts/windows-cmd.xml | 4 ++- osinfo/libosinfo.syms| 6 +++-

[virt-tools-list] [libosinfo v2 03/11] Allow apps to specify target disk

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/fedora.xml | 84 +-- data/install-scripts/windows-cmd.xml | 14 +- data/install-scripts/windows-unattend.xml | 32 ++-- osinfo/libosinfo.syms | 3

[virt-tools-list] [libosinfo v2 01/11] Add InstallScript:path-format

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Inform the applications in which format the paths are expected by the installer. --- data/install-scripts/windows-cmd.xml | 2 +- data/install-scripts/windows-reg.xml | 2 +- data/install-scripts/windows-sif.xml | 4 ++--

[virt-tools-list] [libosinfo v2 07/11] Product key is optional for win7

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-unattend.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml index 2248610..80b2350 100644 ---

[virt-tools-list] [libosinfo v2 08/11] win7 desktop installer can also use product key

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-unattend.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml index 80b2350..c43b153 100644 ---

[virt-tools-list] [libosinfo v2 09/11] Document osinfo_install_script_get_product_key_format

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Document the format of the string returned by this function. --- osinfo/osinfo_install_script.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c index

[virt-tools-list] [libosinfo v2 10/11] Specify product key format for windows installers

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-sif.xml | 4 ++-- data/install-scripts/windows-unattend.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/install-scripts/windows-sif.xml b/data/install-scripts/windows-sif.xml

[virt-tools-list] [libosinfo v2 05/11] Add a NULL check

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- osinfo/osinfo_entity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/osinfo/osinfo_entity.c b/osinfo/osinfo_entity.c index 9fabc46..348981e 100644 --- a/osinfo/osinfo_entity.c +++ b/osinfo/osinfo_entity.c @@ -221,6 +221,7 @@ void

[virt-tools-list] [libosinfo v2 06/11] Remove now redundant code in InstallConfigParam

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Remove private structure and finalize implementation. This should have been part of commit ee9e797. --- osinfo/osinfo_install_config_param.c | 29 - 1 file changed, 29 deletions(-) diff --git

Re: [virt-tools-list] [virt-viewer][PATCH 1/3] cfg.mk: Don't require bindtextdomain directly

2012-11-13 Thread Eric Blake
[adding gnulib] On 11/13/2012 04:28 AM, Michal Privoznik wrote: With current implementation, all binaries that need it call bindtextdomain but not directly. They call a helper function instead. This makes, however, syntax-check fail as it cannot recognize it. --- cfg.mk |3 ++- 1

[virt-tools-list] [libosinfo v5 10/12] Specify product key format for windows installers

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-sif.xml | 2 ++ data/install-scripts/windows-unattend.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/data/install-scripts/windows-sif.xml b/data/install-scripts/windows-sif.xml index

[virt-tools-list] [libosinfo v5 07/12] Product key is optional for win7

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-unattend.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml index 509f18a..baa8059 100644 ---

[virt-tools-list] [libosinfo v5 11/12] Separate root user passwd setup in fedora installer

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Separate out root and user password setup in fedora installer so that root account is not made passwordless just because user password was not specified. --- data/install-scripts/fedora.xml | 9 ++--- 1 file changed, 6 insertions(+), 3

[virt-tools-list] [libosinfo v5 08/12] win7 desktop installer can also use product key

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-unattend.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml index baa8059..78ca670 100644 ---

[virt-tools-list] [libosinfo v5 05/12] Add a NULL check

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- osinfo/osinfo_entity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/osinfo/osinfo_entity.c b/osinfo/osinfo_entity.c index 9fabc46..348981e 100644 --- a/osinfo/osinfo_entity.c +++ b/osinfo/osinfo_entity.c @@ -221,6 +221,7 @@ void

[virt-tools-list] [libosinfo v5 12/12] Make 'filename' more consistent w/ other restrictions

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org 'filename' should be toplevel node under 'install-script' rather than an attribute of its toplevel 'template' child. The reason this was previously put in the incorrect place was that the first idea was to have multiple files under one install

[virt-tools-list] [libosinfo v5 02/12] Don't assume avatar location and disk

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Instead of hardcoding avatar path and disk, lets get those from application. --- data/install-scripts/fedora.xml | 26 +--- data/install-scripts/windows-cmd.xml | 4 ++- osinfo/libosinfo.syms| 6 +++-

[virt-tools-list] [libosinfo v5 06/12] Remove now redundant code in InstallConfigParam

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Remove private structure and finalize implementation. This should have been part of commit ee9e797. --- osinfo/osinfo_install_config_param.c | 29 - 1 file changed, 29 deletions(-) diff --git

[virt-tools-list] [libosinfo v5 03/12] Allow apps to specify target disk

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/fedora.xml | 84 +-- data/install-scripts/windows-cmd.xml | 14 +- data/install-scripts/windows-unattend.xml | 32 ++-- osinfo/libosinfo.syms | 3

[virt-tools-list] [libosinfo v5 04/12] Allow apps to specify install script disk

2012-11-13 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/install-scripts/windows-cmd.xml | 14 +- data/install-scripts/windows-sif.xml | 2 +- osinfo/libosinfo.syms| 3 +++ osinfo/osinfo_install_config.c | 28