Re: [libvirt] PATCH: Add LSB init headers

2009-05-05 Thread Daniel P. Berrange
On Sun, May 03, 2009 at 05:30:23PM +, Frederik Himpe wrote: On Sun, 03 May 2009 18:26:24 +0200, Guido Günther wrote: On Sat, May 02, 2009 at 04:23:54PM +, Frederik Himpe wrote: The following patch is needed to make sure libvirt is not started too early in the boot sequence on

Re: [libvirt] PATCH: Add LSB init headers

2009-05-05 Thread Daniel P. Berrange
On Sat, May 02, 2009 at 04:23:54PM +, Frederik Himpe wrote: The following patch is needed to make sure libvirt is not started too early in the boot sequence on Mandriva. --- libvirt-0.6.1/qemud/libvirtd.init.in.orig 2009-03-05 19:34:05.0 +0100 +++

Re: [libvirt] Patch: Fix build with -Werror=format-security cflag

2009-05-05 Thread Daniel P. Berrange
On Sat, May 02, 2009 at 04:25:58PM +, Frederik Himpe wrote: This patch is needed to build libvirt with -Werror=format-security gcc cflag, which is used by default on Mandriva I already applied this same fix to CVS last week Daniel -- |: Red Hat, Engineering, London -o-

Re: [libvirt] Has anyone ever gotten the client or full to compile on OS X?

2009-05-05 Thread Daniel P. Berrange
On Sat, May 02, 2009 at 05:12:59PM -0500, Schley Andrew Kutz wrote: It's me. The original instigator of the long Leopard thread from early 2008. I once again need to do libvirt development from my Mac, and I still cannot seem to get it to compile :( It is currently bugging out at: gcc

Re: [libvirt] Re: Has anyone ever gotten the client or full to compile on OS X?

2009-05-05 Thread Daniel P. Berrange
On Sat, May 02, 2009 at 05:29:21PM -0500, Schley Andrew Kutz wrote: In pci.c I added a definition for MODPROBE 0x0 and I get further in the make, but it still errors out: CHANGE #define MODPROBE 0x0 ERROR gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../ include

Re: [libvirt] participate in irc chat

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 11:37:34AM +0200, jens wrote: Hello, on http://libvirt.org/contact.html I read about the #virt irc channel. How can I participate in this channel, it seems to be locked because I have to specify a channel key. Sounds like you're probably on the wrong IRC network.

Re: [libvirt] [PATCH] Use correct error code in public VolCreateXML

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 01:49:01PM -0400, Cole Robinson wrote: The attached patch fixes a use of an incorrect error code in libvirt.c VolCreateXML. ACK commit 5e8ccec77f742a7b749c1ef6b51fb20cbe345d65 Author: Cole Robinson crobi...@redhat.com Date: Wed Apr 29 09:39:13 2009 -0400 Use

Re: [libvirt] [PATCH] Remove some old debugging code

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 01:49:11PM -0400, Cole Robinson wrote: The attached patch removes some debugging code accidentally applied with my async vol creation patches. ACK commit 69517422d2bda6efd74d7dc976267c2ff9250300 Author: Cole Robinson crobi...@redhat.com Date: Fri May 1 10:17:30

Re: [libvirt] [PATCH] Test driver VolCreate cleanups

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 01:49:17PM -0400, Cole Robinson wrote: The attached patch fixes some small issues with VolCreateXML implementation in the test driver. ACK commit b2e9f55f8acdc4b7ad50e3753c258fe19f350fed Author: Cole Robinson crobi...@redhat.com Date: Fri May 1 09:56:57 2009 -0400

Re: [libvirt] [PATCH v2] Don't throw away QEMU startup errors when migrating.

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 03:22:50PM -0400, Cole Robinson wrote: The attached patch removes the error message squashing that can take place in the qemu driver when launching a new VM via restore or migrate. ACK commit cd93c8247c9df7e98b3f2b092c18e4be45d46059 Author: Cole Robinson

Re: [libvirt] [PATCH]: don't crash when calling libvirt_lxc without arguments

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 09:39:04PM +0200, Guido G?nther wrote: In this case we reference def with is NULL. O.k. to apply? Cheers, ACK, but what code would call libvirt_lx without args ? From ff82eb24e50b4f80769bd932ca739e8a2539edb4 Mon Sep 17 00:00:00 2001 From:

Re: [libvirt] [PATCH] return a sensible error on bogus paths

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 09:40:33PM +0200, Guido G?nther wrote: Hi, attached patch makes it easier to detect bogus paths when creating/removing pidfiles. O.k. to apply? ACK From f79fcd99b28e36cbb80bd91ac52109148eafa814 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Guido=20G=C3=BCnther?=

Re: [libvirt] USB pass-through only works after many disconnects at the beginning

