[libvirt] libvirt/kvm config for routed networking

2009-10-08 Thread William Wagner
Hello, I hope this is the right list I should post to as my question is not development related. I am trying to setup a kvm/libvirt VM on my host (Ubuntu jaunty). My host has a public static IP and my VM also has a public static IP. Unfortunately I can not use bridged networking as the

Re: [libvirt] [PATCH 0/2] Take 2 - live interface info + IPv6 interface config

2009-10-08 Thread Daniel Veillard
On Wed, Oct 07, 2009 at 10:05:39AM -0400, Laine Stump wrote: This is similar to the (now deprecated) patches I sent on 9/28 and 10/04, but without the unpopular source attribute in the ip address. You can successfully build libvirt if you have the latest release of netcf installed, but

Re: [libvirt] [PATCH 3/2] Make type startmode optional in toplevel interface definitions.

2009-10-08 Thread Daniel P. Berrange
On Wed, Oct 07, 2009 at 05:04:40PM -0400, Laine Stump wrote: (Yes, you read the subject correctly - 3 of 2!) The minimal XML returned from ncf_if_xml_state() doesn't contain these attributes, and it was preventing it from passing through the parse/format step (making my patches from earlier

Re: [libvirt] [PATCH 1/2] Support reporting live interface IP/netmask.

2009-10-08 Thread Daniel P. Berrange
On Wed, Oct 07, 2009 at 10:05:40AM -0400, Laine Stump wrote: From: root r...@vlap.laine.org This patch adds the flag VIR_INTERFACE_XML_INACTIVE to virInterfaceGetXMLDesc's flags. When it is*not* set (the default), the live interface info will be returned in the XML (in particular, the IP

Re: [libvirt] [PATCH 2/2] Support for IPv6 / multiple ifaces in interface_conf.[ch]

2009-10-08 Thread Daniel P. Berrange
On Wed, Oct 07, 2009 at 10:05:41AM -0400, Laine Stump wrote: This patch updates the xml parsing and formatting, and the associated virInterfaceDef data structure to support IPv6, along the way adding support for multiple protocols per interface, and multiple IP addresses per protocol. ---

Re: [libvirt] [PATCH 0/2] Take 2 - live interface info + IPv6 interface config

2009-10-08 Thread Daniel P. Berrange
On Thu, Oct 08, 2009 at 11:36:59AM +0200, Daniel Veillard wrote: On Wed, Oct 07, 2009 at 10:05:39AM -0400, Laine Stump wrote: This is similar to the (now deprecated) patches I sent on 9/28 and 10/04, but without the unpopular source attribute in the ip address. You can successfully

Re: [libvirt] [PATCH] in vbox driver, interface type bridge should really be type ethernet

2009-10-08 Thread Florian Vichot
So back to your original question - is the current VirtualBox bridge impl 'correct'. If it is doing ethernet layer bridging, then I think there is a strong argument that it is reasonably compliant. If there is a way todo bridging with VirtualBox + a bridge + TAP device (or equivalent),

Re: [libvirt] Resubmission #2: [PATCH 2/3] sVirt AppArmor security driver

2009-10-08 Thread Daniel P. Berrange
On Mon, Oct 05, 2009 at 04:00:02PM -0500, Jamie Strandboge wrote: Attached is an updated patch_2_apparmor_driver_updated.patch and patch_3_docs_updated.patch. Thanks for the review! These two patches along with the previous patch_1_reenable-nonfile-labels.patch pass syntax-check, make check

Re: [libvirt] [PATCH 1/2] Support reporting live interface IP/netmask.

2009-10-08 Thread Laine Stump
On 10/08/2009 06:25 AM, Daniel P. Berrange wrote: On Wed, Oct 07, 2009 at 10:05:40AM -0400, Laine Stump wrote: From: rootr...@vlap.laine.org This patch adds the flag VIR_INTERFACE_XML_INACTIVE to virInterfaceGetXMLDesc's flags. When it is*not* set (the default), the live interface info

[libvirt] [PATCH] cgroup -Werror fix

2009-10-08 Thread Cole Robinson
Building with -Werror, I'm getting this error: make[3]: *** [libvirt_lxc-cgroup.o] Error 1 make[3]: *** Waiting for unfinished jobs cc1: warnings being treated as errors util/cgroup.c: In function 'virCgroupGetMemoryUsage': util/cgroup.c:743: error: passing argument 4 of

Re: [libvirt] [PATCH] cgroup -Werror fix

2009-10-08 Thread Daniel P. Berrange
On Thu, Oct 08, 2009 at 09:49:45AM -0400, Cole Robinson wrote: Building with -Werror, I'm getting this error: make[3]: *** [libvirt_lxc-cgroup.o] Error 1 make[3]: *** Waiting for unfinished jobs cc1: warnings being treated as errors util/cgroup.c: In function 'virCgroupGetMemoryUsage':

Re: [libvirt] Resubmission #2: [PATCH 2/3] sVirt AppArmor security driver

2009-10-08 Thread Daniel Veillard
On Mon, Oct 05, 2009 at 04:00:02PM -0500, Jamie Strandboge wrote: Attached is an updated patch_2_apparmor_driver_updated.patch and patch_3_docs_updated.patch. Thanks for the review! These two patches along with the previous patch_1_reenable-nonfile-labels.patch pass syntax-check, make check

Re: [libvirt] [PATCH 1/7] Add virFileAbsPath() utility

2009-10-08 Thread Daniel Veillard
On Mon, Oct 05, 2009 at 05:14:33PM -0400, Amy Griffis wrote: Paolo Bonzini wrote: [Mon Oct 05 2009, 04:54:27AM EDT] On 10/04/2009 09:28 PM, Amy Griffis wrote: Add a utility to ensure an absolute path for a potentially realtive path. Would it make sense for your usage to resolve symbolic

Re: [libvirt] [PATCH 2/7] Add accessors for logging filters and outputs

2009-10-08 Thread Daniel Veillard
On Wed, Oct 07, 2009 at 03:34:38PM -0400, Amy Griffis wrote: Daniel P. Berrange wrote: [Tue Oct 06 2009, 05:00:55AM EDT] Having looked at the wway the next patch uses these, I think it'd be nicer to change the contract to just be extern char *virLogGetFilters(void);

Re: [libvirt] [PATCH 3/7] Add debug for envp[] in virExecWithHook()

2009-10-08 Thread Daniel Veillard
On Sun, Oct 04, 2009 at 03:28:54PM -0400, Amy Griffis wrote: Some callers may have set envp[]. --- Trivial, makes sense, ACK ! pushed :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM search engine

Re: [libvirt] [PATCH 4/7] lxc: initialize logging configuration

2009-10-08 Thread Daniel Veillard
On Wed, Oct 07, 2009 at 03:36:18PM -0400, Amy Griffis wrote: Daniel P. Berrange wrote: [Mon Oct 05 2009, 08:52:20AM EDT] ACK, although it'd need a small change for my suggested API contract change in your previous patch in the series Updated for API change... Before launching the lxc

Re: [libvirt] [PATCH 5/7] lxc: append container log file

2009-10-08 Thread Daniel Veillard
On Mon, Oct 05, 2009 at 01:52:53PM +0100, Daniel P. Berrange wrote: On Sun, Oct 04, 2009 at 03:29:10PM -0400, Amy Griffis wrote: Do we really want to overwrite the container log file every time we restart? --- src/lxc/lxc_driver.c |2 +- 1 files changed, 1 insertions(+), 1

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

2009-10-08 Thread Daniel P. Berrange
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 berra...@redhat.com Subject: [PATCH] Remove some auto-generated files Date: Thu, 8 Oct

Re: [libvirt] [PATCH 6/7] lxc: add driver config file lxc.conf

2009-10-08 Thread Daniel Veillard
On Wed, Oct 07, 2009 at 08:53:21PM +0100, Daniel P. Berrange wrote: On Wed, Oct 07, 2009 at 03:38:09PM -0400, Amy Griffis wrote: Updated for API change. Add a config file for the lxc driver, based on existing qemu.conf. There is currently one tunable log_with_libvirtd that controls

Re: [libvirt] [PATCH 7/7] lxc: add augeas support for config file

2009-10-08 Thread Daniel Veillard
On Tue, Oct 06, 2009 at 01:10:29AM -0400, Amy Griffis wrote: Ryota Ozaki wrote: [Tue Oct 06 2009, 12:01:30AM EDT] On Mon, Oct 5, 2009 at 9:55 PM, Daniel P. Berrange berra...@redhat.com wrote: It'd be good to add to the check-local:  test here, so the config file parser is tested as part

Re: [libvirt] libvirt/kvm config for routed networking

2009-10-08 Thread Daniel P. Berrange
On Thu, Oct 08, 2009 at 09:44:45AM +0100, William Wagner wrote: Hello, I hope this is the right list I should post to as my question is not development related. I am trying to setup a kvm/libvirt VM on my host (Ubuntu jaunty). My host has a public static IP and my VM also has a public

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

2009-10-08 Thread Dustin Kirkland
We're experiencing what we believe to be a regression in qemu-kvm-0.11 and libvirt-0.7.0, from previous versions of kvm-84 and libvirt-0.6.1: Dynamically attaching sdb (a second scsi disk) fails. (Note that I have tested this against libvirt-0.7.1 built from source as well--same results.) Here