Re: [virt-tools-list] libosinfo - implemented.

2010-02-01 Thread Daniel P. Berrange
On Wed, Jan 27, 2010 at 10:54:07PM -0500, Arjun Roy wrote: Hi all, Back in October I posted some thoughts on a library for dealing with OS metadata used by the various virt applications. As a refresher, here it is:

Re: [virt-tools-list] [PATCH 1/1] virt-viewer : add support for window scaling

2010-06-16 Thread Daniel P. Berrange
On Sat, Jun 12, 2010 at 11:07:34AM +1000, ronnie sahlberg wrote: Hi, Please find attached a small patch to virt-viewer. It adds a feature to scale the window by a certain percentage, when not in FullScreen mode. Default is 100, i.e. no scaling. But the scaling can be set to any factor

Re: [virt-tools-list] [PATCH 1/1] virt-viewer : add support for window scaling

2010-06-16 Thread Daniel P. Berrange
On Tue, Jun 15, 2010 at 08:41:48PM +0100, Richard W.M. Jones wrote: On Sat, Jun 12, 2010 at 11:07:34AM +1000, ronnie sahlberg wrote: Hi, Please find attached a small patch to virt-viewer. It adds a feature to scale the window by a certain percentage, when not in FullScreen mode.

Re: [virt-tools-list] [PATCH 2 of 2] Change network device for FreeBSD 8.x to e1000

2010-07-26 Thread Daniel P. Berrange
On Mon, Jul 26, 2010 at 12:24:08PM +0200, Diego E. 'Flameeyes' Pettenò wrote: # HG changeset patch # User Diego E. 'Flameeyes' Pettenò flamee...@gmail.com # Date 1280137796 -7200 # Node ID 2131113b03d4d6e2142b57f8067f0d414957e911 # Parent 687a4e73591c90eb7026cbeaf475864c43d23a35 Change

Re: [virt-tools-list] virt-manager tries to create the default storage pool automatically

2010-08-09 Thread Daniel P. Berrange
On Mon, Aug 09, 2010 at 08:58:14PM -0400, Cole Robinson wrote: On 08/07/2010 07:44 PM, Matthias Bolte wrote: I'm currently implementing the libvirt ESX storage driver and use virt-manager as a testing tool. I noticed that virt-manager automatically checks if there is a storage pool

Re: [virt-tools-list] Default use of caching on raw volumes

2010-08-18 Thread Daniel P. Berrange
On Wed, Aug 18, 2010 at 08:59:43AM -0600, Jamin W. Collins wrote: On 08/18/2010 08:35 AM, Cole Robinson wrote: I really think this default should be changed at the qemu level. IIRC qemu devs were okay with the idea of an adaptive cache default depending on the underlying storage or image

Re: [virt-tools-list] VirtManager iSCSI Volume

2010-08-24 Thread Daniel P. Berrange
On Tue, Aug 24, 2010 at 11:35:10AM +0930, Mike Hall wrote: Is is currently possible to set up iSCSI storage volumes for a KVM host using VirtManager? We're testing a CentOS 5.5 KVM host which will be converted to RHEL once we're satisfied it works. We can setup an iSCSI target in

[virt-tools-list] [PATCH 00/47] Restructure libosinfo codebase

2010-08-25 Thread Daniel P. Berrange
This (huge) patch series updates libosinfo to more closely follow common GLib/GObject design practice/coding standards. The bulk of this is re-engineering the public API and object relationships. The current code has created separate objects and classes for all major functional items, but the

[virt-tools-list] [PATCH 02/47] Move Makefile.am into each sub-dir

2010-08-25 Thread Daniel P. Berrange
Move Makefile.am into each sub-dir so that built objects end up in the same directory as the sources, instead of polluting the top level. This will also enable the gobject introspection makefile rules to be imported later * .gitignore: test-skeleton test-skeleton.sh * Makefile.am: Remove all

[virt-tools-list] [PATCH 06/47] Sanitize API naming for OsinfoEntity class

2010-08-25 Thread Daniel P. Berrange
The GObject naming conversion is lowercase, separated by underscores. This needs to be followed to allow gobject introspection to be auto-generated easily. * osinfo/osinfo_common.h: Remove declaration of methods that belong in osinfo_entity.h * osinfo/osinfo_entity.c, osinfo/osinfo_entity.h:

[virt-tools-list] [PATCH 18/47] Add constructors for all objects. Remove constructor for abstract list object

2010-08-25 Thread Daniel P. Berrange
While using g_object_new() is functionally fine, it is not type-safe/checked. It should generally only be used by bindings for non-C language. Add explicit constructors for every object and update all callers of g_object_new to use the new constructors. * osinfo/osinfo.h,

[virt-tools-list] [PATCH 10/47] Remove more malloc failure checks

2010-08-25 Thread Daniel P. Berrange
GLib will always abort() upon malloc failure, so there is no need to check return value of any g_object_new, g_new or g_strdup API call. Remove all this redundant ENOMEM checking * osinfo/osinfo_common.c, osinfo/osinfo_dataread.c, osinfo/osinfo_db.c, osinfo/osinfo_devicelist.c,

[virt-tools-list] [PATCH 09/47] Sanitize naming of filter object APIs

2010-08-25 Thread Daniel P. Berrange
The GObject naming conversion is lowercase, separated by underscores. This needs to be followed to allow gobject introspection to be auto-generated easily. * osinfo/osinfo_filter.c, osinfo/osinfo_filter.h: Convert API naming to use lowercase + underscores. Add an explicit constructor. ---

[virt-tools-list] [PATCH 12/47] Make osinfo_list_add into a public API

2010-08-25 Thread Daniel P. Berrange
Make osinfo_list_add a public API on OsinfoList since apps should be allowed to manipulate objects at will if they're not using the XML loader. This also avoids compile warnings from other objects using this API without it being declared * osinfo/osinfo_list.h, osinfo/osinfo_list.c: Make

[virt-tools-list] [PATCH 15/47] Remove unused error variables from more iterators

2010-08-25 Thread Daniel P. Berrange
The iterators used in the OsinfoDb class pass around an GError object but none of the codepaths can ever fail, since all the ENOMEM code was remove. The GError variable is thus redundant * osinfo/osinfo_common.h, osinfo/osinfo_db.c: Remove GError from the iterators --- osinfo/osinfo_common.h |

[virt-tools-list] [PATCH 21/47] Remove unused error strings

2010-08-25 Thread Daniel P. Berrange
Since most of the GError code was remove, the method __osinfoErrorToString is now unused, as are all the error strings. Remove them all * osinfo/osinfo_common.c, osinfo/osinfo_common.h: Remove __osinfoErrorToString and all strings --- osinfo/osinfo_common.c |8

[virt-tools-list] [PATCH 20/47] Make device object struct fully private

2010-08-25 Thread Daniel P. Berrange
Classes should not expose their private bits to each other. Make the OsinfoDevice private struct truely private. * osinfo/osinfo_common.h: Remove OsinfoDevicePrivate * osinfo/osinfo_device.c: Add OsinfoDevicePrivate * osinfo/osinfo_devicelist.c, osinfo/osinfo_hypervisorlist.c,

[virt-tools-list] [PATCH 26/47] Remove 2 unused struct definitions

2010-08-25 Thread Daniel P. Berrange
The __osinfoPopulateListArgs and __osinfoFilterPassArgs structs are not used anymore. * osinfo/osinfo_common.h: Remove unused structs --- osinfo/osinfo_common.h |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/osinfo/osinfo_common.h b/osinfo/osinfo_common.h index

[virt-tools-list] [PATCH 19/47] Make osinfo DB struct private change to use a OsinfoList internally

2010-08-25 Thread Daniel P. Berrange
Classes should expose their private bits to each other. Make the OsinfoDb private struct truely private. Switch from using a GTree in OsinfoDb over to a OsinfoList to simplify the code. * osinfo/osinfo_db.c, osinfo/osinfo_db.h: Add private data struct convert from OsinfoList instead of GTree *

[virt-tools-list] [PATCH 22/47] Replace some temporary GTree objects with GHashTable

2010-08-25 Thread Daniel P. Berrange
Using a GHashTable + GList combination instead of GTree and GPtrArray results in shorter, simpler code and is more inline with normal GLib practice. * osinfo/osinfo_common.h, osinfo/osinfo_db.c, osinfo/osinfo_db.h, osinfo/osinfo_list.c: Replace several GTree objects with GHashTable ---

[virt-tools-list] [PATCH 36/47] Remove osinfo common module

2010-08-25 Thread Daniel P. Berrange
Finally all objects are fully private and the common code module can be banished. * osinfo/osinfo_common.c, osinfo/osinfo_common.h: Delete * osinfo/Makefile.am, osinfo/osinfo.h: Remove osinfo_common.h * configure.ac: Use osinfo/osinfo_db.c in CONFIG_SRCDIR * osinfo/osinfo_dataread.c,

[virt-tools-list] [PATCH 29/47] Remove sections from hypervisor device list

2010-08-25 Thread Daniel P. Berrange
Arranging devices in sections against hypervisors duplicates information already available via the 'class' attribute on the device object. Removing this unneccessary data simplifies the code, allowing a pair of GTree maps to be replaced by a single GList. * data/libosinfo-dummy-data.xml: Remove

[virt-tools-list] [PATCH 42/47] Use pkg-config for checking for libxml

2010-08-25 Thread Daniel P. Berrange
Rather than creating huge amounts of m4 logic, just use pkg-config to check for libxml2 library. Make libxml2 compulsory * configure.ac: Simplify libxml2 check --- configure.ac | 47 + osinfo/osinfo_dataread.c | 10 - 2 files

[virt-tools-list] [PATCH 31/47] Turn OS relationships into a GList structure

2010-08-25 Thread Daniel P. Berrange
Simplify storage of OS relationships by using a single GList instead of a pair of GTree objects. The data access patterns mean there is no change in access efficiency * osinfo/osinfo_common.h, osinfo/osinfo_dataread.c, osinfo/osinfo_db.c, osinfo/osinfo_entity.c, osinfo/osinfo_os.c,

[virt-tools-list] [PATCH 23/47] Turn filter matching functions into formal APIs

