Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1

2009-10-09 Thread Daniel P. Berrange
On Thu, Oct 08, 2009 at 10:57:55PM -0500, Dustin Kirkland wrote: Now, all of that said, it is actually possible to hot-add a second scsi device. However, as far as I can tell, this method is not yet supported by libvirt. It looks to me that with modern qemu, you have to do it this way:

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Dan Kenigsberg
On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote: On Tue, Oct 06, 2009 at 07:04:29PM +0200, Dan Kenigsberg wrote: Would someone help me have a shrink-wrapped solution for obtaining libvirt events in python? I decided to re-write the demo program so that is shows a serious

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Daniel P. Berrange
On Fri, Oct 09, 2009 at 10:19:08AM +0200, Dan Kenigsberg wrote: On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote: On Tue, Oct 06, 2009 at 07:04:29PM +0200, Dan Kenigsberg wrote: Would someone help me have a shrink-wrapped solution for obtaining libvirt events in python?

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Florian VICHOT
def virEventUpdateTimerImpl(timerID, interval): global eventLopo Small typo here: eventLopo instead of eventLoop. Florian -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Daniel P. Berrange
On Fri, Oct 09, 2009 at 10:19:08AM +0200, Dan Kenigsberg wrote: On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote: On Tue, Oct 06, 2009 at 07:04:29PM +0200, Dan Kenigsberg wrote: Would someone help me have a shrink-wrapped solution for obtaining libvirt events in python?

[libvirt] [PATCH 0/2] Fix xen domain listing

2009-10-09 Thread Daniel P. Berrange
These patches are a re-post of Jonas Eriksson's work from a couple of months ago, that we mistakenly forgot to commit. The first patch is unchanged, apart from being adjusted for new source code layout. The second patch is changed so that it checks against the hypervisor, not Xend, since using

[libvirt] [PATCH 1/2] Fix logic in xenUnifiedNumOfDomains to match xenUnifiedListDomains

2009-10-09 Thread Daniel P. Berrange
From: Jonas Eriksson jonas.j.eriks...@ericsson.com The xenUnifiedNumOfDomains and xenUnifiedListDomains methods work together as a pair, so it is critical they both apply the same logic. With the current mis-matched logic it is possible to sometimes get into a state when you miss certain active

[libvirt] [PATCH 2/2] Filter out stale domains from xenstore listing

2009-10-09 Thread Daniel P. Berrange
The xenstore database sometimes has stale domain IDs which are not present in the hypervisor anymore. Filter these out to avoid causing confusion * src/xen/xs_internal.c: Filter domain IDs against HV's list * src/xen/xen_hypervisor.h, src/xen/xen_hypervisor.c: Add new xenHypervisorHasDomain()

Re: [libvirt] Re: Xen: Domain.migrate() causes invalid listDomains() output

2009-10-09 Thread Daniel P. Berrange
On Wed, Oct 07, 2009 at 11:59:47AM +0200, Thomas Treutner wrote: On Wednesday 07 October 2009 11:38:31 Daniel P. Berrange wrote: What is the output of 'xenstore-ls' on each host machine at this time ? http://tt.scripty.at/tmp/node01-xenstore-ls.txt.gz

[libvirt] unable to start guest under kvm (revisited)

2009-10-09 Thread Anton Protopopov
The problem, that I post here http://www.mail-archive.com/libvir-list@redhat.com/msg16154.html and that was solved, comes back in a different way. Consider a working kvm machine with the following description: ... os type arch='x86_64' machine='pc'hvm/type boot dev='hd'/ /os ... If

Re: [libvirt] [RFC] Support for CPUID masking

2009-10-09 Thread Mukesh G
Speaking from an x86 angle,providing an ability to enable or disable high level constructs like SSE instead of low level constructs, will make it easy to understand. Thanks Mukesh On Thu, Sep 3, 2009 at 3:09 PM, Daniel P. Berrange berra...@redhat.com wrote: On Thu, Sep 03, 2009 at 11:19:47AM

Re: [libvirt] [PATCH 1/2] Fix logic in xenUnifiedNumOfDomains to match xenUnifiedListDomains

2009-10-09 Thread Daniel Veillard
On Fri, Oct 09, 2009 at 10:35:48AM +0100, Daniel P. Berrange wrote: From: Jonas Eriksson jonas.j.eriks...@ericsson.com The xenUnifiedNumOfDomains and xenUnifiedListDomains methods work together as a pair, so it is critical they both apply the same logic. With the current mis-matched logic it

Re: [libvirt] [PATCH 2/2] Filter out stale domains from xenstore listing

2009-10-09 Thread Daniel Veillard
On Fri, Oct 09, 2009 at 10:35:49AM +0100, Daniel P. Berrange wrote: The xenstore database sometimes has stale domain IDs which are not present in the hypervisor anymore. Filter these out to avoid causing confusion * src/xen/xs_internal.c: Filter domain IDs against HV's list *

Re: [libvirt] [PATCH] Remove some auto-generated files

