Re: [libvirt] [Qemu-devel] [PATCH v4 4/5] qmp: full introspection support for QMP

2014-01-29 Thread Fam Zheng
On Tue, 01/28 06:58, Eric Blake wrote: On 01/28/2014 04:14 AM, Paolo Bonzini wrote: Let's see the feedback of Eric. Eric's feedback is certainly useful, but I think we need to look at it from the QEMU perspective more than the libvirt perspective. Passing the raw schema and

Re: [libvirt] [PATCH v3 1/2] virCommand: Introduce virCommandSetDryRun

2014-01-29 Thread Ján Tomko
On 01/28/2014 07:37 PM, Michal Privoznik wrote: There are some units within libvirt that utilize virCommand API to run some commands and deserve own unit testing. These units are, however, not desired to be rewritten to dig virCommand API usage out. As a great example virNetDevBandwidth could

Re: [libvirt] [PATCH v3 2/2] virnetdevbandwidthtest: Introduce testVirNetDevBandwidthSet

2014-01-29 Thread Ján Tomko
On 01/28/2014 07:37 PM, Michal Privoznik wrote: The test tries to set some QoS limits and check if the commands that are actually executed are the expected ones. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- tests/virnetdevbandwidthtest.c | 76

Re: [libvirt] [PATCHv2 0/6] Add BlkIO and CPU/mem stat API implementations for lxc

2014-01-29 Thread Gao feng
on 2014/01/28 03:27, Thorsten Behrens wrote: Hi, Hi, Sorry, I'm out of office now, If nobody gives you review or comments, I will pick this up when I am back on Feb 10. Thanks! sorry for the noise - but I don't see the patch series pushed yet? Gao feng wrote: [...] ACK with these

Re: [libvirt] [PATCH] Honor blacklist for modprobe command

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 07:00:16PM -0500, John Ferlan wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1045124 When loading modules, libvirt does not honor the modprobe blacklist. By adding a -b to the modprobe command libvirt will fail to load a module if it's on the blacklist Check if

Re: [libvirt] [PATCH] Honor blacklist for modprobe command

2014-01-29 Thread John Ferlan
On 01/29/2014 05:40 AM, Daniel P. Berrange wrote: On Tue, Jan 28, 2014 at 07:00:16PM -0500, John Ferlan wrote: This is getting complex enough that I think we ought introduce a src/util/virkmod.{c,h} and have some helper APIs in there for loading and unload modules. eg virKModLoad,

Re: [libvirt] [PATCH] Honor blacklist for modprobe command

2014-01-29 Thread Daniel P. Berrange
On Wed, Jan 29, 2014 at 06:32:42AM -0500, John Ferlan wrote: On 01/29/2014 05:40 AM, Daniel P. Berrange wrote: On Tue, Jan 28, 2014 at 07:00:16PM -0500, John Ferlan wrote: This is getting complex enough that I think we ought introduce a src/util/virkmod.{c,h} and have some helper

Re: [libvirt] [PATCH RFC 2/2] support configuring the format of dumping memory in qemu.conf

2014-01-29 Thread Daniel P. Berrange
On Wed, Jan 29, 2014 at 10:15:36AM +0800, Qiao Nuohan wrote: This patch is used to add dump_memory_format to qemu.conf and make the specified format as the default dump format of 'virsh dump --memory-only'. But when --compress is specified with dump command, the format configured by

Re: [libvirt] [libvirt-glib 1/3] glib: Don't create glib IO watch for disabled handles

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:08:26PM +0100, Christophe Fergeau wrote: It's possible to create a handle to watch for file events which do not watch for any file event. Such a handle can be enabled later with gvir_event_handle_update() by setting some conditions to watch for. When a handle is

Re: [libvirt] [libvirt-glib 2/3] glib: Allow to remove disabled timers and handles

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:08:27PM +0100, Christophe Fergeau wrote: Trying to remove a disabled timer or handle will cause gvir_{event,timer}_handle_remove() to return an error rather than removing it. --- libvirt-glib/libvirt-glib-event.c | 18 +- 1 file changed, 9

