[libvirt] ARM libvirt compiling error

2013-06-03 Thread Michele Paolino
Hello, I'm trying to set up a development environment on an Arndale (ARM Samsung Exynos 5250) board to work on sVirt. I'm using Debian 7.0, I've downloaded the source code from GIT and than: ./autogen.sh --prefix=$HOME/usr make but in the middle of make execution, the program fails with this

Re: [libvirt] need custom /dev entries in LXC

2013-06-03 Thread Daniel P. Berrange
On Wed, May 22, 2013 at 06:22:12PM -0400, Michael R. Hines wrote: Hi, We run nvidia devices inside libvirt-managed LXC containers. It used to be that simply doing: $ echo 'c 195:* rwm' /sys/fs/cgroup/devices/libvirt/lxc Then, after booting the container, we would do: $ mknod -m

[libvirt] [PATCH 4/6] nodedev_hal: Enumerate scsi generic device

2013-06-03 Thread Osier Yang
The xml outputed by HAL backend for scsi generic device: device namepci_8086_2922_scsi_host_scsi_device_lun0_scsi_generic/name path/sys/devices/pci:00/:00:1f.2/host0/target0:0:0/0:0:0:0/scsi_generic/sg0/path parentpci_8086_2922_scsi_host_scsi_device_lun0/parent capability

[libvirt] [PATCH 5/6] nodedev: Support SCSI_GENERIC cap flag for listAllNodeDevices

2013-06-03 Thread Osier Yang
--- include/libvirt/libvirt.h.in | 1 + src/conf/node_device_conf.c | 4 +++- src/conf/node_device_conf.h | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 1804c93..e7e003c 100644 ---

[libvirt] [PATCH 1/6] nodedev: Expose sysfs path of device

2013-06-03 Thread Osier Yang
The name format is constructed by libvirt, it's not that clear to get what the device's sysfs path should be. This exposes the device's sysfs path by a new tag path. Since the sysfspath is filled during enumerating the devices by either udev or HAL. It's an output-only tag. ---

[libvirt] [PATCH 2/6] nodedev_udev: Refactor udevGetDeviceType

2013-06-03 Thread Osier Yang
Checking if the devtype is NULL along with each if statements is bad. It wastes the performance, and also not good for reading. And also when the devtype is NULL, the logic is also not clear. This reorgnizes the logic of with if...else and a bunch of else if. Other changes: * Change the

[libvirt] [PATCH 0/6] Enumerate scsi generic device

2013-06-03 Thread Osier Yang
The scsi generic device is listed as a child of the parent of the mapped disk device. E.g. +- pci__00_1f_2 | | | +- scsi_host0 | | | | | +- scsi_target0_0_0 | | | | | +- scsi_0_0_0_0 | | | | | +-

[libvirt] [PATCH 3/6] nodedev_udev: Enumerate scsi generic device

2013-06-03 Thread Osier Yang
Since scsi generic device doesn't have DEVTYPE property set, the only way to we have to get it's a scsi generic device is from the SUBSYSTEM property. The XML of the scsi generic device will be like: device namescsi_generic_sg0/name

[libvirt] [PATCH 6/6] virsh: Support SCSI_GENERIC cap flag for nodedev-list

2013-06-03 Thread Osier Yang
Document for nodedev-list is also updated. --- tools/virsh-nodedev.c | 3 +++ tools/virsh.pod | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/virsh-nodedev.c b/tools/virsh-nodedev.c index 3657c5f..da93b8e 100644 --- a/tools/virsh-nodedev.c +++

Re: [libvirt] [PATCH RESEND 0/5] VirtualBox version 4.2 support for libvirt vbox driver

2013-06-03 Thread Daniel P. Berrange
On Wed, May 22, 2013 at 10:00:12AM +0200, Manuel VIVES wrote: Hello, I'm re-sending this patch for reviewing. If necessary I'm willing to make some changes to those patches. I'm currently working on a better management for snapshots with virtualbox, and my work is based on Virtualbox