2010-08-25 Thread Daniel P. Berrange
Instead of having the osinfo_common.c module poking into the private parts of OsinfoFilter and OsinfoEntity objects, move the code into OsinfoEntity and use formal APIs for all data access * osinfo/osinfo_filter.c, osinfo/osinfo_filter.h, osinfo/osinfo_entity.c, osinfo/osinfo_entity.h: Add

[virt-tools-list] [PATCH 24/47] Fix reference count handling in device list

2010-08-25 Thread Daniel P. Berrange
When adding an OsinfoEntity to an OsinfoList, an explicit reference should be taken on the entity, rather than relying on the caller to have done it. * osinfo/osinfo_list.c: Take an extra reference when adding an entity to the list * osinfo/osinfo_dataread.c: Release a reference after adding

[virt-tools-list] [PATCH 47/47] Add LGPLv2+ header to all source files

2010-08-25 Thread Daniel P. Berrange
330, Boston, MA 02111-1307 USA + * + * Authors: + * Arjun Roy ar...@redhat.com + * Daniel P. Berrange berra...@redhat.com + */ + #ifndef __OSINFO_H__ #define __OSINFO_H__ diff --git a/osinfo/osinfo_dataread.c b/osinfo/osinfo_dataread.c index ee4b929..80f67a9 100644 --- a/osinfo

[virt-tools-list] [PATCH 30/47] Remove sections from OS device list

2010-08-25 Thread Daniel P. Berrange
Arranging devices in sections against operating systems duplicates information already available via the 'class' attribute on the device object. Removing this unneccessary data simplifies the code, allowing a pair of GTree maps to be replaced by a single GList. * data/libosinfo-dummy-data.xml:

[virt-tools-list] [PATCH 35/47] Convert filter constraints from GTree to GHashTable

2010-08-25 Thread Daniel P. Berrange
Simply code and follow more normal GLib practice by using a GHashTable of GLists for filter property storage, instead of a GTree of GPtrArrays * osinfo/osinfo_filter.c, osinfo/osinfo_filter.h: Convert to use a GHashTable of GLists for filter properties * osinfo/osinfo_common.c,

[virt-tools-list] [PATCH 40/47] Run configure at end of autogen.sh

2010-08-25 Thread Daniel P. Berrange
It is usual practice to run configure at the end of autogen.sh to save having to manually run it afterwards * autogen.sh: Run configure --- autogen.sh |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/autogen.sh b/autogen.sh index 2bacd4c..de14206 100755 --- a/autogen.sh

[virt-tools-list] [PATCH 37/47] Fix filter class/object inheritance add constructor

2010-08-25 Thread Daniel P. Berrange
The OsinfoFilter structs mistakenly included the OsinfoEntity structs, even though the type inherits direct from GObject. * osinfo/osinfo_filter.c, osinfo/osinfo_filter.h: Fix struct parent, and add an explicit constructor --- osinfo/osinfo_filter.c |6 ++ osinfo/osinfo_filter.h |6

[virt-tools-list] [PATCH 43/47] Add a pkg-config data file for building apps

2010-08-25 Thread Daniel P. Berrange
* configure.ac: Generate libosinfo.pc * osinfo/Makefile.am: Install pkg-config file * osinfo/libosinfo-1.0.pc.in: Master pkg-config template --- .gitignore |1 + configure.ac |1 + osinfo/Makefile.am |5 - osinfo/libosinfo-1.0.pc.in | 11

[virt-tools-list] [PATCH 46/47] Add formal RPM build infrastructure