Re: [libvirt] [libvirt-glib 3/3] glib: Don't leak GIOChannel when destroying IO handle

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:08:28PM +0100, Christophe Fergeau wrote: gvir_event_handle_add() creates a GIOChannel in order to watch the fd it was given for changes. gvir_event_handle_remove() is freeing all the resources allocated by gvir_event_handle_add() except for this GIOChannel. This

Re: [libvirt] [libvirt-glib 1/3] gconfig: Start adding more formal unit tests

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:13:18PM +0100, Christophe Fergeau wrote: diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c new file mode 100644 index 000..bc9aac0 --- /dev/null +++ b/tests/test-gconfig.c @@ -0,0 +1,674 @@ +/* + * test-gconfig.c: unit tests for libvirt-gconfig + * +

Re: [libvirt] [libvirt-glib 1/3] gconfig: Start adding more formal unit tests

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:13:18PM +0100, Christophe Fergeau wrote: Rather than the ever growing standalone libvirt-gconfig/tests/test-domain-create program, this commit adds support for glib GTester framework as well as 2 smaller tests cases for GVirConfigDomain and GVirConfigDomainClock.

Re: [libvirt] [libvirt-glib 3/3] Update .gitignore

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:13:20PM +0100, Christophe Fergeau wrote: --- .gitignore | 8 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 712778f..3eabf64 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ build-aux/depcomp build-aux/install-sh

Re: [libvirt] [RFC PATCHv2 0/4] Adding 'config' driver

2014-01-29 Thread Adam Walters
On Tue, Jan 28, 2014 at 12:07 PM, Daniel P. Berrange berra...@redhat.comwrote: On Thu, Jan 23, 2014 at 03:14:19PM -0500, Adam Walters wrote: This patchset adds a driver named 'config' which provides access to configuration data, such as secret and storage definitions, without requiring a

Re: [libvirt] [libvirt-glib 2/3] glib: Add unit test for libvirt/glib mainloop integration

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:13:19PM +0100, Christophe Fergeau wrote: It's currently only testing removal of disabled timer/watches --- tests/Makefile.am | 6 +- tests/test-events.c | 172 2 files changed, 176 insertions(+), 2

Re: [libvirt] [PATCHv2 4/9] snapshot: Add support for specifying snapshot disk backing type

2014-01-29 Thread Peter Krempa
On 01/27/14 23:12, Eric Blake wrote: On 01/16/2014 06:14 AM, Peter Krempa wrote: Add support for specifying various types when doing snapshots. This will later allow to do snapshots on network backed volumes. Disks of type 'volume' are not supported by snapshots (yet). --- Notes:

Re: [libvirt] [RFC PATCHv2 0/4] Adding 'config' driver

2014-01-29 Thread Daniel P. Berrange
On Wed, Jan 29, 2014 at 07:01:31AM -0500, Adam Walters wrote: On Tue, Jan 28, 2014 at 12:07 PM, Daniel P. Berrange berra...@redhat.comwrote: On Thu, Jan 23, 2014 at 03:14:19PM -0500, Adam Walters wrote: This patchset adds a driver named 'config' which provides access to configuration

Re: [libvirt] [libvirt-glib 1/3] gconfig: Start adding more formal unit tests

2014-01-29 Thread Christophe Fergeau
Hey, On Wed, Jan 29, 2014 at 12:00:22PM +, Daniel P. Berrange wrote: On Tue, Jan 28, 2014 at 02:13:18PM +0100, Christophe Fergeau wrote: diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c new file mode 100644 index 000..bc9aac0 --- /dev/null +++ b/tests/test-gconfig.c

Re: [libvirt] [libvirt-glib 1/3] gconfig: Start adding more formal unit tests

2014-01-29 Thread Daniel P. Berrange
On Wed, Jan 29, 2014 at 01:43:50PM +0100, Christophe Fergeau wrote: Hey, On Wed, Jan 29, 2014 at 12:00:22PM +, Daniel P. Berrange wrote: On Tue, Jan 28, 2014 at 02:13:18PM +0100, Christophe Fergeau wrote: diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c new file mode 100644

Re: [libvirt] [PATCH v2 4/4] Push nwfilter update locking up to top level

2014-01-29 Thread Daniel P. Berrange
On Mon, Jan 27, 2014 at 04:53:53PM -0500, Stefan Berger wrote: On 01/27/2014 12:18 PM, Daniel P. Berrange wrote: The NWFilter code has as a deadlock race condition between the virNWFilter{Define,Undefine} APIs and starting of guest VMs due to mis-matched lock ordering. In the

Re: [libvirt] ANNOUNCE: virt-xml: Edit libvirt XML with command line options

2014-01-29 Thread Cole Robinson
On 01/28/2014 11:49 AM, Michal Privoznik wrote: On 26.01.2014 19:24, Cole Robinson wrote: I've just pushed a new tool to virt-manager.git called virt-xml. virt-xml uses virt-install's command line options to allow building and editing domain XML. Best way to describe what it can do is with a

Re: [libvirt] [libvirt-glib 1/3] gconfig: Start adding more formal unit tests

2014-01-29 Thread Christophe Fergeau
On Wed, Jan 29, 2014 at 01:25:56PM +, Daniel P. Berrange wrote: Yes, I'd rather prefer it to be LGPLv2+ licensed because IME it is not uncommon to copy code from the library into the test suite and vica-verca. So you want a consistent license that allows this bi-directional copying IMHO

Re: [libvirt] [PATCH 1/4] networkAllocateActualDevice: Set QoS for bridgeless networks too

2014-01-29 Thread Laine Stump
On 01/23/2014 03:44 PM, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1055484 Currently, libvirt's XML schema of network allows QoS to be defined for every network even though it has no bridge. For instance: network namevdsm-no-bridge/name forward

Re: [libvirt] [PATCH] network: disallow bandwidth/mac for bridged/macvtap networks

2014-01-29 Thread Laine Stump
On 01/27/2014 12:10 PM, Dan Kenigsberg wrote: On Fri, Jan 24, 2014 at 02:18:27PM +0200, Laine Stump wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1057321 pointed out that we weren't honoring the bandwidth element in libvirt networks using forward mode='bridge'/. In fact, these networks

[libvirt] [PATCH v3 0/4] Fix deadlock in nwfilter code

2014-01-29 Thread Daniel P. Berrange
Since we introduced fine grained locking into the QEMU driver so that VM start can run in parallel, we appear to have caused a race with the nwfilter code. In particular since we no longer hold the global QEMU driver lock for the duration of VM startup we have a lock ordering flaw. This results in

[libvirt] [PATCH v3 1/4] Add a read/write lock implementation

2014-01-29 Thread Daniel P. Berrange
Add virRWLock backed up by a POSIX rwlock primitive Signed-off-by: Daniel P. Berrange berra...@redhat.com --- src/libvirt_private.syms| 5 + src/util/virthread.h| 10 ++ src/util/virthreadpthread.c | 33 + src/util/virthreadpthread.h | 4

[libvirt] [PATCH v3 2/4] Fix pthread_sigmask check for mingw32 without winpthreads

2014-01-29 Thread Daniel P. Berrange
On Fedora 19 and older the pthreads impl provided with mingw does not have any pthread_sigmask impl at all. The configure.ac check was not distinguishing this scenario from that of a broken pthread_sigmask impl, so was mistakenly enabling the libvirt workaround even when it was not needed. This in

[libvirt] [PATCH v3 4/4] Push nwfilter update locking up to top level

2014-01-29 Thread Daniel P. Berrange
The NWFilter code has as a deadlock race condition between the virNWFilter{Define,Undefine} APIs and starting of guest VMs due to mis-matched lock ordering. In the virNWFilter{Define,Undefine} codepaths the lock ordering is 1. nwfilter driver lock 2. virt driver lock 3. nwfilter update

[libvirt] [PATCH v3 3/4] Remove windows thread implementation in favour of pthreads

2014-01-29 Thread Daniel P. Berrange
There are a number of pthreads impls available on Win32 these days, in particular the mingw64 project has a good impl. Delete the native windows thread implementation and rely on using pthreads everywhere. Signed-off-by: Daniel P. Berrange berra...@redhat.com --- configure.ac|

Re: [libvirt] [RFC PATCH] libvirt support to force convergence of live guest migration

2014-01-29 Thread Jim Fehlig
Chegu Vinod wrote: Busy enterprise workloads hosted on large sized VM's tend to dirty memory faster than the transfer rate achieved via live guest migration. Despite some good recent improvements ( using dedicated 10Gig NICs between hosts) the live migration may NOT converge. Recently

Re: [libvirt] [RFC PATCH] libvirt support to force convergence of live guest migration

2014-01-29 Thread Chegu Vinod
On 1/29/2014 8:27 AM, Jim Fehlig wrote: Chegu Vinod wrote: Busy enterprise workloads hosted on large sized VM's tend to dirty memory faster than the transfer rate achieved via live guest migration. Despite some good recent improvements ( using dedicated 10Gig NICs between hosts) the live

[libvirt] [PATCH 1/2] qemu: Don't fail if the SCSI host device is shareable between domains

2014-01-29 Thread Osier Yang
It doesn't make sense to fail if the SCSI host device is specified as shareable explicitly between domains (NB, it works if and only if the device is specified as shareable for *all* domains, otherwise it fails). To fix the problem, this patch introduces an array for virSCSIDevice struct, which

[libvirt] [PATCH 2/2] util: Add tests for scsi utils

2014-01-29 Thread Osier Yang
To support to pass the path of the test data to the utils, one more argument is added to virSCSIDeviceGetSgName, virSCSIDeviceGetDevName, and virSCSIDeviceNew, and the related code is changed accordingly. Signed-off-by: Osier Yang jy...@redhat.com --- src/qemu/qemu_cgroup.c | 3 +-

[libvirt] [PATCH 0/2 v4] qemu: Don't fail if the SCSI host device is shareable between domains

2014-01-29 Thread Osier Yang
*** BLURB HERE *** Osier Yang (2): qemu: Don't fail if the SCSI host device is shareable between domains tests: Add tests for scsi utils docs/formatdomain.html.in| 5 ++ src/libvirt_private.syms | 2 +- src/qemu/qemu_cgroup.c | 3 +- src/qemu/qemu_command.c

[libvirt] [PATCH] Revert networkAllocateActualDevice: Set QoS for bridgeless networks too

2014-01-29 Thread Michal Privoznik
This reverts commit 2996e6be19a13199ded7c2aa21039cca97318e01 and some parts of 2636dc8c4de83cd37bc0680a6fbc3f6d25023bd7. Conflicts: tests/virnetdevbandwidthtest.c: New test has been introduced since then. Signed-off-by: Michal Privoznik mpriv...@redhat.com ---

Re: [libvirt] [PATCH 1/4] networkAllocateActualDevice: Set QoS for bridgeless networks too

2014-01-29 Thread Michal Privoznik
On 29.01.2014 15:26, Laine Stump wrote: On 01/23/2014 03:44 PM, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1055484 Currently, libvirt's XML schema of network allows QoS to be defined for every network even though it has no bridge. For instance: network

Re: [libvirt] [PATCH] Revert networkAllocateActualDevice: Set QoS for bridgeless networks too

2014-01-29 Thread Daniel P. Berrange
On Wed, Jan 29, 2014 at 06:44:22PM +0100, Michal Privoznik wrote: This reverts commit 2996e6be19a13199ded7c2aa21039cca97318e01 and some parts of 2636dc8c4de83cd37bc0680a6fbc3f6d25023bd7. Conflicts: tests/virnetdevbandwidthtest.c: New test has been introduced since then. Be

[libvirt] [PATCHv2 2/6] event: server RPC protocol tweaks for domain lifecycle events

2014-01-29 Thread Eric Blake
This patch adds some new RPC call numbers, but for ease of review, they sit idle until a later patch adds the client counterpart to drive the new RPCs. Also for ease of review, I limited this patch to just the lifecycle event; although converting the remaining 15 domain events will be quite

[libvirt] [PATCHv2 1/6] event: dynamically manage server-side RPC domain events

2014-01-29 Thread Eric Blake
This patch continues the earlier conversion made for network events, with a goal of introducing server-side event filtering in a later patch. Actual behavior is unchanged without further RPC changes. * daemon/libvirtd.h (daemonClientPrivate): Alter the tracking of domain events. *

[libvirt] [PATCHv2 6/6] event: pass reason for PM events

2014-01-29 Thread Eric Blake
Commit 57ddcc23 (v0.9.11) introduced the pmwakeup event, with an optional 'reason' field reserved for possible future expansion. But it failed to wire the field through RPC, so even if we do add a reason in the future, we will be unable to get it back to the user. Worse, commit 7ba5defb (v1.0.0)

[libvirt] [PATCHv2 0/6] server-side domain event filtering

2014-01-29 Thread Eric Blake
v1 was here: https://www.redhat.com/archives/libvir-list/2014-January/msg00689.html Since then, I've rebased it on top of this patch which still needs review: https://www.redhat.com/archives/libvir-list/2014-January/msg01406.html as well as added patch 6 so that we don't have to repeat the

[libvirt] [PATCHv2 3/6] event: prepare client to track domain callbackID

2014-01-29 Thread Eric Blake
We want to convert over to server-side events, even for older APIs. To do that, the client side of the remote driver wants to distinguish between legacy virConnectDomainEventRegister and normal virConnectDomainEventRegisterAny, while knowing the client callbackID and the server's serverID for

[libvirt] [PATCHv2 4/6] event: client RPC protocol tweaks for domain lifecycle events

2014-01-29 Thread Eric Blake
The counterpart to the server RPC additions; here, a single function can serve both old and new calls, while incoming events must be serviced by two different functions. Again, some wise choices in our XDR makes event sharing easier. While this only supports lifecycle events, it covers the

Re: [libvirt] [PATCH] Revert networkAllocateActualDevice: Set QoS for bridgeless networks too

2014-01-29 Thread Michal Privoznik
On 29.01.2014 18:48, Daniel P. Berrange wrote: On Wed, Jan 29, 2014 at 06:44:22PM +0100, Michal Privoznik wrote: This reverts commit 2996e6be19a13199ded7c2aa21039cca97318e01 and some parts of 2636dc8c4de83cd37bc0680a6fbc3f6d25023bd7. Conflicts: tests/virnetdevbandwidthtest.c: New test

Re: [libvirt] [PATCH] Revert networkAllocateActualDevice: Set QoS for bridgeless networks too

2014-01-29 Thread Daniel P. Berrange
On Wed, Jan 29, 2014 at 07:03:10PM +0100, Michal Privoznik wrote: On 29.01.2014 18:48, Daniel P. Berrange wrote: On Wed, Jan 29, 2014 at 06:44:22PM +0100, Michal Privoznik wrote: This reverts commit 2996e6be19a13199ded7c2aa21039cca97318e01 and some parts of

[libvirt] [PATCH] maint: add configure checks for BSD CPU affinity

2014-01-29 Thread Roman Bogorodskiy
Check for presence of sys/cpuset.h header and cpuset_getaffinity() in configure instead of just using #ifdef __FreeBSD__ for that code. --- configure.ac | 10 ++ src/util/virprocess.c | 7 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/configure.ac

[libvirt] [PATCH] qemu: adjust maxmem/maxvcpu computation

2014-01-29 Thread Eric Blake
https://bugzilla.redhat.com/show_bug.cgi?id=1038363 If a domain has a different maximum for persistent and live maxmem or max vcpus, then it is possible to hit cases where libvirt refuses to adjust the current values or gets halfway through the adjustment before failing. Better is to determine

Re: [libvirt] [PATCH] maint: add configure checks for BSD CPU affinity

2014-01-29 Thread Eric Blake
On 01/29/2014 11:31 AM, Roman Bogorodskiy wrote: Check for presence of sys/cpuset.h header and cpuset_getaffinity() in configure instead of just using #ifdef __FreeBSD__ for that code. --- configure.ac | 10 ++ src/util/virprocess.c | 7 +-- 2 files changed, 15

Re: [libvirt] [PATCH 1/2] qemu: Don't fail if the SCSI host device is shareable between domains

2014-01-29 Thread Eric Blake
On 01/29/2014 10:22 AM, Osier Yang wrote: It doesn't make sense to fail if the SCSI host device is specified as shareable explicitly between domains (NB, it works if and only if the device is specified as shareable for *all* domains, otherwise it fails). To fix the problem, this patch

Re: [libvirt] [PATCH 2/2] util: Add tests for scsi utils

2014-01-29 Thread Eric Blake
On 01/29/2014 10:22 AM, Osier Yang wrote: To support to pass the path of the test data to the utils, one s/to pass/passing/ more argument is added to virSCSIDeviceGetSgName, virSCSIDeviceGetDevName, and virSCSIDeviceNew, and the related code is changed accordingly. Signed-off-by: Osier

Re: [libvirt] [PATCH v3 4/4] Push nwfilter update locking up to top level

2014-01-29 Thread Stefan Berger
On 01/29/2014 09:53 AM, Daniel P. Berrange wrote: The NWFilter code has as a deadlock race condition between the virNWFilter{Define,Undefine} APIs and starting of guest VMs due to mis-matched lock ordering. In the virNWFilter{Define,Undefine} codepaths the lock ordering is 1. nwfilter

Re: [libvirt] [PATCH v3 2/4] Fix pthread_sigmask check for mingw32 without winpthreads

2014-01-29 Thread Eric Blake
On 01/29/2014 07:53 AM, Daniel P. Berrange wrote: On Fedora 19 and older the pthreads impl provided with mingw does not have any pthread_sigmask impl at all. The configure.ac check was not distinguishing this scenario from that of a broken pthread_sigmask impl, so was mistakenly enabling the

[libvirt] [PATCH v2 2/3] tests: Add test for new virkmod functions

2014-01-29 Thread John Ferlan
Adding tests for new virModprobe{Config|Load|Unload|UseBlacklist} API's. Other than the virModprobeConfig() calls, the tests require some special set up and to be run from root. Signed-off-by: John Ferlan jfer...@redhat.com --- .gitignore | 2 + tests/Makefile.am | 5 ++

[libvirt] [PATCH v2 0/3] Honor blacklist for modprobe command

2014-01-29 Thread John Ferlan
Original patch here: http://www.redhat.com/archives/libvir-list/2014-January/msg01408.html Changes since v1: * Add virkmod.{c,h} to perform the various modprobe commands virModprobeConfig() - modprobe -c virModprobeLoad() - modprobe driver virModprobeUnload() -

[libvirt] [PATCH v2 1/3] utils: Introduce functions for modprobe

2014-01-29 Thread John Ferlan
This patch adds functions for various usages of modprobe Signed-off-by: John Ferlan jfer...@redhat.com --- src/Makefile.am | 1 + src/libvirt_private.syms | 7 +++ src/util/virkmod.c | 138 +++ src/util/virkmod.h | 35

[libvirt] [PATCH v2 3/3] Honor blacklist for modprobe command

2014-01-29 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1045124 When loading modules, libvirt does not honor the modprobe blacklist. By adding a -b to the modprobe command libvirt will fail to load a module if it's on the blacklist Check if the failure to load a driver was due to it being on the blacklist

Re: [libvirt] [PATCH 1/2] qemu: Don't fail if the SCSI host device is shareable between domains

2014-01-29 Thread Osier Yang
On 30/01/14 03:31, Eric Blake wrote: On 01/29/2014 10:22 AM, Osier Yang wrote: It doesn't make sense to fail if the SCSI host device is specified as shareable explicitly between domains (NB, it works if and only if the device is specified as shareable for *all* domains, otherwise it fails). To

Re: [libvirt] [PATCH 2/2] util: Add tests for scsi utils

2014-01-29 Thread Osier Yang
On 30/01/14 03:35, Eric Blake wrote: On 01/29/2014 10:22 AM, Osier Yang wrote: To support to pass the path of the test data to the utils, one s/to pass/passing/ Changed. more argument is added to virSCSIDeviceGetSgName, virSCSIDeviceGetDevName, and virSCSIDeviceNew, and the related code