Re: [libvirt] [PATCH] Refactor the libvirt RPM daemon pieces

2012-04-03 Thread Daniel Veillard
On Fri, Mar 30, 2012 at 05:53:19PM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com There are a number of flaws with our packaging of the libvirtd daemon: - Installing 'libvirt' does not install 'qemu-kvm' or 'xen' etc which are required to actually run

Re: [libvirt] [PATCHv5 3/3] Xen: Adapt clock tests

2012-04-03 Thread Philipp Hahn
Hello Eric, On Monday 02 April 2012 17:43:23 Eric Blake wrote: ACK and squashed into 2/3, then series pushed. Thanks for your review, I appreciate your work. Sincerely Philipp Hahn -- Philipp Hahn Open Source Software Engineer h...@univention.de Univention GmbHbe open.

Re: [libvirt] Start of freeze for libvirt-0.9.11 and availability of rc1

2012-04-03 Thread Philipp Hahn
Hello, On Tuesday 27 March 2012 18:30:17 Guido Günther wrote: On Mon, Mar 26, 2012 at 10:32:23AM +0800, Daniel Veillard wrote: As scheduled, we are entering the freeze for 0.9.11. ... Please give it a try ! Stability and portability feedback are really welcome as we didn't had a release

[libvirt] Release of libvirt-0.9.11

2012-04-03 Thread Daniel Veillard
So as stated last week I made the release today. It is available from the ftp: ftp://libvirt.org/libvirt/libvirt-0.9.11.tar.gz along with Fedora 16 rpms I signed. And the release is tagged in the tree so normal development can resume :-) The release is rather big, which is not surprizing

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel Veillard
On Mon, Apr 02, 2012 at 08:57:11PM +0100, Daniel P. Berrange wrote: For a long timer we've had the ability to build each libvirt driver as a loadable module. We have never used this by default and as a result it constantly bit-rots. This series fixes various bugs, and then enables it by

Re: [libvirt] Openvswitch support - port tagging

2012-04-03 Thread Daniele Milani
Date: Mon, 2 Apr 2012 17:26:17 -0700 Subject: Re: Openvswitch support - port tagging From: aatt...@nicira.com To: dano1...@hotmail.it CC: libvir-list@redhat.com; libvirt-us...@redhat.com; d...@openvswitch.org; roberto.sa...@polito.it; paolo.smirag...@polito.it On Mon, Apr 2, 2012 at 5:56 AM,

Re: [libvirt] [PATCH] Refactor the libvirt RPM daemon pieces

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 01:55:32PM +0800, Daniel Veillard wrote: On Fri, Mar 30, 2012 at 05:53:19PM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com There are a number of flaws with our packaging of the libvirtd daemon: - Installing 'libvirt' does not

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 04:22:59PM +0800, Daniel Veillard wrote: On Mon, Apr 02, 2012 at 08:57:11PM +0100, Daniel P. Berrange wrote: For a long timer we've had the ability to build each libvirt driver as a loadable module. We have never used this by default and as a result it constantly

Re: [libvirt] is it possible to set txqueuelen on vnetX devices automatically

2012-04-03 Thread Tim Hughes
For anyone interested I have managed to get this working using a udev rule /etc/udev/rules.d/60-vnet.rules KERNEL==vnet[0-9], RUN+=/sbin/ifconfig %k txqueuelen 2500 On 2 April 2012 18:03, Tim Hughes thug...@thegoldfish.org wrote: Thankyou , I should be able to do it with the hooks. I have

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel Veillard
On Tue, Apr 03, 2012 at 10:06:02AM +0100, Daniel P. Berrange wrote: On Tue, Apr 03, 2012 at 04:22:59PM +0800, Daniel Veillard wrote: On Mon, Apr 02, 2012 at 08:57:11PM +0100, Daniel P. Berrange wrote: For a long timer we've had the ability to build each libvirt driver as a loadable

[libvirt] [PATCH 8/8] Restart daemon at end of transaction

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com It is not safe to restart libvirtd after install of the libvirt-daemon RPM, since the corresponding driver modules may not yet have been installed by RPM. The solution is to move the restart logic to a %posttrans script. This runs at completion of the

[libvirt] [PATCH 2/8] Remove API XML files from libvirt RPM

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The API XML files are now formally installed as part of the libvirt-devel RPM. Thus there is no need to include them as %doc in the main libvirt RPM --- libvirt.spec.in |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[libvirt] [PATCH 1/8] Move all documentation into a -docs sub-RPM

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Currently documentation is split between the libvirt RPM and the libvirt-devel RPM. In the client-only build there is no libvirt RPM, so the docs need to live elsewhere. The obvious answer is a dedicated libvirt-docs RPM. For back-compatibility make

[libvirt] [PATCH 6/8] Fix initial hypervisor conditionals

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The openvz, virtualbox and vmware drivers do not run inside libvirtd, therefore they should be grouped with the other client side drivers --- libvirt.spec.in | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[libvirt] [PATCH 7/8] Enable driver modules in libvirt RPM

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Turn on loadable modules for libvirtd. Add new sub-RPMs libvirt-daemon-driver-XXX for each of the hypervisor driver modules. Keep the secondary driver modules in the main libvirt-daemon RPM, since there is no compelling reason to install them

[libvirt] [PATCH 3/8] Split config files daemon off from main daemon RPM

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Take the libvirt RPM and split it into three pieces - libvirt-daemon - libvirtd other mandatory bits for its operation - libvirt-daemon-config-network - the virbr0 config definition - libvirt-daemon-config-nwfilter - the firewall config rules For

[libvirt] [PATCH 5/8] Remove bogus xen-devel dep from libvirt-devel RPM

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The public libvirt API does not have any application visible dependancy on Xen libraries. The xen-devel dependancy is thus bogus --- libvirt.spec.in |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/libvirt.spec.in

[libvirt] [PATCH 4/8] Introduce per-hypervisor virtual RPMs

2012-04-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Introduce a set sub-RPMs, one per hypervisor, which can be used as dependancy targets by applications wishing to pull in the full stack of packages required for a specific hypervisor. This avoids the application needing to know what the hypervisor

[libvirt] [PATCH 0/8] Refactor libvirt RPM to allow fine grained installed

2012-04-03 Thread Daniel P. Berrange
This is an update of the patch DV reverted from GIT https://www.redhat.com/archives/libvir-list/2012-March/msg01332.html At the end of this series we have the following RPMs with files The daemon itself (if %with_libvirtd == 1 - ie skipped for %client_only builds) - libvirt-daemon - just

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 05:41:57PM +0800, Daniel Veillard wrote: On Tue, Apr 03, 2012 at 10:06:02AM +0100, Daniel P. Berrange wrote: On Tue, Apr 03, 2012 at 04:22:59PM +0800, Daniel Veillard wrote: - libvirt-daemon - Just the libvirtd daemon, no drivers, no configs -

[libvirt] [PATCH] virsh: Clarify escape sequence

2012-04-03 Thread Michal Privoznik
Currently, we put no strains on escape sequence possibly leaving users with console that cannot be terminated. However, not all ASCII characters can be used as escape sequence. Only those falling in @ - _ can be; implement and document this constraint. --- tools/console.c |3 ++-

Re: [libvirt] [PATCH 0/8] Refactor libvirt RPM to allow fine grained installed

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 01:48:49PM +0100, Daniel P. Berrange wrote: This is an update of the patch DV reverted from GIT https://www.redhat.com/archives/libvir-list/2012-March/msg01332.html At the end of this series we have the following RPMs with files For clarity, the complete set is

[libvirt] [test-API PATCH 1/3] utils: Add exception for general test errors

2012-04-03 Thread Peter Krempa
This helper exception helps with reporting test errors that don't produce a libvirt exception. Eg. comparison of returned and expected value fails although the api call succeeded. --- utils/Python/testError.py | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-)

Re: [libvirt] [PATCH 0/3] qemu: Improve USB devices list handling

2012-04-03 Thread Michal Privoznik
On 26.03.2012 17:39, Michal Privoznik wrote: This patch set fixes two bugs: https://bugzilla.redhat.com/show_bug.cgi?id=806449 https://bugzilla.redhat.com/show_bug.cgi?id=743671 tl;dr - we are only adding to the list, removing only on detach-device. Need to remove on qemuProcessStop