[libvirt] [PATCH] Fix warning about using an uninitialized next_unit value

2013-06-03 Thread Jiri Denemark
Using an uninitialized value and a bool saying if the value is valid may confuse compilators. --- src/conf/domain_conf.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 46d49a2..6dc8cf3 100644 ---

[libvirt] [PATCH] virsh iface-bridge: Ignore delay if stp is turned off

2013-06-03 Thread Jiri Denemark
Delay only makes sense with STP enabled. --- tools/virsh-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c index 1c2e40b..2bdb215 100644 --- a/tools/virsh-interface.c +++ b/tools/virsh-interface.c @@ -894,7 +894,7 @@

[libvirt] Release of libvirt-1.0.6

2013-06-03 Thread Daniel Veillard
According to plans, the release is available, I tagged it in git and the tarball and rpms should be available shortly on the FTP: ftp://libvirt.org/libvirt/ This is a fairly large release considering the number of commits which went in, this is due in part to a lot of refactoring of the code

Re: [libvirt] [PATCH 1/2] Make virNetDevSetupControl() public.

2013-06-03 Thread Daniel P. Berrange
On Sat, May 25, 2013 at 07:07:49AM -0600, Eric Blake wrote: On 05/15/2013 11:47 PM, Roman Bogorodskiy wrote: This method is useful not only in virnetdev.c. --- src/libvirt_private.syms | 1 + src/util/virnetdev.c | 15 +-- src/util/virnetdev.h

Re: [libvirt] [PATCH] Fix warning about using an uninitialized next_unit value

2013-06-03 Thread Osier Yang
On 03/06/13 18:22, Jiri Denemark wrote: Using an uninitialized value and a bool saying if the value is valid may confuse compilators. --- src/conf/domain_conf.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/conf/domain_conf.c

Re: [libvirt] [PATCH] RPC: Support up to 4096 cpus on the host and 256 in the guest

2013-06-03 Thread Daniel P. Berrange
On Tue, May 28, 2013 at 02:35:50PM +0200, Peter Krempa wrote: The RPC limits for cpu maps didn't allow to use libvirt on ultra big boxes. This patch increases size of the limits to support a maximum of 4096 cpus on the host with the built-in maximum of 256 cpus per guest. The full cpu map of

Re: [libvirt] Ongoing work on lock contention in qemu driver?

2013-06-03 Thread Daniel P. Berrange
On Fri, May 24, 2013 at 11:37:04AM -0400, Peter Feiner wrote: On Wed, May 22, 2013 at 7:31 PM, Peter Feiner pe...@gridcentric.ca wrote: Since some security driver operations are costly, I think it's worthwhile to reduce the scope of the security manager lock or increase the granularity by

[libvirt] [PATCH] use virBitmapFree instead of VIR_FREE for cpumask

2013-06-03 Thread Ján Tomko
Found by 'git grep FREE.*cpumask' after looking at 31f1f6b. --- src/conf/domain_conf.c | 2 +- src/libxl/libxl_driver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 46d49a2..b335b58 100644 ---

Re: [libvirt] [PATCH] RPC: Support up to 4096 cpus on the host and 256 in the guest

2013-06-03 Thread Peter Krempa
On 06/03/13 12:32, Daniel P. Berrange wrote: On Tue, May 28, 2013 at 02:35:50PM +0200, Peter Krempa wrote: The RPC limits for cpu maps didn't allow to use libvirt on ultra big boxes. This patch increases size of the limits to support a maximum of 4096 cpus on the host with the built-in maximum

Re: [libvirt] [PATCH] Fix warning about using an uninitialized next_unit value

2013-06-03 Thread Jiri Denemark
On Mon, Jun 03, 2013 at 18:32:15 +0800, Osier Yang wrote: On 03/06/13 18:22, Jiri Denemark wrote: Using an uninitialized value and a bool saying if the value is valid may confuse compilators. ... This statement still uses the bool variable found: hostdev-info-addr.drive.controller =

