Re: [libvirt] Python binding to virConnectListInterfaces

2009-09-15 Thread Shahar Klein
It's my ESX4i testing server with 3 datastores one local and 2 over NFS mounts that are not responding Plus this ESX4i server is quite messed up with cloning tests I made before discovering the OVA-templates I'll clean and try again and will make a mental note to test NFS datastore diconnections

Re: [libvirt] Passing -no-kvm-irqchip to KVM/QEMU guests

2009-09-15 Thread Garry Dolley
On Sun, Sep 13, 2009 at 09:33:01PM -0400, Jim Paris wrote: > Garry Dolley wrote: > > Dear libvirt, > > > > Is there a way to tell a KVM/QEMU guest managed by libvirt to start > > with the "-no-kvm-irqchip" argument? > > > > I have some FreeBSD 7 guests with timing issues, and if I try to > > star

[libvirt] guests and pulseaudio fighting over audio devices

2009-09-15 Thread Dave Allan
I noticed that when a KVM guest created with virt-manager is running on F10, sound on the physical host stops working. When all VMs are shutdown, sound starts working again. Removing the tag from the VM XML allows sound to work while the VM is booted. To further complicate troubleshooting,

[libvirt] PATCH] Stop double free

2009-09-15 Thread Mark Hamzy
This prevents a the following trap. Program received signal SIGABRT, Aborted. 0x0035ad830265 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x0035ad830265 in raise () from /lib64/libc.so.6 #1 0x0035ad831d10 in abort () from /lib64/libc.so.6 #2 0x0035ad86a84b in __libc_message ()

Re: [libvirt] [PATCH 00/11] Generic data stream handling

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 02:35:02PM +0200, Chris Lalancette wrote: > > I've uploaded the code that I'm trying out at the moment to: > > http://gitorious.org/~clalance/libvirt/clalance-staging/commits/tunnelled-migration > > Dan, can you take a look and make any suggestions about where I might be

Re: [libvirt] Python binding to virConnectListInterfaces

2009-09-15 Thread Matthias Bolte
2009/9/15 Shahar Klein : > understood > so, is that a bug? > virsh # list >  Id Name                 State > -- >  16 rh53                 running > 256 smallLinux           running > 336 diskless linux       running > virsh # dominfo 16 > Id:             16 > Name:

[libvirt] Re: ESX driver does not support vmxnet3

2009-09-15 Thread Matthias Bolte
2009/9/15 Shahar Klein : > diff --git a/src/esx/esx_vmx.c b/src/esx/esx_vmx.c > index 70e9305..6bd6b93 100644 > --- a/src/esx/esx_vmx.c > +++ b/src/esx/esx_vmx.c > @@ -1409,10 +1409,11 @@ esxVMX_ParseEthernet(virConnectPtr conn, virConfPtr > conf, int controller, >      if (virtualDev != NULL && >

[libvirt] ESX driver does not support vmxnet3

2009-09-15 Thread Shahar Klein
diff --git a/src/esx/esx_vmx.c b/src/esx/esx_vmx.c index 70e9305..6bd6b93 100644 --- a/src/esx/esx_vmx.c +++ b/src/esx/esx_vmx.c @@ -1409,10 +1409,11 @@ esxVMX_ParseEthernet(virConnectPtr conn, virConfPtr conf, int controller, if (virtualDev != NULL && STRCASENEQ(virtualDev, "vlance"

Re: [libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Daniel Veillard
On Tue, Sep 15, 2009 at 03:18:41PM +0100, Daniel P. Berrange wrote: > On Tue, Sep 15, 2009 at 03:36:13PM +0200, Daniel Veillard wrote: > > On Tue, Sep 15, 2009 at 11:38:19AM +0100, Daniel P. Berrange wrote: > > > With the 0.7.1 relesae out of the way I'd like to suggest that we take > > > this tim

Re: [libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 03:36:13PM +0200, Daniel Veillard wrote: > On Tue, Sep 15, 2009 at 11:38:19AM +0100, Daniel P. Berrange wrote: > > With the 0.7.1 relesae out of the way I'd like to suggest that we take > > this time to move around some files in GIT to correct some long standing > > wierd/b

Re: [libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 02:07:58PM +0200, Paolo Bonzini wrote: > > > * qemud/ -> daemon/ > > * qemud/qemud.{h,c} daemon/main.{h,c} > > * qemud/default-network.xml -> src/network/default.xml > > * qemud/libvirtd_qemu.aug src/qemu/qemu.aug > > * qemud/test_libvirtd_qemu.aug src/qemu/test_qem

Re: [libvirt] Python binding to virConnectListInterfaces

2009-09-15 Thread Shahar Klein
understood so, is that a bug? virsh # list Id Name State -- 16 rh53 running 256 smallLinux running 336 diskless linux running virsh # dominfo 16 Id: 16 Name: rh53 UUID: 564dea41-bf37

Re: [libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Daniel Veillard
On Tue, Sep 15, 2009 at 02:07:58PM +0200, Paolo Bonzini wrote: >> For there places where I list 'delete from GIT', we would ensure that >> when you run 'make dist' the files are still included in the tar.gz > > You can use distcheck-hook for that. please use dist-hook, not distcheck-hook, as it'

Re: [libvirt] [PATCH] doc: don't emit trailing blanks into generated and VC'd NEWS file

2009-09-15 Thread Daniel Veillard
On Tue, Sep 15, 2009 at 03:02:49PM +0200, Jim Meyering wrote: > Daniel Veillard reported that the generated and VC'd NEWS file > was causing trouble because the latest version contains trailing > spaces, which conflicts with our server-side hook to prevent that. > > Here's the fix to avoid emittin

Re: [libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Daniel Veillard
On Tue, Sep 15, 2009 at 11:38:19AM +0100, Daniel P. Berrange wrote: > With the 0.7.1 relesae out of the way I'd like to suggest that we take > this time to move around some files in GIT to correct some long standing > wierd/bad naming decisions :-) > > > The qemud/ directory is better named 'dae

[libvirt] Release of libvirt-0.7.1

2009-09-15 Thread Daniel Veillard
Okay, it's finally out of the box and available as usual at ftp://libvirt.org/libvirt/ There is a fair amount of new features and improvement, not surprizing considering 0.7.0 was 1.5 months ago. And of course many bug fixes and cleanups: * New Features: - Add an internal XML handling API

[libvirt] [PATCH] doc: don't emit trailing blanks into generated and VC'd NEWS file

2009-09-15 Thread Jim Meyering
Daniel Veillard reported that the generated and VC'd NEWS file was causing trouble because the latest version contains trailing spaces, which conflicts with our server-side hook to prevent that. Here's the fix to avoid emitting those trailing spaces: >From 8110d304f49a217021371321ade0026ccd2627e1

Re: [libvirt] [PATCH 00/11] Generic data stream handling

2009-09-15 Thread Chris Lalancette
Daniel P. Berrange wrote: > The immediate use case for this data stream code is Chris' QEMU > migration patchset. > > The next use case is to allow serial console access to be tunnelled > over libvirtd, eg to make 'virsh console GUEST' work remotely. > This use case is why I included the support

Re: [libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Paolo Bonzini
* qemud/ -> daemon/ * qemud/qemud.{h,c} daemon/main.{h,c} * qemud/default-network.xml -> src/network/default.xml * qemud/libvirtd_qemu.aug src/qemu/qemu.aug * qemud/test_libvirtd_qemu.aug src/qemu/test_qemu.aug * qemud/remote_protocol.x -> src/remote/remote_protocol.x 100% agre

[libvirt] RFC: Rename / move / delete files in GIT

2009-09-15 Thread Daniel P. Berrange
With the 0.7.1 relesae out of the way I'd like to suggest that we take this time to move around some files in GIT to correct some long standing wierd/bad naming decisions :-) The qemud/ directory is better named 'daemon', and some of the things in there should really have been in the src/ direct

Re: [libvirt] [PATCH v2] network: add 'bootp' and 'tftp' config

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 12:09:53PM +0200, Paolo Bonzini wrote: > On 09/15/2009 11:43 AM, Daniel P. Berrange wrote: > >I think we possibly ought to move one level higher up, outside > >of the tag, since you can have a TFTP server regardless of whether > >we've configured IP/dhcp details, and in th

Re: [libvirt] [PATCH v2] network: add 'bootp' and 'tftp' config

2009-09-15 Thread Paolo Bonzini
On 09/15/2009 11:43 AM, Daniel P. Berrange wrote: I think we possibly ought to move one level higher up, outside of the tag, since you can have a TFTP server regardless of whether we've configured IP/dhcp details, and in the future we may well have multiple tags. In principle, the i...@addre

Re: [libvirt] Re: OpenVZ : The restriction of domain name should be addressed

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 03:40:09PM +0900, Yuji NISHIDA wrote: > Hi Daniel, > > I didn't realize that I even did not follow the manner of XML. > I have worked with this problem and got a small patch to handle "ID" > in OpenVZ functionality. > I found it is working well with the XML script include

Re: [libvirt] Trouble booting Xen VM with NFS root file system

2009-09-15 Thread Daniel P. Berrange
On Thu, Sep 10, 2009 at 03:15:44PM +0200, Matthias Schmidt wrote: > Hi, > > I'm currently trying to boot a Xen VM with the root file system on NFS > via libvirt. Previously we used a small python script and "xm create" to > boot a number of VMs (which worked fine). Now I'm trying to integrate >

Re: [libvirt] RFE storage cloning across connections.

2009-09-15 Thread Daniel P. Berrange
On Sun, Sep 13, 2009 at 10:08:48PM +, "J?hann B. Gu?mundsson" wrote: > Virt-manager now supports migration and VM cloning however cloning only > works within a connection though so you can't clone to another machine. It > certainly would be a nice addition if supports storage cloning across

Re: [libvirt] [PATCH v2] network: add 'bootp' and 'tftp' config

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 11:13:50AM +0200, Paolo Bonzini wrote: > Currently, libvirtd will start a dnsmasq process for the virtual > network, but (aside from killing the dnsmasq process and replacing it), > there's no way to define tftp boot options. > > This change introduces the appropriate tags

[libvirt] [PATCH v2] network: add 'bootp' and 'tftp' config

2009-09-15 Thread Paolo Bonzini
Currently, libvirtd will start a dnsmasq process for the virtual network, but (aside from killing the dnsmasq process and replacing it), there's no way to define tftp boot options. This change introduces the appropriate tags to the dhcp configuration: default

Re: [libvirt] Python binding to virConnectListInterfaces

2009-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2009 at 01:55:40AM -0700, Shahar Klein wrote: > OK, Thanks > > How about listing interfaces for a VM(virDomainListInterfaces ) > will you accept such an API? That information is already available in the XML for a guest so there is no need for any API Regards Daniel -- |: Red Ha

Re: [libvirt] Python binding to virConnectListInterfaces

2009-09-15 Thread Shahar Klein
OK, Thanks How about listing interfaces for a VM(virDomainListInterfaces ) will you accept such an API? From: Daniel Veillard To: Shahar Klein Cc: libvir-list@redhat.com Sent: Monday, September 14, 2009 4:25:37 PM Subject: Re: [libvirt] Python binding to virC