[libvirt] [test-API PATCH 2/3] repo: Add test for mutualy exclusive console access

2012-04-03 Thread Peter Krempa
This test case checks if the console connection code works in a safe way that the connection don't get messed up. --- repos/domain/console_mutex.py | 89 + 1 files changed, 89 insertions(+), 0 deletions(-) create mode 100644 repos/domain/console_mutex.py

[libvirt] [test-API PATCH 3/3] repo: Add test for console input and output operations

2012-04-03 Thread Peter Krempa
This test checks if the console input and output work as desired. The test takes as an argument a string, that is sent to the console and another string that is expected to be read from the console. When those two compare successfuly the test succeeds. --- repos/domain/console_io.py | 76

[libvirt] [test-API PATCH 0/3] Console tests

2012-04-03 Thread Peter Krempa
This series adds two tests that check interactions with the domain's console. As a helper the first patch contains a new exception that signalizes a test error other than raised by libvirt. The two tests are not contained in any test cases yet, as they require a specific VM configuration to work

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-03 Thread Peter Krempa
On 04/02/2012 08:18 PM, Martin Kletzander wrote: This patch adds a test that obtains a screenshot of a domain and saves it in a file. Maybe we shoud later on modify this or add another test to allow comparing the returned image file against a pre-defined pattern, so we could actualy check if

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel Veillard
On Tue, Apr 03, 2012 at 02:08:11PM +0100, Daniel P. Berrange wrote: On Tue, Apr 03, 2012 at 05:41:57PM +0800, Daniel Veillard wrote: On Tue, Apr 03, 2012 at 10:06:02AM +0100, Daniel P. Berrange wrote: On Tue, Apr 03, 2012 at 04:22:59PM +0800, Daniel Veillard wrote: - libvirt-daemon -

Re: [libvirt] I need help for use virDomainInterfaceStats

2012-04-03 Thread siddharth
Фёдор Пранович pr.fedor at gmail.com writes: Hi I want use the virDomainInterfaceStats for get statistic of domain, but I don't now how get path parametr. Please help me! Thanks. Please Help me Too !! -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 09:57:19PM +0800, Daniel Veillard wrote: On Tue, Apr 03, 2012 at 02:08:11PM +0100, Daniel P. Berrange wrote: So, 'yum install libvirt' would end up pulling in every single hypervisor we support (qemu, qemu-kvm, xen), which is not at all what we want. Separating

Re: [libvirt] [PATCH] virsh: Clarify escape sequence

2012-04-03 Thread Eric Blake
On 04/03/2012 07:10 AM, Michal Privoznik wrote: Currently, we put no strains on escape sequence possibly leaving users with console that cannot be terminated. However, not all ASCII characters can be used as escape sequence. Only those falling in @ - _ can be; implement and document this

Re: [libvirt] I need help for use virDomainInterfaceStats

2012-04-03 Thread Michal Privoznik
On 02.04.2012 20:56, siddharth wrote: Фёдор Пранович pr.fedor at gmail.com writes: Hi I want use the virDomainInterfaceStats for get statistic of domain, but I don't now how get path parametr. Please help me! Thanks. Please Help me Too !! Basically, it's

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel Veillard
On Tue, Apr 03, 2012 at 03:13:54PM +0100, Daniel P. Berrange wrote: On Tue, Apr 03, 2012 at 09:57:19PM +0800, Daniel Veillard wrote: On Tue, Apr 03, 2012 at 02:08:11PM +0100, Daniel P. Berrange wrote: So, 'yum install libvirt' would end up pulling in every single hypervisor we support

[libvirt] Need Help To Destroy Virtual Machines

2012-04-03 Thread Ali Raza Memon
Hello...! I am using libvirt-php for controlling my xen virtual machines. For this I have installed libvirt-php along with xampp server. Now I need to create a web based controll panel application which shows me running vms, and some options like Shutdown, Pause, Create, Destroy. My aim is,

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 10:44:26PM +0800, Daniel Veillard wrote: On Tue, Apr 03, 2012 at 03:13:54PM +0100, Daniel P. Berrange wrote: On Tue, Apr 03, 2012 at 09:57:19PM +0800, Daniel Veillard wrote: On Tue, Apr 03, 2012 at 02:08:11PM +0100, Daniel P. Berrange wrote: So, 'yum install