Re: [libvirt] [PATCH] use virBitmapFree instead of VIR_FREE for cpumask

2013-06-03 Thread Guannan Ren
On 06/03/2013 07:11 PM, Ján Tomko wrote: Found by 'git grep FREE.*cpumask' after looking at 31f1f6b. --- src/conf/domain_conf.c | 2 +- src/libxl/libxl_driver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index

[libvirt] [PATCH v2] Fix warning about using an uninitialized next_unit value

2013-06-03 Thread Jiri Denemark
Using an uninitialized value and a bool saying if the value is valid may confuse compilators. --- src/conf/domain_conf.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 46d49a2..21750ac

[libvirt] [PATCHv2] RPC: Support up to 16384 cpus on the host and 4096 in the guest

2013-06-03 Thread Peter Krempa
The RPC limits for cpu maps didn't allow to use libvirt on ultra big boxes. This patch increases size of the limits to support a maximum of 16384 cpus on the host with a maximum of 4096 cpus per guest. The full cpu map of such a system takes 8 megabytes and the map for vcpu pinning is 2 kilobytes

Re: [libvirt] [PATCH] usb: don't spoil decadic addresses

2013-06-03 Thread Martin Kletzander
On 06/02/2013 02:41 AM, Eric Blake wrote: On 06/01/2013 01:52 AM, Martin Kletzander wrote: For USB devices, dev-name gets formated as %.3o:%.3o even though the numbers are decadic. s/decadic/decimal/ here and in the subject line. Resolves:

Re: [libvirt] [PATCH 00/11] vCPU hotplug mega-series

2013-06-03 Thread Peter Krempa
On 05/27/13 19:59, Peter Krempa wrote: This patch series consists of multiple parts: -patch 1,2: Two trivial cleanups -patch 3: Improve and refactor vCPU data parsing -patch 4: Add agent monitor helpers for cpu-hotplug stuff -patch 5,6,7: Implement universal guest vCPU mapping function -patch 8:

Re: [libvirt] [PATCH] use virBitmapFree instead of VIR_FREE for cpumask

2013-06-03 Thread Ján Tomko
On 06/03/2013 02:00 PM, Guannan Ren wrote: On 06/03/2013 07:11 PM, Ján Tomko wrote: Found by 'git grep FREE.*cpumask' after looking at 31f1f6b. --- src/conf/domain_conf.c | 2 +- src/libxl/libxl_driver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH 3/3] virsh-domain: Add --live, --config, --current logic to cmdAttachInterface

2013-06-03 Thread Peter Krempa
On 05/28/13 17:33, Peter Krempa wrote: On 05/28/13 14:01, Guannan Ren wrote: On 05/28/2013 06:52 PM, Peter Krempa wrote: Use the approach established in commit 69ce3ffa8d431e9810607c6e00b7cfcc481b491d to improve this function too. --- ACK with the rest. I've pushed this series,

Re: [libvirt] [PATCH v2] Fix warning about using an uninitialized next_unit value

2013-06-03 Thread Ján Tomko
On 06/03/2013 01:56 PM, Jiri Denemark wrote: Using an uninitialized value and a bool saying if the value is valid may confuse compilators. --- src/conf/domain_conf.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) ACK Jan -- libvir-list mailing

[libvirt] [PATCH] spec: Explicitly require gcrypt-devel

2013-06-03 Thread Jiri Denemark
Our configure.ac says: Not all versions of gnutls include -lgcrypt, and so we add it explicitly for the calls to gcry_control/check_version Thus we cannot rely on gnutls-devel to bring grcypt-devel as a dependency. --- libvirt.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [libvirt] [PATCH] virsh iface-bridge: Ignore delay if stp is turned off

2013-06-03 Thread Eric Blake
On 06/03/2013 04:23 AM, Jiri Denemark wrote: Delay only makes sense with STP enabled. --- tools/virsh-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ACK. diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c index 1c2e40b..2bdb215 100644 ---

Re: [libvirt] [PATCH] spec: Explicitly require gcrypt-devel

2013-06-03 Thread Jiri Denemark
On Mon, Jun 03, 2013 at 14:59:10 +0200, Jiri Denemark wrote: Our configure.ac says: Not all versions of gnutls include -lgcrypt, and so we add it explicitly for the calls to gcry_control/check_version Thus we cannot rely on gnutls-devel to bring grcypt-devel as a dependency. ---

Re: [libvirt] [PATCH] spec: Explicitly require gcrypt-devel

2013-06-03 Thread Peter Krempa
On 06/03/13 15:06, Jiri Denemark wrote: On Mon, Jun 03, 2013 at 14:59:10 +0200, Jiri Denemark wrote: Our configure.ac says: Not all versions of gnutls include -lgcrypt, and so we add it explicitly for the calls to gcry_control/check_version Thus we cannot rely on gnutls-devel to

Re: [libvirt] [PATCH] use virBitmapFree instead of VIR_FREE for cpumask

2013-06-03 Thread Eric Blake
On 06/03/2013 05:11 AM, Ján Tomko wrote: Found by 'git grep FREE.*cpumask' after looking at 31f1f6b. --- src/conf/domain_conf.c | 2 +- src/libxl/libxl_driver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ACK. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt

Re: [libvirt] [PATCH] virsh iface-bridge: Ignore delay if stp is turned off

2013-06-03 Thread Jiri Denemark
On Mon, Jun 03, 2013 at 06:49:06 -0600, Eric Blake wrote: On 06/03/2013 04:23 AM, Jiri Denemark wrote: Delay only makes sense with STP enabled. --- tools/virsh-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ACK. Pushed, thanks. Jirka -- libvir-list mailing list

Re: [libvirt] [PATCH v2] Fix warning about using an uninitialized next_unit value

2013-06-03 Thread Jiri Denemark
On Mon, Jun 03, 2013 at 14:34:22 +0200, Jano Tomko wrote: On 06/03/2013 01:56 PM, Jiri Denemark wrote: Using an uninitialized value and a bool saying if the value is valid may confuse compilators. --- src/conf/domain_conf.c | 34 +- 1 file changed, 17

Re: [libvirt] [PATCH] spec: Explicitly require gcrypt-devel

2013-06-03 Thread Jiri Denemark
On Mon, Jun 03, 2013 at 15:09:59 +0200, Peter Krempa wrote: On 06/03/13 15:06, Jiri Denemark wrote: On Mon, Jun 03, 2013 at 14:59:10 +0200, Jiri Denemark wrote: Our configure.ac says: Not all versions of gnutls include -lgcrypt, and so we add it explicitly for the calls to

Re: [libvirt] [PATCH v3] conf: Generate address for scsi host device automatically