2010-08-25 Thread Daniel P. Berrange
}/%{name}-1.0/osinfo/ +%{_includedir}/%{name}-1.0/osinfo/*.h +%{_libdir}/pkgconfig/%{name}-1.0.pc +%if %{with_gir} +%{_datadir}/gir-1.0/Libosinfo-1.0.gir +%endif + +%changelog +* Wed Aug 25 2010 Daniel P. Berrange berra...@redhat.com - 0.2.0-1 +- Initial package diff --git a/mingw32

Re: [virt-tools-list] Windows XP 32 guest - i686 or x86_64

2010-09-21 Thread Daniel P. Berrange
On Tue, Sep 21, 2010 at 06:06:54PM +1000, Justin Clift wrote: On 09/20/2010 05:22 PM, Grant Williamson wrote: Hi, if I install a 32 bit Windows XP Guest using virt-manager, the default arch is set to x86_64. Is there any advantage using x86_64 or should I switch to i686?. Or does it make no

Re: [virt-tools-list] [PATCH] add AM_MAINTAINER_MODE macro

2010-10-15 Thread Daniel P. Berrange
On Fri, Oct 15, 2010 at 06:06:35AM -0600, Eric Blake wrote: On 10/15/2010 05:29 AM, Guido Günther wrote: Hi, On Wed, Sep 29, 2010 at 04:46:23PM +0200, Guido Günther wrote: Odd - I cannot find the original mail, even when looking in the archives:

Re: [virt-tools-list] [PATCH 0 of 4] RFC: add SPICE support (take 2)

2010-11-22 Thread Daniel P. Berrange
On Fri, Nov 19, 2010 at 09:48:10AM -0500, Cole Robinson wrote: On 11/17/2010 10:54 AM, Marc-André Lureau wrote: The following patches add basic SPICE configuration. SPICE support was recently added to libvirt. Second take, after the comments made by Cole Robinson. Thanks, pushed

Re: [virt-tools-list] [PATCH 1 of 5] viewer: split vnc display creation out of viewer_activate()

2010-12-09 Thread Daniel P. Berrange
On Tue, Nov 30, 2010 at 04:08:29PM +0100, Marc-André Lureau wrote: # HG changeset patch # User Marc-André Lureau marcandre.lur...@redhat.com # Date 1290186432 -3600 # Node ID fa619cc52b0cdac477e60dfbdae8921ad18ef236 # Parent fa512d3379da4ccbaa96e9849228b6ce5fe9543d viewer: split vnc display

Re: [virt-tools-list] [PATCH] build: make spice-gtk dependency optional

2010-12-14 Thread Daniel P. Berrange
Thanks, I've pushed this patch along with the other 5. So any further patches can be against the current upstream codebase. Regards, Daniel On Fri, Dec 10, 2010 at 12:33:49PM +0100, Marc-André Lureau wrote: # HG changeset patch # User Marc-André Lureau marcandre.lur...@redhat.com # Date

Re: [virt-tools-list] KVM/qemu memory/currentMemory

2011-01-05 Thread Daniel P. Berrange
On Tue, Jan 04, 2011 at 01:48:22PM -0700, Phil Meyer wrote: We have been experimenting with and trying to understand how to 'balloon' memory inside a KVM VM. Part of my problem was that over 15 years of experience managing Solaris based systems has set my assumptions incorrectly for Linux

Re: [virt-tools-list] virt-manager user support to run qemu-kvm process under system user for security

2011-01-20 Thread Daniel P. Berrange
On Tue, Jan 18, 2011 at 03:43:38PM +, Wu Haa wrote: Hi, If/when will 'chroot'/'runas user' be made available in virt-manager and xml config structure. QEMU-KVM Options -chroot dir Chroot to dir just before starting the VM. SELinux/AppArmour will provide stronger protection

Re: [virt-tools-list] C'ant migrate with virt-manager or virsh

2011-02-02 Thread Daniel P. Berrange
On Wed, Feb 02, 2011 at 09:25:47AM -0300, Bruno Lamps wrote: Updating the thread: I was using fedora 13 (kernel 2.6.32) in one machine and fedora 14 (kernel 2.6.35) in other, so I made a fresh install in the first machina, so now it's running fedora 14 with 2.6.35 x64 kernel, same as the

Re: [virt-tools-list] C'ant migrate with virt-manager or virsh

2011-02-03 Thread Daniel P. Berrange
On Thu, Feb 03, 2011 at 08:48:35AM -0300, Bruno Lamps wrote: Ok. While waiting for Daniel's, I tryed to add one more line to /etc/hosts. Now it looks like this: 127.0.0.1localhost.localdomain localhostlocalhost4 ::1 localhost6.localdomain6 localhost6 *192.168.0.67

Re: [virt-tools-list] C'ant migrate with virt-manager or virsh

2011-02-03 Thread Daniel P. Berrange
On Thu, Feb 03, 2011 at 11:51:35AM -0300, Bruno Lamps wrote: I opened tcp port 49160 in destination machine, tried to migrate the VM, and the log pointed a problem with port 49161. So I opened it and tryed again, and log said I had some problem with 49162. So I opened 49160:49168 tcp ports,

Re: [virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Daniel P. Berrange
On Thu, Feb 10, 2011 at 04:14:04PM +0530, Tapas Mishra wrote: I restored KVM guest on a Ubuntu server from a backup. I see some permissions problem. -rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml is the above permission on a conf file in /etc/libvirt/qemu/machine1.xml correct? If

Re: [virt-tools-list] question about clustering

2011-02-17 Thread Daniel P. Berrange
On Thu, Feb 17, 2011 at 09:10:01AM -0500, Kenneth Armstrong wrote: Ok, I'm trying to get my head wrapped around this: 1. I know that KVM apparently doesn't have the ability to share it's xml configuration files for the vm's across multiple nodes. However, for a live migration to work, the

[virt-tools-list] ANNOUNCE: virt-viewer 0.3.0 release with SPICE !

2011-02-21 Thread Daniel P. Berrange
I am please to announce that a virt-viewer release version 0.3.0 is now available: http://virt-manager.org/download/sources/virt-viewer/virt-viewer-0.3.0.tar.gz In this release - Add support for SPICE graphics client - Allow connections to VNC server over UNIX sockets - Improve error

Re: [virt-tools-list] ANNOUNCE: virt-viewer 0.3.0 release with SPICE !

2011-02-21 Thread Daniel P. Berrange
On Mon, Feb 21, 2011 at 04:44:08PM +0100, Marc-André Lureau wrote: Hi, Unfortunately, there is a little typo in configure.ac for Spice support AC_DEFINE([HAVE_SPICE], 1, [Have spice-gtk?])] should be: AC_DEFINE([HAVE_SPICE_GTK], 1, [Have spice-gtk?])] I informed Daniel about it, I

Re: [virt-tools-list] virt-manager, virtinst, virt-viewer moved to git

2011-03-14 Thread Daniel P. Berrange
On Mon, Mar 14, 2011 at 12:12:43PM -0400, Cole Robinson wrote: Hi all, I've converted the repos for virt-manager, virtinst, and virt-viewer to git. You can check them here: virtinst: http://git.fedorahosted.org/git/?p=python-virtinst.git;a=summary virt-manager:

Re: [virt-tools-list] virt-manager, virtinst, virt-viewer moved to git

2011-03-15 Thread Daniel P. Berrange
On Tue, Mar 15, 2011 at 10:51:56AM -0400, Cole Robinson wrote: On 03/14/2011 12:53 PM, Daniel P. Berrange wrote: On Mon, Mar 14, 2011 at 12:12:43PM -0400, Cole Robinson wrote: Hi all, I've converted the repos for virt-manager, virtinst, and virt-viewer to git. You can check them here

Re: [virt-tools-list] [PATCH 3/3] Add operating system data from inspection to Details-Overview.

2011-04-19 Thread Daniel P. Berrange
On Tue, Apr 19, 2011 at 12:08:07PM +0100, Richard W.M. Jones wrote: I forgot the all-important screenshot: http://oirase.annexia.org/tmp/vmm-details.png I had lots of problems editing the glade file. Glade-3 (glade3-3.10.0-1.fc15.x86_64) won't touch it at all. It gives this error:

Re: [virt-tools-list] [PATCH 3/3] Add operating system data from inspection to Details-Overview.

2011-04-19 Thread Daniel P. Berrange
On Tue, Apr 19, 2011 at 12:15:35PM +0100, Daniel P. Berrange wrote: On Tue, Apr 19, 2011 at 12:08:07PM +0100, Richard W.M. Jones wrote: I forgot the all-important screenshot: http://oirase.annexia.org/tmp/vmm-details.png I had lots of problems editing the glade file. Glade-3

Re: [virt-tools-list] [PATCH] Add operating system icon in the Details-Overview pane.

2011-04-20 Thread Daniel P. Berrange
On Tue, Apr 19, 2011 at 04:50:28PM +0100, Richard W.M. Jones wrote: This adds an icon to each Operating System section in the Details-Overview pane. If inspection completes while a guest's Details window is open, then the icon updates itself(!) Screenshots:

Re: [virt-tools-list] [PATCH] Add operating system icon in the Details-Overview pane.

2011-04-20 Thread Daniel P. Berrange
On Wed, Apr 20, 2011 at 11:55:28AM +0100, Daniel P. Berrange wrote: On Tue, Apr 19, 2011 at 04:50:28PM +0100, Richard W.M. Jones wrote: This adds an icon to each Operating System section in the Details-Overview pane. If inspection completes while a guest's Details window is open

Re: [virt-tools-list] [libvirt] qemu qxl video memory parameter - windows bsod with spice

2011-05-04 Thread Daniel P. Berrange
On Wed, May 04, 2011 at 07:52:37PM +0400, Emre Erenoglu wrote: Hi, Please see the below discussion with the spice community. libvirt is adding a parameter about video ram to qemu process and this parameter might be responsible of a crash in the qxl at higher resolutions. Spice people tell

Re: [virt-tools-list] [PATCH libosinfo] Add XML for Qemu/KVM USB devices

2011-06-06 Thread Daniel P. Berrange
On Fri, Jun 03, 2011 at 07:20:08PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Currently, it only has one device. --- data/devices/qemu-usb.xml | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644

Re: [virt-tools-list] [libosinfo] Add basic devices to RHEL OSes

2011-06-09 Thread Daniel P. Berrange
On Thu, Jun 09, 2011 at 04:41:40PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Like this? --- data/oses/rhel.xml | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/data/oses/rhel.xml b/data/oses/rhel.xml index

Re: [virt-tools-list] [libosinfo] Add more RHEL OS metadata

2011-06-15 Thread Daniel P. Berrange
On Sat, Jun 11, 2011 at 01:06:27AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Now libosinfo knows every RHEL OS known to python-virtinst. --- data/oses/rhel.xml | 45 + 1 files changed, 45 insertions(+), 0

Re: [virt-tools-list] [libosinfo] Add media information for f13 f14

2011-06-15 Thread Daniel P. Berrange
On Sat, Jun 11, 2011 at 01:20:22AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/fedora.xml | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/data/oses/fedora.xml b/data/oses/fedora.xml index 009bfc9..020fb23

Re: [virt-tools-list] [libosinfo] Add more Fedora OS metadata

2011-06-15 Thread Daniel P. Berrange
On Sat, Jun 11, 2011 at 03:13:47AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Now libosinfo knows every Fedora OS known to python-virtinst. --- data/oses/fedora.xml | 87 ++ 1 files changed, 87

Re: [virt-tools-list] [libosinfo] Add Windows OS metadata

2011-06-17 Thread Daniel P. Berrange
On Thu, Jun 16, 2011 at 07:49:12PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |3 +- data/oses/windows.xml | 72 + 2 files changed, 74 insertions(+), 1 deletions(-) create

Re: [virt-tools-list] [libosinfo] Add Windows OS metadata

2011-06-17 Thread Daniel P. Berrange
On Fri, Jun 17, 2011 at 11:18:34AM +0100, Richard W.M. Jones wrote: On Fri, Jun 17, 2011 at 10:38:43AM +0100, Daniel P. Berrange wrote: On Thu, Jun 16, 2011 at 08:14:00PM +0100, Richard W.M. Jones wrote: On Thu, Jun 16, 2011 at 07:49:12PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali

Re: [virt-tools-list] [libosinfo 2/5] Add Mandriva OS metadata

2011-06-17 Thread Daniel P. Berrange
On Thu, Jun 16, 2011 at 02:51:26AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |2 +- data/oses/mandriva.xml | 41 + 2 files changed, 42 insertions(+), 1 deletions(-) create mode 100644

Re: [virt-tools-list] [libosinfo 4/5] Add Ubuntu OS metadata

2011-06-17 Thread Daniel P. Berrange
On Thu, Jun 16, 2011 at 02:51:28AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |9 +- data/oses/ubuntu.xml | 74 + 2 files changed, 82 insertions(+), 1 deletions(-) create

Re: [virt-tools-list] [libosinfo] Correct a typo in all XML files

2011-06-17 Thread Daniel P. Berrange
On Thu, Jun 16, 2011 at 06:42:55PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/debian.xml|6 +++--- data/oses/fedora.xml|8 data/oses/generic-linux.xml |4 ++-- data/oses/mandriva.xml |8

Re: [virt-tools-list] [libosinfo 3/5] Add Debian OS metadata

2011-06-17 Thread Daniel P. Berrange
On Thu, Jun 16, 2011 at 02:51:27AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |2 +- data/oses/debian.xml | 35 +++ 2 files changed, 36 insertions(+), 1 deletions(-) create mode 100644

Re: [virt-tools-list] [libosinfo] Add Windows OS metadata

2011-06-17 Thread Daniel P. Berrange
On Fri, Jun 17, 2011 at 05:08:56PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |3 +- data/oses/windows.xml | 72 + 2 files changed, 74 insertions(+), 1 deletions(-) create

Re: [virt-tools-list] [libosinfo 5/5] Add generic Linux OS metadata

2011-06-17 Thread Daniel P. Berrange
On Thu, Jun 16, 2011 at 02:51:29AM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am | 17 + data/oses/generic-linux.xml | 29 + 2 files changed, 38 insertions(+), 8 deletions(-)

Re: [virt-tools-list] [libosinfo] Add Suse Linux Server OS metadata

2011-06-21 Thread Daniel P. Berrange
On Fri, Jun 17, 2011 at 06:19:49PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |2 +- data/oses/suse.xml| 23 +++ 2 files changed, 24 insertions(+), 1 deletions(-) create mode 100644 data/oses/suse.xml

Re: [virt-tools-list] [libosinfo] Add generic Linux OS metadata

2011-06-21 Thread Daniel P. Berrange
On Fri, Jun 17, 2011 at 06:20:39PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am | 17 +++-- data/oses/generic-linux.xml | 55 +++ 2 files changed, 64 insertions(+), 8

Re: [virt-tools-list] [libosinfo] Add Mandriva OS metadata

2011-06-21 Thread Daniel P. Berrange
On Fri, Jun 17, 2011 at 06:20:15PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |2 +- data/oses/mandriva.xml | 41 + 2 files changed, 42 insertions(+), 1 deletions(-) create mode 100644

Re: [virt-tools-list] [libosinfo 2/3] Add *BSD OS metadata

2011-06-23 Thread Daniel P. Berrange
On Wed, Jun 22, 2011 at 05:55:55PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |3 ++- data/oses/bsd.xml | 45 + 2 files changed, 47 insertions(+), 1 deletions(-) create mode

Re: [virt-tools-list] [libosinfo 3/3] Add some randome OS metadata

2011-06-23 Thread Daniel P. Berrange
On Wed, Jun 22, 2011 at 05:55:56PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Add MS-DOS and Novell Netware metadata. --- data/oses/Makefile.am |3 ++- data/oses/others.xml | 33 + 2 files changed, 35 insertions(+), 1

Re: [virt-tools-list] [libosinfo 1/3] Add Sun Solaris OS metadata

2011-06-23 Thread Daniel P. Berrange
On Wed, Jun 22, 2011 at 05:55:54PM +0300, Zeeshan Ali wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- data/oses/Makefile.am |3 ++- data/oses/solaris.xml | 33 + 2 files changed, 35 insertions(+), 1 deletions(-) create mode 100644

Re: [virt-tools-list] [PATCH] Add a 'class' attribute to OS

2011-06-29 Thread Daniel P. Berrange
On Wed, Jun 29, 2011 at 05:55:11PM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org This is the generic family this OS belongs to, for example Linux, Windows, Solaris, UNIX etc. --- data/oses/bsd.xml |4 ++ data/oses/centos.xml

Re: [virt-tools-list] [PATCH] Add a 'class' attribute to OS

2011-06-29 Thread Daniel P. Berrange
On Wed, Jun 29, 2011 at 09:06:13AM -0600, Eric Blake wrote: On 06/29/2011 09:00 AM, Daniel P. Berrange wrote: On Wed, Jun 29, 2011 at 05:55:11PM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org This is the generic family this OS belongs to, for example

Re: [virt-tools-list] [PATCH] Add a 'class' attribute to OS

2011-06-30 Thread Daniel P. Berrange
On Wed, Jun 29, 2011 at 05:27:15PM +0100, Richard W.M. Jones wrote: On Wed, Jun 29, 2011 at 09:06:13AM -0600, Eric Blake wrote: On 06/29/2011 09:00 AM, Daniel P. Berrange wrote: On Wed, Jun 29, 2011 at 05:55:11PM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha

Re: [virt-tools-list] [PATCH] Add a 'class' attribute to OS

2011-06-30 Thread Daniel P. Berrange
On Thu, Jun 30, 2011 at 10:30:47AM +0100, Richard W.M. Jones wrote: On Thu, Jun 30, 2011 at 10:16:11AM +0100, Daniel P. Berrange wrote: On Wed, Jun 29, 2011 at 05:27:15PM +0100, Richard W.M. Jones wrote: On Wed, Jun 29, 2011 at 09:06:13AM -0600, Eric Blake wrote: On 06/29/2011 09:00 AM

Re: [virt-tools-list] Win2003 VMs not shuting down

2011-07-01 Thread Daniel P. Berrange
On Thu, Jun 30, 2011 at 08:16:00PM +0100, Richard W.M. Jones wrote: On Thu, Jun 30, 2011 at 03:41:36PM -0300, Bruno Lamps wrote: =o Can I use the mouse with virsh commands? How? It's a good question. You will be able to send keys using virsh commands in some future version of libvirt.

Re: [virt-tools-list] virt-what and security?

2011-07-06 Thread Daniel P. Berrange
On Wed, Jul 06, 2011 at 10:15:10AM +0100, Richard W.M. Jones wrote: On Tue, Jul 05, 2011 at 10:06:01PM -0700, Stephen Hemminger wrote: [...] Why can lscpu find the same information without being root? Most of the checks (cpuid, file locations etc) can be found out by non-root. Only

Re: [virt-tools-list] virt-viewer 0.2.0, as listed on virt-manager download page

2011-07-12 Thread Daniel P. Berrange
On Mon, Jul 11, 2011 at 11:31:06AM -0700, Jason Helfman wrote: On Mon, Jul 11, 2011 at 02:43:52PM +0100, Richard W.M. Jones thus spake: On Sat, Jul 09, 2011 at 12:02:00PM -0700, Jason Helfman wrote: Hi, Is this the most recent official release, as listed on the webpage for download on

[virt-tools-list] ANNOUNCE: virt-viewer 0.4.0 released

2011-07-12 Thread Daniel P. Berrange
I am pleased to announce that a new release of virt-viewer 0.4.0 is now available for download: http://virt-manager.org/download/sources/virt-viewer/virt-viewer-0.4.0.tar.gz New in this release - Require SPICE-GTK = 0.6 - Hide menu bar when going fullscreen - Support building against

Re: [virt-tools-list] ANNOUNCE: virt-viewer 0.4.0 released

2011-07-12 Thread Daniel P. Berrange
On Tue, Jul 12, 2011 at 08:51:39AM -0400, Kenneth Armstrong wrote: Awesome! Will this be available in the virt-preview repo? I would like to try out the new fullscreen functionality of hiding the menu bar. I have built it for Fedora 16 rawhide, so I assume it'll find its way into Fedora 15

Re: [virt-tools-list] virt-viewer 0.2.0, as listed on virt-manager download page

2011-07-14 Thread Daniel P. Berrange
On Tue, Jul 12, 2011 at 04:38:14PM -0700, Jason Helfman wrote: I've solved this with a post-build patch, and am not dealing with disabling of nls, because it appears that that is not honored at the moment, and would rather update the port and wait for the next release to hopefully fix this

Re: [virt-tools-list] virt-manager/libvirt backwards compatibility problem?

2011-07-18 Thread Daniel P. Berrange
On Sun, Jul 17, 2011 at 08:46:53PM +0100, Richard W.M. Jones wrote: On Thu, Jul 14, 2011 at 10:41:43AM -0400, Whit Blauvelt wrote: Hi, Apologies to those who may receive this twice. I posted this and a couple of followups to libvirt-users last Monday with no response. Since it's a

Re: [virt-tools-list] [PATCH virt-manager v4] Add inspection to virt-manager

2011-07-19 Thread Daniel P. Berrange
On Tue, Jul 19, 2011 at 10:17:02AM -0400, Cole Robinson wrote: On 07/19/2011 03:49 AM, Richard W.M. Jones wrote: On Mon, Jul 18, 2011 at 05:41:00PM -0400, Cole Robinson wrote: On 07/18/2011 02:53 PM, Richard W.M. Jones wrote: This updates 1/4 with the fixes you suggested. Also, all

Re: [virt-tools-list] [PATCH virt-manager v4] Add inspection to virt-manager

2011-07-19 Thread Daniel P. Berrange
On Tue, Jul 19, 2011 at 10:46:49AM -0400, Cole Robinson wrote: On 07/19/2011 10:40 AM, Daniel P. Berrange wrote: On Tue, Jul 19, 2011 at 10:17:02AM -0400, Cole Robinson wrote: On 07/19/2011 03:49 AM, Richard W.M. Jones wrote: On Mon, Jul 18, 2011 at 05:41:00PM -0400, Cole Robinson wrote

Re: [virt-tools-list] [libvirt] ANNOUNCE: virt-manager 0.9.0 and virtinst 0.600.0 released

2011-08-02 Thread Daniel P. Berrange
On Mon, Aug 01, 2011 at 09:13:07AM -0400, Cole Robinson wrote: On 07/30/2011 01:15 PM, Richard W.M. Jones wrote: On Thu, Jul 28, 2011 at 12:31:10PM -0400, Cole Robinson wrote: - Use libguestfs to show guest packagelist and more (Richard W.M. Jones) I had one complaint that the dependency

Re: [virt-tools-list] Small dead code removal

2011-08-03 Thread Daniel P. Berrange
On Wed, Aug 03, 2011 at 09:19:47AM +0200, Pavel Raiskup wrote: Hi, I would like to propose small patch removing unreachable condition in virt-viewer code. Thanks, I have applied this. Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org

Re: [virt-tools-list] [PATCH] virt-viewer: Don't hardcode sshport

2011-08-03 Thread Daniel P. Berrange
On Sat, Jul 23, 2011 at 06:30:41PM +0200, Guido Günther wrote: this unbreaks using different ports via .ssh/config --- src/virt-viewer-app.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) Thanks, I have applied this patch. Daniel -- |: http://berrange.com -o-

Re: [virt-tools-list] [libosinfo 1/2] Require and link against libiso9660

2011-08-08 Thread Daniel P. Berrange
On Sat, Aug 06, 2011 at 07:01:59PM +0200, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- configure.ac |5 + osinfo/Makefile.am |1 + 2 files changed, 6 insertions(+), 0 deletions(-) Any new package requirements should also be added as

Re: [virt-tools-list] [PATCH 0/4] fix non standard port numbers in virt-viewer

2011-08-14 Thread Daniel P. Berrange
On Fri, Aug 12, 2011 at 07:50:05PM +0200, Guido Günther wrote: Hi, attched patches really fix using non standard ssh port numbers in virt-viewer, please apply. Thanks, I had already fixed the first issue, but have applied the other 3 patches. Daniel -- |: http://berrange.com -o-

Re: [virt-tools-list] [libvirt] Deadlock when using custom handlers

2011-08-16 Thread Daniel P. Berrange
On Tue, Aug 16, 2011 at 02:24:53PM +0200, Guido Günther wrote: Hi Daniel, On Sat, Aug 13, 2011 at 08:57:45PM -0700, Daniel P. Berrange wrote: On Fri, Aug 12, 2011 at 11:54:28PM +0200, Guido Günther wrote: [..snip..] In the default libvirt event loop, the 'ff' callback is always invoked

Re: [virt-tools-list] [libosinfo] Add osinfo_db_guess_os_from_location()

2011-08-22 Thread Daniel P. Berrange
On Sun, Aug 21, 2011 at 09:57:41PM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Add API to guess OS given an installation media location. --- docs/reference/Libosinfo-sections.txt |1 + osinfo/libosinfo.syms |1 +

Re: [virt-tools-list] Fwd: virt-manager, dependency question

2011-08-22 Thread Daniel P. Berrange
On Mon, Aug 22, 2011 at 09:19:11AM -0700, Jason Helfman wrote: Date: Fri, 19 Aug 2011 10:22:35 -0700 From: Jason Helfman jhelf...@e-e.com To: virt-tools-list@redhat.com Subject: [virt-tools-list] virt-manager, dependency question Hi, I am working on cleaning up a dependency issue that

Re: [virt-tools-list] virt-what detection on Citrix XenServer 5.5

2011-08-26 Thread Daniel P. Berrange
On Fri, Aug 26, 2011 at 03:24:58PM +0100, Mark Phillips wrote: Hi, Just been recommended to look at virt-what by Dom Cleal, after struggling with Facter/Puppet. I've a RHEL (well, CentOS) 5.5 virtual running on Citrix XenServer 5.5.0 - virt-what reports the virtual as being on hyperv

Re: [virt-tools-list] [libosinfo 1/4] Explicitly reguire Gio GIR

2011-08-30 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 12:31:23AM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- osinfo/Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am index 5982923..2af7da2 100644

Re: [virt-tools-list] [libosinfo 3/4] Add osinfo_media_new_from_location()

2011-08-30 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 12:31:25AM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Add API to create a OsinfoMedia object, given an installation media location. This includes moving of installation media errors to osinfo_media module and rename from

Re: [virt-tools-list] [libosinfo 2/4] Add osinfo_db_guess_os_from_location()

2011-08-30 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 12:31:24AM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Add API to guess OS given an installation media location. --- docs/reference/Libosinfo-sections.txt |1 + osinfo/libosinfo.syms |2 +

Re: [virt-tools-list] [libosinfo 4/4] Replace OsinfoDb.guess_os_from_location() by guess_os_from_media()

2011-08-30 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 12:31:26AM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- docs/reference/Libosinfo-sections.txt |2 +- osinfo/libosinfo.syms |2 +- osinfo/osinfo_db.c| 25

Re: [virt-tools-list] [libosinfo 1/2] 'new' - 'create' in osinfo_media_new_from_location()

2011-08-30 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 11:47:42PM +0300, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Renaming osinfo_media_new_from_location() to osinfo_media_create_from_location() to emphasize the factory nature of this function. Also the convention in g* world is to

  1   2   3   4   5   6   7   >