2009-05-05 Thread Daniel P. Berrange
On Sun, May 03, 2009 at 09:21:20PM +0200, Felix Schwarz wrote: Hi, I want to pass through a USB device to a KVM guest (Windows 2000). My host OS is a standard Fedora 10, 64 bit. However, the device is only passed to the guest when I use qemu monitor directly and only after several tries...

Re: [libvirt] [PATCH 1/1] Backend of node device API NPIV support

2009-05-05 Thread Daniel P. Berrange
On Mon, May 04, 2009 at 04:58:21PM -0400, David Allan wrote: @@ -258,6 +307,310 @@ cleanup: } +static int +nodeDeviceVportCreateDelete(virConnectPtr conn, +const int parent_host, +const char *wwpn, +

Re: [libvirt] Re: Has anyone ever gotten the client or full to compile on OS X?

2009-05-05 Thread Schley Andrew Kutz
Okay, it err'd out when it couldn't find malloc.h in sexpr.c so I changed the include to: #include sys/malloc.h and it gets past the malloc.h error now, but now it fails with the following error: Extracting /Users/akutz/Source/libvirt-0.4.0/src/../gnulib/lib/.libs/ libgnu.a (cd

Re: [libvirt] Re: Has anyone ever gotten the client or full to compile on OS X?

2009-05-05 Thread Schley Andrew Kutz
I removed the --version-script from src/Makefile (OS X's version of ld doesn't have the --version-script option). Now it errors out at: Undefined symbols: _xdr_quad_t, referenced from: _xdr_remote_sched_param_value in libvirt_la-remote_protocol.o _xdr_remote_get_version_ret in

Re: [libvirt] [PATCH] Use correct error code in public VolCreateXML

2009-05-05 Thread Cole Robinson
Daniel P. Berrange wrote: On Mon, May 04, 2009 at 01:49:01PM -0400, Cole Robinson wrote: The attached patch fixes a use of an incorrect error code in libvirt.c VolCreateXML. ACK Thanks, applied now. - Cole -- Libvir-list mailing list Libvir-list@redhat.com

Re: [libvirt] [PATCH] Remove some old debugging code

2009-05-05 Thread Cole Robinson
Daniel P. Berrange wrote: On Mon, May 04, 2009 at 01:49:11PM -0400, Cole Robinson wrote: The attached patch removes some debugging code accidentally applied with my async vol creation patches. ACK Thanks, applied now. - Cole -- Libvir-list mailing list Libvir-list@redhat.com

Re: [libvirt] [PATCH] Test driver VolCreate cleanups

2009-05-05 Thread Cole Robinson
Daniel P. Berrange wrote: On Mon, May 04, 2009 at 01:49:17PM -0400, Cole Robinson wrote: The attached patch fixes some small issues with VolCreateXML implementation in the test driver. ACK Thanks, applied now. - Cole -- Libvir-list mailing list Libvir-list@redhat.com

Re: [libvirt] [PATCH v2] Don't throw away QEMU startup errors when migrating.

2009-05-05 Thread Cole Robinson
Daniel P. Berrange wrote: On Mon, May 04, 2009 at 03:22:50PM -0400, Cole Robinson wrote: The attached patch removes the error message squashing that can take place in the qemu driver when launching a new VM via restore or migrate. ACK Thanks, applied now. - Cole -- Libvir-list mailing

[libvirt] pool default not starting on f10

2009-05-05 Thread Jason Guiditta
Hello, hopefully this is something simple I just don't understand how to debug, but right now, it is keeping me from creating any new VMs. As stated in the subject, I am running F10, on x86_64 arch. Libvirt version is 0.6.1-5.fc10. Using virt-manager to create a new vm, when I get to the step

Re: [libvirt] pool default not starting on f10

2009-05-05 Thread Cole Robinson
Jason Guiditta wrote: Hello, hopefully this is something simple I just don't understand how to debug, but right now, it is keeping me from creating any new VMs. As stated in the subject, I am running F10, on x86_64 arch. Libvirt version is 0.6.1-5.fc10. Using virt-manager to create a new

Re: [libvirt] pool default not starting on f10

2009-05-05 Thread Cole Robinson
Cole Robinson wrote: Jason Guiditta wrote: Hello, hopefully this is something simple I just don't understand how to debug, but right now, it is keeping me from creating any new VMs. As stated in the subject, I am running F10, on x86_64 arch. Libvirt version is 0.6.1-5.fc10. Using

Re: [libvirt] pool default not starting on f10

2009-05-05 Thread Jason Guiditta
On Tue, 2009-05-05 at 12:59 -0400, Cole Robinson wrote: Jason Guiditta wrote: Hello, hopefully this is something simple I just don't understand how to debug, but right now, it is keeping me from creating any new VMs. As stated in the subject, I am running F10, on x86_64 arch. Libvirt

Re: [libvirt] pool default not starting on f10

2009-05-05 Thread Cole Robinson
Jason Guiditta wrote: On Tue, 2009-05-05 at 12:59 -0400, Cole Robinson wrote: Jason Guiditta wrote: Hello, hopefully this is something simple I just don't understand how to debug, but right now, it is keeping me from creating any new VMs. As stated in the subject, I am running F10, on x86_64

Re: [libvirt] pool default not starting on f10

2009-05-05 Thread Jason Guiditta
On Tue, 2009-05-05 at 13:51 -0400, Cole Robinson wrote: snip There are likely also expected lookup failures, so no worries. from libvirtd at each step. If you don't have anything else you want me to try, I will look up the libvirt build steps and try applying that patch you sent. Thanks,

Re: [libvirt] pool default not starting on f10

2009-05-05 Thread Cole Robinson
Jason Guiditta wrote: On Tue, 2009-05-05 at 13:51 -0400, Cole Robinson wrote: snip There are likely also expected lookup failures, so no worries. from libvirtd at each step. If you don't have anything else you want me to try, I will look up the libvirt build steps and try applying that

[libvirt] [PATCH] lxc: fix mknod file type

2009-05-05 Thread Ryota Ozaki
Hi, This patch fixes the 2nd argument of mknod syscall. The argument should include a file type, i.e., S_IFCHR in this case, otherwise created files will be regular files. Thanks, ozaki-r Signed-off-by: Ryota Ozaki ozaki.ry...@gmail.com From 60009b725da855f131e8272f0397455ae27bafc3 Mon Sep

[libvirt] Authentication with virConnectAuthPtr

2009-05-05 Thread Eduardo Otubo
Hello all, I'll start using virConnectAuthPtr to handle the authentication proccess at the phyp driver I'm wrinting https://www.redhat.com/archives/libvir-list/2009-April/msg00493.html and I have some doubts in my mind: 1) What are the types of authentication that 'int *credtype' can hold? And

[libvirt] (no subject)

2009-05-05 Thread mike . hinz
I had originally posted a plea for help on the virt-manager related list, but the same issue exists with virsh and this list seems to have higher traffic. I'd been chatting on the irc channel with various people about this, but wanted to put this on the mail list for the record and to also

[libvirt] libvirt / virt-manager issue with NFS share as storage plus a philosophy question - resend w/subject

2009-05-05 Thread mike . hinz
I had originally posted a plea for help on the virt-manager related list, but the same issue exists with virsh and this list seems to have higher traffic. I'd been chatting on the irc channel with various people about this, but wanted to put this on the mail list for the record and to also

[libvirt] KVM processes -- should we be able to attach them to the libvirtd process?

2009-05-05 Thread Hugh O. Brock
Not too long ago we took a patch that allowed QEMU VMs to keep running even if libvirtd died or was restarted. I was talking to Matt Farellee (cc'd) this afternoon about manageability, and he feels fairly strongly that this behavior should be optional -- in other words, it should be possible to

Re: [libvirt] KVM processes -- should we be able to attach them to the libvirtd process?

2009-05-05 Thread Łukasz Mierzwa
Dnia wtorek 05 maj 2009 o 22:13:38 Hugh O. Brock napisał(a): Not too long ago we took a patch that allowed QEMU VMs to keep running even if libvirtd died or was restarted. I was talking to Matt Farellee (cc'd) this afternoon about manageability, and he feels fairly strongly that this behavior

Re: [libvirt] KVM processes -- should we be able to attach them to the libvirtd process?

2009-05-05 Thread Daniel P. Berrange
On Tue, May 05, 2009 at 04:13:38PM -0400, Hugh O. Brock wrote: Not too long ago we took a patch that allowed QEMU VMs to keep running even if libvirtd died or was restarted. I was talking to Matt Farellee (cc'd) this afternoon about manageability, and he feels fairly strongly that this

Re: [libvirt] Authentication with virConnectAuthPtr

2009-05-05 Thread Daniel P. Berrange
On Tue, May 05, 2009 at 04:06:12PM -0300, Eduardo Otubo wrote: Hello all, I'll start using virConnectAuthPtr to handle the authentication proccess at the phyp driver I'm wrinting https://www.redhat.com/archives/libvir-list/2009-April/msg00493.html and I have some doubts in my mind: 1)

[libvirt] Cannot determine QEMU argv syntax with KVM 85

2009-05-05 Thread Frederik Himpe
With KVM 85, it is impossible to start domains with libvirtd anymore (I tried both libvirtd 0.6.1 and 0.6.3): # virsh start Cooker error: Failed to start domain Cooker error: internal error Cannot determine QEMU argv syntax /usr/bin/qemu-kvm When I downgrade to KMV 84, everything is working

Re: [libvirt] KVM processes -- should we be able to attach them to the libvirtd process?

2009-05-05 Thread Matthew Farrellee
Daniel P. Berrange wrote: On Tue, May 05, 2009 at 04:13:38PM -0400, Hugh O. Brock wrote: Not too long ago we took a patch that allowed QEMU VMs to keep running even if libvirtd died or was restarted. I was talking to Matt Farrellee (cc'd) this afternoon about manageability, and he feels