2013-06-03 Thread Viktor Mihajlovski
On 05/31/2013 12:09 PM, Osier Yang wrote: + +static int +virDomainHostdevAssignAddress(virDomainXMLOptionPtr xmlopt, + virDomainDefPtr def, + virDomainHostdevDefPtr hostdev) +{ +int next_unit; +unsigned nscsi_controllers = 0; +

Re: [libvirt] [PATCH v3] conf: Generate address for scsi host device automatically

2013-06-03 Thread Osier Yang
On 03/06/13 22:15, Viktor Mihajlovski wrote: On 05/31/2013 12:09 PM, Osier Yang wrote: + +static int +virDomainHostdevAssignAddress(virDomainXMLOptionPtr xmlopt, + virDomainDefPtr def, + virDomainHostdevDefPtr hostdev) +{ +int

[libvirt] [PATCH 1/3] virsh-domain: Report errors and don't deref NULL in qemu-agent-command

2013-06-03 Thread Peter Krempa
Check the returned value for NULL and take the cleanup path appropriately if the API fails. --- tools/virsh-domain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 46f07ed..9ea5ffc 100644 --- a/tools/virsh-domain.c +++

[libvirt] [PATCH 0/3] Fix error reporting of virsh qemu-agent-command and underlying API's.

2013-06-03 Thread Peter Krempa
The code was horribly broken in multiple ways. This series fixes dispatching of errors from the API, null dereference in virsh and shadowed error messages. Peter Krempa (3): virsh-domain: Report errors and don't deref NULL in qemu-agent-command qemu: Properly report guest agent errors on

[libvirt] [PATCH 3/3] libvirt-qemu: Dispatch errors from virDomainQemuAgentCommand()

2013-06-03 Thread Peter Krempa
The original implementation didn't follow the established pattern and did not dispatch errors in case of failure. --- src/libvirt-qemu.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/libvirt-qemu.c b/src/libvirt-qemu.c index 747488d..e884e32 100644 ---

[libvirt] [PATCH 2/3] qemu: Properly report guest agent errors on command passthrough

2013-06-03 Thread Peter Krempa
The code for arbitrary guest agent passthrough was horribly broken since introduciton. Fix it to correctly report errors. --- src/qemu/qemu_agent.c | 31 +++ src/qemu/qemu_driver.c | 10 +++--- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git

Re: [libvirt] [PATCH v3] conf: Generate address for scsi host device automatically

2013-06-03 Thread Viktor Mihajlovski
On 06/03/2013 04:29 PM, Osier Yang wrote: fixed by Jirka with 4db39e3fee6 the post somehow went past me, sorry... :$ -- Mit freundlichen Grüßen/Kind Regards Viktor Mihajlovski IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martina Köderitz Geschäftsführung:

Re: [libvirt] [PATCHv2] RPC: Support up to 16384 cpus on the host and 4096 in the guest

2013-06-03 Thread Daniel P. Berrange
On Mon, Jun 03, 2013 at 02:02:00PM +0200, Peter Krempa wrote: The RPC limits for cpu maps didn't allow to use libvirt on ultra big boxes. This patch increases size of the limits to support a maximum of 16384 cpus on the host with a maximum of 4096 cpus per guest. The full cpu map of such a

[libvirt] [PATCH] Make logical pools independent on target path

2013-06-03 Thread Martin Kletzander
When using logical pools, we had to trust the target-pth provided. This parameter, however, can be completely ommited and we can get the correct path using 'lvdisplay' command. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=952973 Signed-off-by: Martin Kletzander mklet...@redhat.com ---

Re: [libvirt] [PATCH 1/3] virsh-domain: Report errors and don't deref NULL in qemu-agent-command

2013-06-03 Thread Martin Kletzander
On 06/03/2013 04:34 PM, Peter Krempa wrote: Check the returned value for NULL and take the cleanup path appropriately if the API fails. --- tools/virsh-domain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 46f07ed..9ea5ffc 100644

Re: [libvirt] [PATCHv2] RPC: Support up to 16384 cpus on the host and 4096 in the guest

2013-06-03 Thread Peter Krempa
On 06/03/13 17:03, Daniel P. Berrange wrote: On Mon, Jun 03, 2013 at 02:02:00PM +0200, Peter Krempa wrote: The RPC limits for cpu maps didn't allow to use libvirt on ultra big boxes. This patch increases size of the limits to support a maximum of 16384 cpus on the host with a maximum of 4096

Re: [libvirt] [PATCH 2/3] qemu: Properly report guest agent errors on command passthrough

2013-06-03 Thread Martin Kletzander
On 06/03/2013 04:35 PM, Peter Krempa wrote: The code for arbitrary guest agent passthrough was horribly broken since introduciton. Fix it to correctly report errors. s/introduciton/introduction/ ACK, Martin -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH 3/3] libvirt-qemu: Dispatch errors from virDomainQemuAgentCommand()

2013-06-03 Thread Martin Kletzander
On 06/03/2013 04:35 PM, Peter Krempa wrote: The original implementation didn't follow the established pattern and did not dispatch errors in case of failure. --- src/libvirt-qemu.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/libvirt-qemu.c

Re: [libvirt] [PATCH 3/3] libvirt-qemu: Dispatch errors from virDomainQemuAgentCommand()

2013-06-03 Thread Peter Krempa
On 06/03/13 17:22, Martin Kletzander wrote: On 06/03/2013 04:35 PM, Peter Krempa wrote: The original implementation didn't follow the established pattern and did not dispatch errors in case of failure. --- src/libvirt-qemu.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)

Re: [libvirt] [PATCH] storage: Refresh pool after creating volume

2013-06-03 Thread Osier Yang
On 01/06/13 16:05, Martin Kletzander wrote: On 05/29/2013 06:16 PM, Osier Yang wrote: On 30/05/13 00:04, Martin Kletzander wrote: On 05/29/2013 05:55 PM, Osier Yang wrote: On 29/05/13 20:51, Martin Kletzander wrote: On 05/29/2013 11:53 AM, Osier Yang wrote:

[libvirt] nwfilter: grab driver lock earlier during init (bz96649)

2013-06-03 Thread Stefan Berger
This patch is in relation to Bug 966449: https://bugzilla.redhat.com/show_bug.cgi?id=966449 Below is a possible patch addressing the coredump. Thread 1 must be calling nwfilterDriverRemoveDBusMatches(). It does so with nwfilterDriverLock held. In the patch below I am now moving the

Re: [libvirt] [PATCH] Make logical pools independent on target path

2013-06-03 Thread Osier Yang
On 03/06/13 23:05, Martin Kletzander wrote: When using logical pools, we had to trust the target-pth provided. s/pth/path/, This parameter, however, can be completely ommited and we can get the correct path using 'lvdisplay' command. Resolves:

Re: [libvirt] nwfilter: grab driver lock earlier during init (bz96649)

2013-06-03 Thread Laine Stump
On 06/03/2013 11:57 AM, Stefan Berger wrote: This patch is in relation to Bug 966449: https://bugzilla.redhat.com/show_bug.cgi?id=966449 Below is a possible patch addressing the coredump. Thread 1 must be calling nwfilterDriverRemoveDBusMatches(). It does so with nwfilterDriverLock held.

Re: [libvirt] need custom /dev entries in LXC

2013-06-03 Thread Michael R. Hines
On 06/03/2013 06:03 AM, Daniel P. Berrange wrote: On Wed, May 22, 2013 at 06:22:12PM -0400, Michael R. Hines wrote: Hi, We run nvidia devices inside libvirt-managed LXC containers. It used to be that simply doing: $ echo 'c 195:* rwm' /sys/fs/cgroup/devices/libvirt/lxc Then, after booting

Re: [libvirt] nwfilter: grab driver lock earlier during init (bz96649)

2013-06-03 Thread Stefan Berger
On 06/03/2013 12:29 PM, Laine Stump wrote: On 06/03/2013 11:57 AM, Stefan Berger wrote: This patch is in relation to Bug 966449: https://bugzilla.redhat.com/show_bug.cgi?id=966449 Below is a possible patch addressing the coredump. Thread 1 must be calling nwfilterDriverRemoveDBusMatches().

[libvirt] [PATCH v2] nwfilter: grab driver lock earlier during init (bz96649)

2013-06-03 Thread Stefan Berger
This patch is in _relation_ to Bug 966449: https://bugzilla.redhat.com/show_bug.cgi?id=966449 Below is a possible patch addressing the coredump. Thread 1 must be calling nwfilterDriverRemoveDBusMatches(). It does so with nwfilterDriverLock held. In the patch below I am now moving the

[libvirt] [PATCH] virsh: Allow attach-disk to specify disk wwn

2013-06-03 Thread Osier Yang
Commit 6e73850b01ee support to set wwn for disks, but it was not exposed to attach-disk. --- tools/virsh-domain.c | 14 +- tools/virsh.pod | 8 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index