2009-10-09 Thread Daniel Veillard
On Thu, Oct 08, 2009 at 05:23:44PM +0100, Daniel P. Berrange wrote: The original mail i tried to send was far too large, so here's it edited to remove the boring bits. Daniel From: Daniel P. Berrange berra...@redhat.com To: libvir-list@redhat.com Cc: Daniel P. Berrange

Re: [libvirt] [PATCH 0/9] Support new peer-2-peer migration mode public API

2009-10-09 Thread Daniel Veillard
On Mon, Oct 05, 2009 at 12:44:47PM +0100, Daniel P. Berrange wrote: This series is an update of http://www.redhat.com/archives/libvir-list/2009-September/msg00540.html There isn't as much functional change here as you might presume from the number of patches. Since Chris' tunnelled

Re: [libvirt] [PATCH 0/2] Fix xen domain listing

2009-10-09 Thread Thomas Treutner
On Friday 09 October 2009 11:35:47 Daniel P. Berrange wrote: These patches are a re-post of Jonas Eriksson's work from a couple of months ago, that we mistakenly forgot to commit. The first patch is unchanged, apart from being adjusted for new source code layout. The second patch is changed

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Daniel Veillard
On Fri, Oct 09, 2009 at 09:58:14AM +0100, Daniel P. Berrange wrote: On Fri, Oct 09, 2009 at 10:19:08AM +0200, Dan Kenigsberg wrote: On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote: On Tue, Oct 06, 2009 at 07:04:29PM +0200, Dan Kenigsberg wrote: Would someone help me

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Dan Kenigsberg
On Fri, Oct 09, 2009 at 09:58:14AM +0100, Daniel P. Berrange wrote: On Fri, Oct 09, 2009 at 10:19:08AM +0200, Dan Kenigsberg wrote: On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote: On Tue, Oct 06, 2009 at 07:04:29PM +0200, Dan Kenigsberg wrote: Would someone help me

Re: [libvirt] Help needed: simple python api to obtain events

2009-10-09 Thread Daniel P. Berrange
On Fri, Oct 09, 2009 at 02:01:13PM +0200, Dan Kenigsberg wrote: On Fri, Oct 09, 2009 at 09:58:14AM +0100, Daniel P. Berrange wrote: On Fri, Oct 09, 2009 at 10:19:08AM +0200, Dan Kenigsberg wrote: On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote: On Tue, Oct 06, 2009 at

Re: [Qemu-devel] Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1

2009-10-09 Thread Anthony Liguori
I would like some advice on how to proceed with this bug, and where the solution lies...in qemu or in libvirt. Ultimately, I would like the behavior we had in our previous release with kvm-84 and libvirt-0.6.1, where we could dynamically add scsi devices without a problem, using: pci_add 1

Re: [Qemu-devel] Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1

2009-10-09 Thread Dustin Kirkland
On Fri, Oct 9, 2009 at 9:38 AM, Anthony Liguori anth...@codemonkey.ws wrote: I would like some advice on how to proceed with this bug, and where the solution lies...in qemu or in libvirt.  Ultimately, I would like the behavior we had in our previous release with kvm-84 and libvirt-0.6.1, where

Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1

2009-10-09 Thread Dustin Kirkland
On Fri, Oct 9, 2009 at 3:18 AM, Daniel P. Berrange berra...@redhat.com wrote: On Thu, Oct 08, 2009 at 10:57:55PM -0500, Dustin Kirkland wrote: Now, all of that said, it is actually possible to hot-add a second scsi device. However, as far as I can tell, this method is not yet supported by

Re: [libvirt] [PATCH 0/9] Support disk-hotremove and controller hotplugging

2009-10-09 Thread Daniel Veillard
On Fri, Sep 18, 2009 at 05:26:07PM +0200, Wolfgang Mauerer wrote: Hi, Hi Wolfgang, this patch reworks libvirt's disk-hotadd support and introduces support for disk controller hotplugging and disk-hotremove (see http://thread.gmane.org/gmane.comp.emulators.libvirt/15860 for more

Re: [libvirt] Tentative schedule for next release

2009-10-09 Thread Daniel Veillard
On Tue, Sep 29, 2009 at 05:06:46PM +0200, Daniel Veillard wrote: On Tue, Sep 29, 2009 at 03:29:49PM +0100, Daniel P. Berrange wrote: I think it would be nice to get back on an end-of-the-month release schedule. It was nice to have predictability that the date was approx the 30/31st of the

Re: [libvirt] Application using libvirt crashes when having concurrent TLS connections (gnutls problem)

2009-10-09 Thread Bryan Kearney
On 10/05/2009 04:48 PM, Thomas Treutner wrote: On Monday 05 October 2009 14:43:05 Daniel P. Berrange wrote: On Fri, Oct 02, 2009 at 09:59:27PM +0200, Thomas Treutner wrote: Hi list, I was wondering about the status of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=512367

[libvirt] Re: Libvir Xen and domain events

2009-10-09 Thread Christopher Pyper
I have been looking into registering some domain events though the python Libvir API. However, I am getting errors and I believe it may be due to lack of event support in Xen. This is the error I am getting: libvir: Xen error : this function is not supported by the hypervisor: