[Libvir] Re: OpenVZ XML

2008-01-16 Thread Shuveb Hussain
On Jan 16, 2008 1:04 PM, Mikhail A. Pokidko [EMAIL PROTECTED] wrote: [snip] Hi, Shuveb, there is a whole bunch of questions! Quota is not implemented as yet. As quota is not implemented yet i want to ask - what is the meaning of it? Is it analog of diskspace and diskinodes? Yes Mikhail,

Re: [Libvir] PATCH: make debug builds quiet by default

2008-01-16 Thread Richard W.M. Jones
Daniel P. Berrange wrote: How about this patch. I define VIR_DEBUG in src/internal.c. Each module which wants to output debug messages adds #define DEBUG(fmt,...) VIR_DEBUG(driver, fmt, __VA_ARGS__) #define DEBUG0(msg) VIR_DEBUG(driver, %s, msg) Changing 'driver' to whatever their module

Re: [Libvir] [RFC] Add Container support to libvirt

2008-01-16 Thread Dan Smith
DL Would init or boot make sense in this case as well? I'm open to DL changing it as long as it makes sense to everyone. I think that init is a widely-recognized term for the master process in a given process namespace. I would also think that, at least from a libvirt perspective, most people

Re: [Libvir] [RFC] Add Container support to libvirt

2008-01-16 Thread Daniel P. Berrange
On Wed, Jan 16, 2008 at 07:05:19AM -0800, Dan Smith wrote: DL Would init or boot make sense in this case as well? I'm open to DL changing it as long as it makes sense to everyone. I think that init is a widely-recognized term for the master process in a given process namespace. I would

[Libvir] avoid more format string warnings

2008-01-16 Thread Jim Meyering
I compiled libvirt with the latest gcc in rawhide and these CFLAGS: -O -Wall -Wcast-align -Wextra -Wformat -Wformat-security -Winit-self -Winline -Wmissing-prototypes -Wnested-externs -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wredundant-decls

Re: [Libvir] avoid more format string warnings

2008-01-16 Thread Richard W.M. Jones
Jim Meyering wrote: virsh.c:6896: warning: format not a string literal and no format arguments Yes, I was getting these too when I was using gcc 4 under Windows. +1 to this patch - it looks fine. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address:

Re: [Libvir] avoid more format string warnings

2008-01-16 Thread Jim Meyering
Richard W.M. Jones [EMAIL PROTECTED] wrote: Jim Meyering wrote: virsh.c:6896: warning: format not a string literal and no format arguments Yes, I was getting these too when I was using gcc 4 under Windows. +1 to this patch - it looks fine. Thanks. I've committed it. -- Libvir-list

Re: [Libvir] [RFC] Add Container support to libvirt

2008-01-16 Thread Dan Smith
DL network DL ipaddress192.168.1.110/ipaddress DL hostnamebrowndog/hostname DL gateway192.168.1.1/gateway DL nameserver192.168.1.1/nameserver DL netmask255.255.255.0/netmask DL /network This is me showing my complete ignorance here,

Re: [Libvir] [RFC] Add Container support to libvirt

2008-01-16 Thread Shuveb Hussain
On Jan 17, 2008 2:30 AM, Dan Smith [EMAIL PROTECTED] wrote: DL network DL ipaddress192.168.1.110/ipaddress DL hostnamebrowndog/hostname DL gateway192.168.1.1/gateway DL nameserver192.168.1.1/nameserver DL netmask255.255.255.0/netmask

[Libvir] Empty bootloader tag?

2008-01-16 Thread Kaitlin Rupert
Hello, I created a guest from XML without a bootloader tag. When I run dumpxml on the guest, I notice that an empty bootloader / tag is appended. Is this the expected behavior? This seems to differ from the behavior of other optional tags. Thanks! Log: $ cat

[Libvir] [PATCH] NIC should define in order

2008-01-16 Thread Hiroyuki Kaguchi
Currently NIC definition order is reversed. If we set over 4-NICs for a domain by virt-install, this causes a network communication problem. This is because virtual mac to eth relation is lost. This patch fixes the NIC definition order. N.B. If less than 3-NICs, this problem does not occur.

Re: [Libvir] [RFC] Add Container support to libvirt

2008-01-16 Thread Vivek Kashyap
On Thu, 17 Jan 2008, Shuveb Hussain wrote: On Jan 17, 2008 2:30 AM, Dan Smith [EMAIL PROTECTED] wrote: DL network DL ipaddress192.168.1.110/ipaddress DL hostnamebrowndog/hostname DL gateway192.168.1.1/gateway DL nameserver192.168.1.1/nameserver DL