[libvirt] vm start error due to libvirt

2010-11-29 Thread 杨树林
Hi guys, I met a libvirt error Below is the information I got, Libvirt version: [r...@kvm-yxnd-tjhy-8 qemu]# yum list installed |grep kvm etherboot-roms-kvm.x86_64 5.4.4-13.el5.centos installed etherboot-zroms-kvm.x86_64 5.4.4-13.el5.centos installed kmod-kvm.x86_64

Re: [libvirt] vm start error due to libvirt

2010-11-29 Thread Justin Clift
On 29/11/2010, at 7:41 PM, 杨树林 wrote: Nov 29 15:23:00 kvm-yxnd-tjhy-8 kernel: libvirtd[7487]: segfault at 431e7000 rip 0043440c rsp 431e4480 error 4 Nov 29 15:23:00 kvm-yxnd-tjhy-8 kernel: libvirtd[7487]: segfault at 431e7000 rip 0043440c rsp

[libvirt] pool and VM disk/image connection

2010-11-29 Thread Zdenek Styblik
Dear list, I had a need to migrate pool resp. images in pool from /some/where/ to /some/where/else/. To my surprise, I just found out editing pool wasn't enough as each and every VM has full path to disk image not just link or connection to pool. I don't want to say this is bug or wrong doing; I

Re: [libvirt] [C# bindings][Pathces] Marshaling corrections, coverage and new sample

2010-11-29 Thread Matthias Bolte
Okay, you're right I8 is just fine there because DomainInterfaceStatsStruct and DomainBlockStatsStruct just contain long long members and long long is always 64bit width. An int is always 32bit width, so the only thing that needs special handling is the long type in C, as it is compiler and

[libvirt] [PATCH] tests: Fix detection of expected errors

2010-11-29 Thread Jiri Denemark
--- tests/nwfilterxml2xmltest.c | 15 +-- tests/qemuxml2argvtest.c|8 +++- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/tests/nwfilterxml2xmltest.c b/tests/nwfilterxml2xmltest.c index 070aa98..9cad913 100644 --- a/tests/nwfilterxml2xmltest.c +++

[libvirt] Bootstrap fail, but non-useful message :/

2010-11-29 Thread Justin Clift
Hi Eric, Just ran ./autogen.sh on an OSX box with only the system provided autotools installed, and got this: Copying file po/remove-potcdate.sin ./bootstrap: patching m4/gettext.m4 to remove need for intl/* ...

Re: [libvirt] Bootstrap fail, but non-useful message :/

2010-11-29 Thread Matthias Bolte
2010/11/29 Justin Clift jcl...@redhat.com: Hi Eric, Just ran ./autogen.sh on an OSX box with only the system provided autotools installed, and got this: Copying file po/remove-potcdate.sin ./bootstrap:

Re: [libvirt] [v2] virsh: Categorize commands into groups for virsh help output

2010-11-29 Thread Justin Clift
On 22/11/2010, at 8:38 PM, Osier Yang wrote: Change the virsh help out. The new output of virsh help and virsh --help will be like: Secret (help keyword 'secret'): secret-define define or modify a secret from an XML file secret-dumpxml secret

Re: [libvirt] Bootstrap fail, but non-useful message :/

2010-11-29 Thread Justin Clift
On 30/11/2010, at 12:35 AM, Matthias Bolte wrote: Looks like the system is missing pkg-config, or at least has the .m4 file is in an unexpected place so that autoconf can't find it. bootstrap checks for pkg-config, so the binary is probably there, but that doesn't mean that autoconf can find

Re: [libvirt] [v2] virsh: Categorize commands into groups for virsh help output

2010-11-29 Thread Osier Yang
于 2010年11月29日 21:38, Justin Clift 写道: On 22/11/2010, at 8:38 PM, Osier Yang wrote: Change the virsh help out. The new output of virsh help and virsh --help will be like: Secret (help keyword 'secret'): secret-define define or modify a secret from an XML file

Re: [libvirt] [v2] virsh: Categorize commands into groups for virsh help output

2010-11-29 Thread Justin Clift
On 30/11/2010, at 12:44 AM, Osier Yang wrote: snip I ordered them by importance, (high to low), e.g. Virsh itself is at the bottom, does it make sense? :-) Heh, thought that might be the case. :) But, the help option is for less experienced users, so ordered by something only known to

Re: [libvirt] [PATCH] tests: Fix detection of expected errors

2010-11-29 Thread Matthias Bolte
2010/11/29 Jiri Denemark jdene...@redhat.com: ---  tests/nwfilterxml2xmltest.c |   15 +--  tests/qemuxml2argvtest.c    |    8 +++-  2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/tests/nwfilterxml2xmltest.c b/tests/nwfilterxml2xmltest.c index 070aa98..9cad913

Re: [libvirt] [v2] virsh: Categorize commands into groups for virsh help output

2010-11-29 Thread Osier Yang
于 2010年11月29日 21:59, Justin Clift 写道: On 30/11/2010, at 12:44 AM, Osier Yang wrote: snip I ordered them by importance, (high to low), e.g. Virsh itself is at the bottom, does it make sense? :-) Heh, thought that might be the case. :) But, the help option is for less experienced users, so

Re: [libvirt] [v2] virsh: Categorize commands into groups for virsh help output

2010-11-29 Thread Justin Clift
On 30/11/2010, at 1:11 AM, Osier Yang wrote: # cat /tmp/test.txt | sort Domain Management (help keyword 'domain'): Domain Monitoring (help keyword 'monitor'): Host and Hypervisor (help keyword 'host'): Interface (help keyword 'interface'): Network

Re: [libvirt] Bootstrap fail, but non-useful message :/

2010-11-29 Thread Jim Meyering
Justin Clift wrote: On 30/11/2010, at 12:35 AM, Matthias Bolte wrote: Looks like the system is missing pkg-config, or at least has the .m4 file is in an unexpected place so that autoconf can't find it. bootstrap checks for pkg-config, so the binary is probably there, but that doesn't mean

Re: [libvirt] Bootstrap fail, but non-useful message :/

2010-11-29 Thread Justin Clift
On 30/11/2010, at 1:26 AM, Jim Meyering wrote: Justin Clift wrote: On 30/11/2010, at 12:35 AM, Matthias Bolte wrote: Looks like the system is missing pkg-config, or at least has the .m4 file is in an unexpected place so that autoconf can't find it. bootstrap checks for pkg-config, so the

Re: [libvirt] Mac OS X and ruby-libvirt

2010-11-29 Thread Chris Lalancette
On 11/24/10 - 05:31:41PM, Jaromír Červenka wrote: Hello, I've just compiled libvirt 0.8.5 on my Mac OS X 10.6.5 and it looks fine - virish works (also for remote connection: qemu+tcp). I would like to install ruby-libvirt gem, but I get this error: http://paste.opensuse.org/10756697

Re: [libvirt] Valid characters in domain names?

2010-11-29 Thread Marcin Szewczyk
I would like to add my bug report to the discussion: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/672948 -- Marcin Szewczyk http://wodny.org mailto:marcin.szewc...@wodny.borg - remove b / usuń b xmpp:wo...@ubuntu.pl xmpp:wo...@jabster.pl --

[libvirt] [PATCH] docs: updated c# bindings with arnauds latest changes

2010-11-29 Thread Justin Clift
--- docs/csharp.html.in | 37 +++-- 1 files changed, 19 insertions(+), 18 deletions(-) diff --git a/docs/csharp.html.in b/docs/csharp.html.in index 45ff35a..62da6a8 100644 --- a/docs/csharp.html.in +++ b/docs/csharp.html.in @@ -155,7 +155,7 @@ git clone

Re: [libvirt] [PATCH] docs: updated c# bindings with arnauds latest changes

2010-11-29 Thread Justin Clift
On 30/11/2010, at 2:28 AM, Justin Clift wrote: --- docs/csharp.html.in | 37 +++-- 1 files changed, 19 insertions(+), 18 deletions(-) Already pushed this. It's purely adjusting some of the value fields in the existing tables, using a new source bindings XLS

Re: [libvirt] [PATCH] tests: Fix detection of expected errors

2010-11-29 Thread Jiri Denemark
 tests/nwfilterxml2xmltest.c |   15 +--  tests/qemuxml2argvtest.c    |    8 +++-  2 files changed, 8 insertions(+), 15 deletions(-) ACK to the patch as is. It fixes the problem Thanks, I pushed it. qemudBuildCommandLine returns 0 and reports and error. Actually it

[libvirt] [PATCH] openvz: Fixe some overwritten error codes

2010-11-29 Thread Guido Günther
Hi, this patch fixes some overwritten error messages. There are more but these are the ones I could check easily. O.k. to apply? Cheers, -- Guido From c18eb1fee9248bc8f09cb937416d43fa30d5c7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= a...@sigxcpu.org Date: Mon, 29 Nov 2010

[libvirt] [PATCH] Ignore files generated by make tags

2010-11-29 Thread Guido Günther
Attached patch ignores files named TAGS as generated by make tags. O.k. to apply? Cheers, -- Guido From 7897e8b2cb6b26b8086ab2216d96378923c1b6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= a...@sigxcpu.org Date: Mon, 29 Nov 2010 13:43:00 +0100 Subject: [PATCH] Ignore files

Re: [libvirt] [PATCH 2/8] Basic framework for lock manager plugins

2010-11-29 Thread David Teigland
On Wed, Nov 24, 2010 at 03:08:41PM -0500, David Teigland wrote: LOCK_MODE_NONE - the lock manager is unused, and it's up to the application to do its own locking or coordination when accessing the resource, e.g. if there's a clustered db or fs on the device that does its own coordination. You

Re: [libvirt] [PATCH] Ignore files generated by make tags

2010-11-29 Thread Eric Blake
On 11/29/2010 05:44 AM, Guido Günther wrote: Attached patch ignores files named TAGS as generated by make tags. O.k. to apply? Cheers, -- Guido ACK. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP

Re: [libvirt] [PATCH v2 0/5] Support of auto-dump on watchdog event in libvirtd

2010-11-29 Thread Eric Blake
On 11/23/2010 08:53 PM, Hu Tao wrote: This patch series adds a new watchdog action `dump' which lets libvirtd can do auto-dump when receiving a watchdog event from qemu guest. In order to make the function work, there must be a watchdog device added to guest, and guest must have a watchdog

Re: [libvirt] [PATCH] correct the arguments of migrate_speed

2010-11-29 Thread Eric Blake
On 11/25/2010 01:38 AM, Wen Congyang wrote: When we set migrate_speed by json, we receive the following error message: libvirtError: internal error unable to execute QEMU command 'migrate_set_speed': Invalid parameter type, expected: number The reason is that: the arguments of

Re: [libvirt] [PATCH 0/2] Add unit tests for internal CPU APIs

2010-11-29 Thread Eric Blake
On 11/25/2010 10:24 AM, Jiri Denemark wrote: *** BLURB HERE *** Ignoring git's hint to add an overview, are we? :) Jiri Denemark (2): cpu: Add support for overriding path to CPU map XML file tests: Add unit tests for internal CPU APIs ACK series, but should tests/cputest.c be given a

Re: [libvirt] [PATCH v2] 802.1Qbg: use pre-associate state at beginning of incoming migration

2010-11-29 Thread Eric Blake
On 11/24/2010 06:39 AM, Stefan Berger wrote: -v2: - changing the vmOpStr array and vmOperation enum to use VIR_ENUM_IMPL and VIR_ENUM_DECL. Renaming the enum to virVMOperationType and adapting the name of the enum constants. This patch introduces the usage of the pre-associate state of

Re: [libvirt] libvirt-0.8.5 sometimes crahing

2010-11-29 Thread Eric Blake
On 11/23/2010 11:49 AM, Nikola Ciprich wrote: Hello, I noticed that libvirtd sometimes crashes immediately after start.. here's the backtrace: Core was generated by `libvirtd --daemon --listen'. Program terminated with signal 11, Segmentation fault. #0 0x7fee038c0ca0 in

Re: [libvirt] [PATCH] OpenVZ: take veid from vmdef-name when defining new domains

2010-11-29 Thread Eric Blake
On 11/28/2010 05:32 PM, Guido Günther wrote: Hi, We currently use the next free veid although there's one given in the domain xml. This currently breaks defining new domains since vmdef-name and veid don't match leading to the following error later on: error: Failed to define domain

Re: [libvirt] [PATCH] openvz: Fixe some overwritten error codes

2010-11-29 Thread Eric Blake
On 11/29/2010 02:33 AM, Guido Günther wrote: Hi, this patch fixes some overwritten error messages. There are more but these are the ones I could check easily. O.k. to apply? Cheers, -- Guido From c18eb1fee9248bc8f09cb937416d43fa30d5c7b8 Mon Sep 17 00:00:00 2001 From:

Re: [libvirt] Bootstrap fail, but non-useful message :/

2010-11-29 Thread Eric Blake
On 11/29/2010 06:23 AM, Justin Clift wrote: Hi Eric, Just ran ./autogen.sh on an OSX box with only the system provided autotools installed, and got this: Copying file po/remove-potcdate.sin ./bootstrap:

[libvirt] [v3] virsh: Categorize commands into groups for virsh help

2010-11-29 Thread Osier Yang
Change the virsh help out. The new output of virsh help and virsh --help will be like: Secret (help keyword 'secret'): secret-define define or modify a secret from an XML file secret-dumpxml secret attributes in XML secret-set-value set

Re: [libvirt] [v3] virsh: Categorize commands into groups for virsh help

2010-11-29 Thread Osier Yang
carelessly removed -V | --version=long, updated patch is following - Osier 于 2010年11月30日 14:16, Osier Yang 写道: Change the virsh help out. The new output of virsh help and virsh --help will be like: Secret (help keyword 'secret'): secret-define define or modify a secret

[libvirt] [v3] virsh: Categorize commands into groups for virsh help

2010-11-29 Thread Osier Yang
Change the virsh help out. The new output of virsh help and virsh --help will be like: Secret (help keyword 'secret'): secret-define define or modify a secret from an XML file secret-dumpxml secret attributes in XML secret-set-value set

[libvirt] [PATCH v3 5/5] Add me to AUTHORS to make `make syntax-check' happy

2010-11-29 Thread Hu Tao
--- AUTHORS |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/AUTHORS b/AUTHORS index 449a450..3534dcb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -135,6 +135,7 @@ Patches have also been contributed by: John Morrissey j...@horde.net Osier Yang

[libvirt] [PATCH v3 0/5] Support of auto-dump on watchdog event in libvirtd

2010-11-29 Thread Hu Tao
This patch series adds a new watchdog action `dump' which lets libvirtd can do auto-dump when receiving a watchdog event from qemu guest. In order to make the function work, there must be a watchdog device added to guest, and guest must have a watchdog daemon running, for example,

[libvirt] [PATCH v3 3/5] Add a new function doCoreDump

2010-11-29 Thread Hu Tao
This patch prepares for the next patch. --- src/qemu/qemu_driver.c | 145 ++-- 1 files changed, 78 insertions(+), 67 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index ad67e52..80ce9f6 100644 --- a/src/qemu/qemu_driver.c

[libvirt] [PATCH v3 2/5] Fall back to QEMUD_SAVE_FORMAT_RAW if compression method fails.

2010-11-29 Thread Hu Tao
When dumping a domain, it's reasonable to save dump-file in raw format if dump format is misconfigured or the corresponding compress program is not available rather then fail dumping. --- src/qemu/qemu_driver.c | 39 +-- 1 files changed, 25 insertions(+), 14

[libvirt] [PATCH v3 1/5] Add a threadpool implementation

2010-11-29 Thread Hu Tao
--- src/Makefile.am |1 + src/util/threadpool.c | 140 + src/util/threadpool.h | 35 3 files changed, 176 insertions(+), 0 deletions(-) create mode 100644 src/util/threadpool.c create mode 100644 src/util/threadpool.h

[libvirt] [PATCH v3 4/5] Add a watchdog action `dump'

2010-11-29 Thread Hu Tao
`dump' watchdog action lets libvirtd to dump the guest when receives a watchdog event (which probably means a guest crash) Currently only qemu is supported. --- src/Makefile.am|2 +- src/conf/domain_conf.c |1 + src/conf/domain_conf.h |1 + src/qemu/qemu.conf |5 +++

Re: [libvirt] [v3] virsh: Categorize commands into groups for virsh help

2010-11-29 Thread Justin Clift
On 30/11/2010, at 5:37 PM, Osier Yang wrote: Change the virsh help out. The new output of virsh help and virsh --help will be like: ACK. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list