Re: [libvirt] Need Help To Destroy Virtual Machines

2012-04-03 Thread Michal Privoznik
On 03.04.2012 16:42, Ali Raza Memon wrote: Hello...! I am using libvirt-php for controlling my xen virtual machines. For this I have installed libvirt-php along with xampp server. Now I need to create a web based controll panel application which shows me running vms, and some options like

Re: [libvirt] [PATCH 00/10] Enable loadable modules for libvirtd

2012-04-03 Thread Eric Blake
On 04/03/2012 08:46 AM, Daniel P. Berrange wrote: I think it is worth it, based on the fact that we get reasonably frequent bug reports that installing libvirt did not install qemu-kvm, or similar. In practice now we ask people to install 'qemu-kvm' directly With the change we ask people

Re: [libvirt] [PATCH] virsh: Clarify escape sequence

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 03:10:32PM +0200, Michal Privoznik wrote: Currently, we put no strains on escape sequence possibly leaving users with console that cannot be terminated. However, not all ASCII characters can be used as escape sequence. Only those falling in @ - _ can be; implement and

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-03 Thread Guannan Ren
On 04/03/2012 09:34 PM, Peter Krempa wrote: On 04/02/2012 08:18 PM, Martin Kletzander wrote: This patch adds a test that obtains a screenshot of a domain and saves it in a file. Maybe we shoud later on modify this or add another test to allow comparing the returned image file against a

Re: [libvirt] [PATCH] virsh: Clarify escape sequence

2012-04-03 Thread Michal Privoznik
On 03.04.2012 16:39, Eric Blake wrote: On 04/03/2012 07:10 AM, Michal Privoznik wrote: Currently, we put no strains on escape sequence possibly leaving users with console that cannot be terminated. However, not all ASCII characters can be used as escape sequence. Only those falling in @ - _

[libvirt] [PATCH] news.html.in: Fix /br void tag

2012-04-03 Thread Michal Privoznik
Void elements should be written with slash *after* the tag name, not before, so they are not confused with ending tags. --- Pushing under trivial rule. Produced by: :%s/\/br/br\//g command, so if breaks something, blame vim :) docs/news.html.in | 642

Re: [libvirt] [PATCH] news.html.in: Fix /br void tag

2012-04-03 Thread Eric Blake
On 04/03/2012 09:25 AM, Michal Privoznik wrote: Void elements should be written with slash *after* the tag name, not before, so they are not confused with ending tags. --- Pushing under trivial rule. Produced by: :%s/\/br/br\//g command, so if breaks something, blame vim :)

Re: [libvirt] Start of freeze for libvirt-0.9.11 and availability of rc1

2012-04-03 Thread Maxim Sditanov
2012/4/2 Maxim Sditanov feni...@rambler.ru 2012/4/2 Jiri Denemark jdene...@redhat.com On Sat, Mar 31, 2012 at 21:35:50 -0400, Laine Stump wrote: On 03/31/2012 07:56 AM, Daniel Veillard wrote: I just made the second release candidate

Re: [libvirt] [PATCH] news.html.in: Fix /br void tag

2012-04-03 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 09:33:43AM -0600, Eric Blake wrote: On 04/03/2012 09:25 AM, Michal Privoznik wrote: Void elements should be written with slash *after* the tag name, not before, so they are not confused with ending tags. --- Pushing under trivial rule. Produced by:

Re: [libvirt] Start of freeze for libvirt-0.9.11 and availability of rc1

2012-04-03 Thread Guido Günther
On Tue, Apr 03, 2012 at 09:22:56AM +0200, Philipp Hahn wrote: Hello, On Tuesday 27 March 2012 18:30:17 Guido Günther wrote: On Mon, Mar 26, 2012 at 10:32:23AM +0800, Daniel Veillard wrote: As scheduled, we are entering the freeze for 0.9.11. ... Please give it a try ! Stability and

