[libvirt] [PATCH] qemu: fix typos in qemu_monitor_text.c

2010-11-13 Thread Osier Yang
* src/qemu/qemu_monitor_text.c (qemuMonitorTextChangeMedia) --- src/qemu/qemu_monitor_text.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c index 2552111..64ec57b 100644 --- a/src/qemu/qemu_monitor_text.c +++

[libvirt] [PATCH] daemon: fix indention problem in daemon/libvirt.c

2010-11-13 Thread Osier Yang
* daemon/libvirtd.c --- daemon/libvirtd.c | 40 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index ab2b579..9446638 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -1077,33 +1077,33 @@

Re: [libvirt] [PATCH] qemu: fix typos in qemu_monitor_text.c

2010-11-13 Thread Osier Yang
urgh, please skip it, duplicated with previous, it's by my mistake.. sorry about it.. - Osier 于 2010年11月13日 08:07, Osier Yang 写道: * src/qemu/qemu_monitor_text.c (qemuMonitorTextChangeMedia) --- src/qemu/qemu_monitor_text.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [libvirt] [PATCH] virsh: add command net-info

2010-11-13 Thread Justin Clift
On 13/11/2010, at 8:01 AM, Osier Yang wrote: 于 2010年11月12日 19:34, Justin Clift 写道: On 11/08/2010 07:40 PM, Osier Yang wrote: snip +{desc, Returns basic information about the network}, Probably better to make it clear that it's about a virtual network, rather than any other kind of

[libvirt] [PATCH] docs: updated virsh command reference with libvirt.org links

2010-11-13 Thread Justin Clift
--- docs/virshcmdref.html.in | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/virshcmdref.html.in b/docs/virshcmdref.html.in index a5a7554..0a19ca7 100644 --- a/docs/virshcmdref.html.in +++ b/docs/virshcmdref.html.in @@ -31,10 +31,10 @@ ul

Re: [libvirt] [PATCH] docs: updated virsh command reference with libvirt.org links

2010-11-13 Thread Justin Clift
On 14/11/2010, at 12:04 AM, Justin Clift wrote: --- docs/virshcmdref.html.in | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) Pushed this under the trivial rule, as it was just swapping temporary urls with the new correct ones. -- libvir-list mailing list

Re: [libvirt] [PATCH] docs: added virsh command reference page.

2010-11-13 Thread Justin Clift
On 13/11/2010, at 6:13 AM, Daniel P. Berrange wrote: Planning on moving the stuff into the libvirt.org ftp dir as soon as DV creates the needed subdir. :) Ok, as long as these links are removed/updated before the next release. No worries. All in place and fixed now. :) -- libvir-list

[libvirt] [PATCH] daemon: Include stdlib.h in dispatch.c

2010-11-13 Thread Matthias Bolte
Otherwise GCC complains about malloc being unknown on FreeBSD. --- daemon/dispatch.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/daemon/dispatch.c b/daemon/dispatch.c index 9731614..bf2ac73 100644 --- a/daemon/dispatch.c +++ b/daemon/dispatch.c @@ -24,6 +24,7 @@

[libvirt] [PATCH] configure: Disable FS storage driver if mntent.h is not available

2010-11-13 Thread Matthias Bolte
This is the case on FreeBSD. --- configure.ac | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 66237e1..d21d558 100644 --- a/configure.ac +++ b/configure.ac @@ -1497,6 +1497,18 @@ if test $with_osx = yes; then fi if test

[libvirt] [PATCH] esx: Avoid warnings about breaking strict-aliasing rules on FreeBSD

2010-11-13 Thread Matthias Bolte
--- src/esx/esx_vi_generator.py | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/esx/esx_vi_generator.py b/src/esx/esx_vi_generator.py index c2f7044..01636aa 100755 --- a/src/esx/esx_vi_generator.py +++ b/src/esx/esx_vi_generator.py @@ -699,7 +699,10 @@ class

Re: [libvirt] [PATCH] daemon: Include stdlib.h in dispatch.c

2010-11-13 Thread Eric Blake
On 11/13/2010 08:51 AM, Matthias Bolte wrote: Otherwise GCC complains about malloc being unknown on FreeBSD. --- daemon/dispatch.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/daemon/dispatch.c b/daemon/dispatch.c index 9731614..bf2ac73 100644 ---

Re: [libvirt] [PATCH] Make sure struct sockaddr_in is defined on FreeBSD

2010-11-13 Thread Eric Blake
On 11/13/2010 08:52 AM, Matthias Bolte wrote: --- src/util/network.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/util/network.h b/src/util/network.h index 0900e29..724a5f8 100644 --- a/src/util/network.h +++ b/src/util/network.h @@ -21,6 +21,10 @@ #

Re: [libvirt] [PATCH] esx: Avoid warnings about breaking strict-aliasing rules on FreeBSD

2010-11-13 Thread Eric Blake
On 11/13/2010 08:53 AM, Matthias Bolte wrote: --- src/esx/esx_vi_generator.py | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/esx/esx_vi_generator.py b/src/esx/esx_vi_generator.py index c2f7044..01636aa 100755 --- a/src/esx/esx_vi_generator.py +++

Re: [libvirt] [PATCH] Use python discovered through env instead of hardcoding a path

2010-11-13 Thread Eric Blake
On 11/13/2010 08:53 AM, Matthias Bolte wrote: This is more flexible regarding the location of the python binary but doesn't allow to pass the -u flag. The -i flag can be passed from inside the script using the PYTHONINSPECT env variable. This fixes a problem with the esx_vi_generator.py on

[libvirt] [PATCH] nwfilter: use /bin/sh rather than requiring bash

2010-11-13 Thread Eric Blake
* src/nwfilter/nwfilter_ebiptables_driver.c (ebiptablesWriteToTempFile): Use /bin/sh. (bash_cmd_path): Delete. (ebiptablesDriverInit, ebiptablesDriverShutdown): No need to search for bash. (CMD_EXEC): Prefer $() over ``, since we can assume POSIX. (iptablesSetupVirtInPost): Use portable 'test'

[libvirt] [PATCH] maint: ensure syntax check exceptions are distributed

2010-11-13 Thread Eric Blake
* Makefile.am (EXTRA_DIST): Factor exceptions files... (syntax_check_excpetions): into new list. Include recently added exceptions. * cfg.mk (sc_x_sc_dist_check): New check, copied from coreutils. --- Makefile.am | 19 +-- cfg.mk | 13 + 2 files changed, 26

Re: [libvirt] [PATCH] nwfilter: use /bin/sh rather than requiring bash

2010-11-13 Thread Stefan Berger
On 11/13/2010 04:52 PM, Eric Blake wrote: * src/nwfilter/nwfilter_ebiptables_driver.c (ebiptablesWriteToTempFile): Use /bin/sh. (bash_cmd_path): Delete. (ebiptablesDriverInit, ebiptablesDriverShutdown): No need to search for bash. (CMD_EXEC): Prefer $() over ``, since we can assume POSIX.

Re: [libvirt] [PATCH] nwfilter: use /bin/sh rather than requiring bash

2010-11-13 Thread Eric Blake
On 11/13/2010 05:04 PM, Stefan Berger wrote: @@ -427,7 +430,7 @@ static int iptablesLinkIPTablesBaseChain(const char *iptables_cmd, CMD_DEF(%s -I %s %d -j %s) CMD_SEPARATOR CMD_EXEC %s -