Re: [libvirt] question on API spelling

2012-04-03 Thread Eric Blake
On 04/03/2012 03:10 AM, Martin Kletzander wrote: On 04/03/2012 01:05 AM, Eric Blake wrote: We're quite inconsistent on US (canceled) vs. UK (cancelled) spelling in our public API: include/libvirt/libvirt.h.in:124: VIR_DOMAIN_RUNNING_MIGRATION_CANCELED = 6, /* returned from migration */

Re: [libvirt] [Libvirt-announce] Release of libvirt-0.9.11

2012-04-03 Thread Justin Clift
On 03/04/2012, at 6:07 PM, Daniel Veillard wrote: So as stated last week I made the release today. It is available from the ftp: ftp://libvirt.org/libvirt/libvirt-0.9.11.tar.gz The OSX version is now available through Homebrew too. :) + Justin -- Aeolus Community Manager

Re: [libvirt] [PATCH 1/8] Move all documentation into a -docs sub-RPM

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Currently documentation is split between the libvirt RPM and the libvirt-devel RPM. In the client-only build there is no libvirt RPM, so the docs need to live elsewhere. The obvious answer is a

Re: [libvirt] [PATCH 2/8] Remove API XML files from libvirt RPM

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The API XML files are now formally installed as part of the libvirt-devel RPM. indirectly, since libvirt-devel pulls in libvirt-docs Thus there is no need to include them as %doc in the main

Re: [libvirt] [PATCH 3/8] Split config files daemon off from main daemon RPM

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Take the libvirt RPM and split it into three pieces - libvirt-daemon - libvirtd other mandatory bits for its operation - libvirt-daemon-config-network - the virbr0 config definition -

Re: [libvirt] [PATCH 4/8] Introduce per-hypervisor virtual RPMs

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Introduce a set sub-RPMs, one per hypervisor, which can be used as dependancy targets by applications wishing to pull in the s/dependancy/dependency/ full stack of packages required for a

Re: [libvirt] [PATCH 5/8] Remove bogus xen-devel dep from libvirt-devel RPM

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The public libvirt API does not have any application visible dependancy on Xen libraries. The xen-devel dependancy is thus s/dependancy/dependency/g bogus --- libvirt.spec.in |3 --- 1

Re: [libvirt] [PATCH 6/8] Fix initial hypervisor conditionals

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The openvz, virtualbox and vmware drivers do not run inside libvirtd, therefore they should be grouped with the other client side drivers --- libvirt.spec.in | 12 ++-- 1 files

Re: [libvirt] [PATCH 7/8] Enable driver modules in libvirt RPM

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Turn on loadable modules for libvirtd. Add new sub-RPMs libvirt-daemon-driver-XXX for each of the hypervisor driver modules. Keep the secondary driver modules in the main libvirt-daemon RPM, since

Re: [libvirt] [PATCH 8/8] Restart daemon at end of transaction

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com It is not safe to restart libvirtd after install of the libvirt-daemon RPM, since the corresponding driver modules may not yet have been installed by RPM. The solution is to move the restart logic

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-03 Thread Guannan Ren
Hi Currently, the testcase parser supports to cleanup testing environment after each testcase finished. we only need to add a flag command 'clean' after each testcase in testcase config, for example: ...

Re: [libvirt] [Libvirt-announce] Release of libvirt-0.9.11

2012-04-03 Thread Jason Helfman
On 03/04/2012, at 6:07 PM, Daniel Veillard wrote: So as stated last week I made the release today. It is available from the ftp: ftp://libvirt.org/libvirt/libvirt-0.9.11.tar.gz The OSX version is now available through Homebrew too. :) + Justin I just updated libvirt for FreeBSD, too.

Re: [libvirt] [test-API PATCH 1/3] utils: Add exception for general test errors

2012-04-03 Thread Guannan Ren
On 04/03/2012 09:20 PM, Peter Krempa wrote: This helper exception helps with reporting test errors that don't produce a libvirt exception. Eg. comparison of returned and expected value fails although the api call succeeded. --- utils/Python/testError.py | 26 ++ 1