---
domain.go | 13 +++--
domain_test.go | 56 +---
2 files changed, 64 insertions(+), 5 deletions(-)
diff --git a/domain.go b/domain.go
index 848835a..cbb22e5 100644
--- a/domain.go
+++ b/domain.go
@@ -30,8 +30,10 @@ import (
)
From: Xi Xu
The @rundir is allocated in virGetUserRuntimeDirectory, may lost
when virFileMakePath failed.
The tlsalias allocated in qemuAliasTLSObjFromSrcAlias may lost
when append string to json.
---
daemon/libvirtd.c| 1 +
src/qemu/qemu_monitor_json.c | 2 ++
2
...
>> Was there ever thought to adding loadparm to the machine XML? What's the
>> reasoning to not have it there. If it's only valid for bootindex=1,
>> then it's far easier to check if the machine XML has it defined rather
>> than perusing the disk/network lists (which could be lengthy) only
When building with clang 4.0.0, virsh build fails like this:
gmake[3]: Entering directory '/usr/home/novel/code/libvirt/tools'
CC virsh-virsh.o
In file included from virsh.c:45:
In file included from /usr/local/include/readline/readline.h:31:
On 05/26/2017 12:05 PM, Roman Bogorodskiy wrote:
> - Include virerror.h for virReportSystemError
> - Rename stub functions to match original function names
> ---
> Pushed under the build breaker rule.
>
> src/util/virfcp.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
- Include virerror.h for virReportSystemError
- Rename stub functions to match original function names
---
Pushed under the build breaker rule.
src/util/virfcp.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/util/virfcp.c b/src/util/virfcp.c
index
Daniel P. Berrange wrote:
> On Fri, May 26, 2017 at 07:11:53AM -0400, John Ferlan wrote:
> >
> >
> > On 05/26/2017 03:15 AM, Bjoern Walk wrote:
> > > Thanks a lot for your review John.
> > >
> > > If you don't mind, you can make the adjustments you mentioned and push,
> > > as I can only
On Fri, May 26, 2017 at 07:11:53AM -0400, John Ferlan wrote:
>
>
> On 05/26/2017 03:15 AM, Bjoern Walk wrote:
> > Thanks a lot for your review John.
> >
> > If you don't mind, you can make the adjustments you mentioned and push,
> > as I can only prepare a v2 on Monday and I wanted to get this
On 05/25/2017 08:34 PM, John Ferlan wrote:
On 05/23/2017 09:27 AM, Farhan Ali wrote:
Introduce a new QEMU capability for loadparm and if the capability is
supported by QEMU then append the loadparm value to "-machine" string
of qemu command line.
Signed-off-by: Farhan Ali
this function takes only resource argument.
---
src/libvirt-php.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libvirt-php.c b/src/libvirt-php.c
index bfc9b7d..99d6397 100644
--- a/src/libvirt-php.c
+++ b/src/libvirt-php.c
@@ -629,7 +629,7 @@ static zend_function_entry
On 05/25/2017 07:58 PM, John Ferlan wrote:
On 05/23/2017 09:27 AM, Farhan Ali wrote:
Update the per device boot schema to add an optional loadparm parameter.
Extend the virDomainDeviceInfo to support loadparm option.
Modify the appropriate functions to parse loadparm from boot device xml.
On 05/26/2017 08:55 AM, Peter Krempa wrote:
> On Fri, May 26, 2017 at 07:59:10 -0400, John Ferlan wrote:
>> Rather than pass by value, let's pass by reference since the object ends
>> up "owning" the XML definition, let's make that ownership a bit more real.
>>
>> Signed-off-by: John Ferlan
On 05/26/2017 08:56 AM, Peter Krempa wrote:
> On Fri, May 26, 2017 at 07:59:08 -0400, John Ferlan wrote:
>> For now it'll just call the virInterfaceObjUnlock, but a future adjustment
>> will do something different.
>>
>> The virInterfaceObjUnlock is now private to virinterfaceobj.c with a
>>
On 05/26/2017 08:27 AM, Peter Krempa wrote:
> On Fri, May 26, 2017 at 07:59:01 -0400, John Ferlan wrote:
>> Rather than using goto cleanup on object find failure and having cleanup
>> need to check if the obj was present before unlocking, just return
>> immediately.
>>
>> Signed-off-by: John
On 05/26/2017 08:36 AM, Peter Krempa wrote:
> On Fri, May 26, 2017 at 08:22:26 -0400, John Ferlan wrote:
>>
>>
>> On 05/26/2017 03:14 AM, Peter Krempa wrote:
>>> On Thu, May 25, 2017 at 15:57:01 -0400, John Ferlan wrote:
In order to ensure that whenever something is added to
On Fri, May 26, 2017 at 06:50:58PM +0800, zhenwei.pi wrote:
> ---
> domain.go | 13 +++--
> domain_test.go | 31 ---
> 2 files changed, 39 insertions(+), 5 deletions(-)
>
> diff --git a/domain.go b/domain.go
> index 848835a..1382cd0 100644
> ---
On Fri, May 26, 2017 at 04:39:17PM +0800, fangying wrote:
> Hi,
> We'd like to report a double dereference error of 'pyobj_cbData' in
> libvirt_virConnectDomainEventRegisterAny.
> The bug can be triggered in the situation where 'domainEventRegisterAny'
> (the python interface of
On 05/26/2017 08:12 AM, Peter Krempa wrote:
> On Thu, May 25, 2017 at 15:57:10 -0400, John Ferlan wrote:
>> Since the @def is consumed by the assignment function, let's pass by
>> reference instead of value and really consume it.
>>
>> Signed-off-by: John Ferlan
>> ---
>>
---
domain.go | 13 +++--
domain_test.go | 31 ---
2 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/domain.go b/domain.go
index 848835a..1382cd0 100644
--- a/domain.go
+++ b/domain.go
@@ -30,8 +30,10 @@ import (
)
type DomainController
Hi,
We'd like to report a double dereference error of 'pyobj_cbData' in
libvirt_virConnectDomainEventRegisterAny.
The bug can be triggered in the situation where 'domainEventRegisterAny'
(the python interface of libvirt_virConnectDomainEventRegisterAny)
is invoked and network connection
On 05/26/2017 04:13 AM, Peter Krempa wrote:
> On Thu, May 25, 2017 at 15:57:03 -0400, John Ferlan wrote:
>> Alter the node_device_driver source and prototypes to follow more
>> recent code style guidelines w/r/t spacing between functions, format
>> of the function, and the prototype definitions.
On Fri, May 26, 2017 at 07:59:08 -0400, John Ferlan wrote:
> For now it'll just call the virInterfaceObjUnlock, but a future adjustment
> will do something different.
>
> The virInterfaceObjUnlock is now private to virinterfaceobj.c with a
> short term forward reference.
>
> Additionally, make
On Fri, May 26, 2017 at 13:50:08 +0100, Richard W.M. Jones wrote:
> The number of records that virConnectGetAllDomainStats can return per
> domain is currently limited to 4096. This is quite low -- for
> example, a single guest with ~320 disks will hit this limit. This
> increases the limit to
On Fri, May 26, 2017 at 07:59:10 -0400, John Ferlan wrote:
> Rather than pass by value, let's pass by reference since the object ends
> up "owning" the XML definition, let's make that ownership a bit more real.
>
> Signed-off-by: John Ferlan
> ---
>
The number of records that virConnectGetAllDomainStats can return per
domain is currently limited to 4096. This is quite low -- for
example, a single guest with ~320 disks will hit this limit. This
increases the limit to make it much larger. Note that
VIR_NET_MESSAGE_MAX still protects the
On 05/26/2017 03:15 AM, Peter Krempa wrote:
> On Thu, May 25, 2017 at 15:57:02 -0400, John Ferlan wrote:
>> A virNodeDeviceObjPtr is an @obj
>>
>> A virNodeDeviceObjListPtr is an @devs
>>
>> Signed-off-by: John Ferlan
>> ---
>> src/conf/virnodedeviceobj.c | 130
>>
On Fri, May 26, 2017 at 01:29:20PM +0100, Richard W.M. Jones wrote:
> In commit 89a706681cb3a4aa003d920db3163b809cfbc9ca, the returned
> array of stats is limited to REMOTE_DOMAIN_LIST_MAX entries (4096).
>
> As well as being far too low -- this breaks if a single guest is added
> with 320 disks
On Fri, May 26, 2017 at 13:29:20 +0100, Richard W.M. Jones wrote:
> In commit 89a706681cb3a4aa003d920db3163b809cfbc9ca, the returned
> array of stats is limited to REMOTE_DOMAIN_LIST_MAX entries (4096).
>
> As well as being far too low -- this breaks if a single guest is added
> with 320 disks --
On Fri, May 26, 2017 at 08:22:26 -0400, John Ferlan wrote:
>
>
> On 05/26/2017 03:14 AM, Peter Krempa wrote:
> > On Thu, May 25, 2017 at 15:57:01 -0400, John Ferlan wrote:
> >> In order to ensure that whenever something is added to virNodeDevCapType
> >> that both functions are considered for
In commit 89a706681cb3a4aa003d920db3163b809cfbc9ca, the returned
array of stats is limited to REMOTE_DOMAIN_LIST_MAX entries (4096).
As well as being far too low -- this breaks if a single guest is added
with 320 disks -- it also seems as if use of REMOTE_DOMAIN_LIST_MAX
was a mistake, and it
On Fri, May 26, 2017 at 07:59:01 -0400, John Ferlan wrote:
> Rather than using goto cleanup on object find failure and having cleanup
> need to check if the obj was present before unlocking, just return
> immediately.
>
> Signed-off-by: John Ferlan
> ---
>
On 05/26/2017 03:14 AM, Peter Krempa wrote:
> On Thu, May 25, 2017 at 15:57:01 -0400, John Ferlan wrote:
>> In order to ensure that whenever something is added to virNodeDevCapType
>> that both functions are considered for processing of a new capability,
>> change the if-then-else construct into
On Fri, May 26, 2017 at 13:02:15 +0100, Richard W.M. Jones wrote:
> When increasing the buffer size up to VIR_NET_MESSAGE_MAX, we
> currently quadruple it each time. This unfortunately means that we
> cannot allow certain buffer sizes -- for example the current
> VIR_NET_MESSAGE_MAX == 33554432
On Thu, May 25, 2017 at 15:57:11 -0400, John Ferlan wrote:
> Create an allocator for the virNodeDeviceObjPtr - include setting up
> the mutex, saving the virNodeDeviceDefPtr, and locking the return object.
>
> Signed-off-by: John Ferlan
> ---
> src/conf/virnodedeviceobj.c |
On Thu, May 25, 2017 at 15:57:10 -0400, John Ferlan wrote:
> Since the @def is consumed by the assignment function, let's pass by
> reference instead of value and really consume it.
>
> Signed-off-by: John Ferlan
> ---
> src/conf/virnodedeviceobj.c| 8
>
On Thu, May 25, 2017 at 15:57:09 -0400, John Ferlan wrote:
> It was only ever used in node_device_hal.c which really never used it
> anyway since the NODE_DEV_UDI was never referenced. Remove free_udi()
> and @privData as well as the references to obj->privateData &
> obj->privateFree.
>
>
When increasing the buffer size up to VIR_NET_MESSAGE_MAX, we
currently quadruple it each time. This unfortunately means that we
cannot allow certain buffer sizes -- for example the current
VIR_NET_MESSAGE_MAX == 33554432 can never be "hit" since ‘newlen’
jumps from 16MB to 64MB.
Instead of
On Thu, May 25, 2017 at 15:57:08 -0400, John Ferlan wrote:
> In preparation for privatizing the virNodeDeviceObj - create an accessor
> for the @def field and then use it for various callers.
>
> Signed-off-by: John Ferlan
> ---
> src/conf/virnodedeviceobj.c | 7
Alter the algorithm to return a list of matching names rather than a
list of match virInterfaceObjPtr which are then just dereferenced
extracting the def->name and def->mac. Since the def->mac would be
the same as the passed @mac, just return a list of names and as long
as there's only one,
v1: https://www.redhat.com/archives/libvir-list/2017-April/msg01225.html
I've been informed via internal IRC that the patches 9, 10, and 11 don't
apply cleanly - so here's a clean series.
John
John Ferlan (11):
interface: Consistently use 'obj' for a virInterfaceObjPtr
interface: Remove
Move the struct into virinterfaceobj.c, create necessary accessors, and
initializers.
Signed-off-by: John Ferlan
---
src/conf/virinterfaceobj.c | 28
src/conf/virinterfaceobj.h | 20 +---
src/libvirt_private.syms | 3 +++
Rather than using goto cleanup on object find failure and having cleanup
need to check if the obj was present before unlocking, just return immediately.
Signed-off-by: John Ferlan
---
src/test/test_driver.c | 37 +
1 file changed, 13
Now that we have a bit more control, let's convert our object into
a lockable object and let that magic handle the create and lock/unlock.
Signed-off-by: John Ferlan
---
po/POTFILES.in | 1 -
src/conf/virinterfaceobj.c | 110
Prefix should have been virInterfaceObjList since the API is operating
on the list of interfaces.
Signed-off-by: John Ferlan
---
src/conf/virinterfaceobj.c | 37 +++--
src/conf/virinterfaceobj.h | 31 ---
Rather than pass by value, let's pass by reference since the object ends
up "owning" the XML definition, let's make that ownership a bit more real.
Signed-off-by: John Ferlan
---
src/conf/virinterfaceobj.c | 12 +++-
src/conf/virinterfaceobj.h | 2 +-
Move the structs into virinterfaceobj.c, create necessary accessors, and
initializers.
This also includes reworking virInterfaceObjListClone to handle receiving
a source interfaces list pointer, creating the destination interfaces object,
and copying everything from source into dest.
For now it'll just call the virInterfaceObjUnlock, but a future adjustment
will do something different.
The virInterfaceObjUnlock is now private to virinterfaceobj.c with a
short term forward reference.
Additionally, make virInterfaceObjLock private since it's only used in
virinterfaceobj
We're about to make the obj much more private, so make it easier to
see future changes which will require accessors for the obj->def
This also includes modifying some interfaces->objs[i]->X references to be
obj = interfaces->objs[i]; and then def = obj->def
Signed-off-by: John Ferlan
Alter variable names to be obj rather than 'iface' and/or 'obj'.
Signed-off-by: John Ferlan
---
src/conf/virinterfaceobj.c | 48 ++--
src/conf/virinterfaceobj.h | 4 +--
src/test/test_driver.c | 78 +++---
Create/use a helper to perform the object allocation
Signed-off-by: John Ferlan
---
src/conf/virinterfaceobj.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/src/conf/virinterfaceobj.c b/src/conf/virinterfaceobj.c
index
On 05/26/2017 02:57 AM, Peter Krempa wrote:
> On Thu, May 25, 2017 at 15:56:59 -0400, John Ferlan wrote:
>> The current mechanism doesn't lock each element in devs->objs as it's
>> looking at it, rather it keeps locking/unlocking the passed element for
>> which the removal is being attempted.
On Fri, May 26, 2017 at 01:39:24PM +0200, Peter Krempa wrote:
Commit 4337bc57be introduced code that would in certain error paths
unref the last reference of a pointer, but return it.
Clear the pointers before returning them
---
src/node_device/node_device_driver.c | 8 ++--
On Thu, May 25, 2017 at 15:57:06 -0400, John Ferlan wrote:
> Create nodeDeviceObjFindByName which will perform the corresponding
> virNodeDeviceObjFindByName call for various node_device_driver callers
> rather than having the same repetitive code.
>
> Signed-off-by: John Ferlan
On 05/26/2017 03:05 AM, Peter Krempa wrote:
> On Thu, May 25, 2017 at 15:56:58 -0400, John Ferlan wrote:
>> - Rather than "goto cleanup;" on failure to virNodeDeviceObjFindByName
>>an @obj, just return directly. This then allows the cleanup: label code
>>to not have to check "if (obj)"
Commit 4337bc57be introduced code that would in certain error paths
unref the last reference of a pointer, but return it.
Clear the pointers before returning them
---
src/node_device/node_device_driver.c | 8 ++--
src/test/test_driver.c | 4 +++-
2 files changed, 9
On Thu, May 25, 2017 at 10:39:48PM -0400, Yi Wang wrote:
> The @tmp is allocated in virVHBAGetConfig in virVHBAIsVportCapable
> condition, it will lost when virVHBAGetConfig called again.
>
> Signed-off-by: Yi Wang
> ---
> src/node_device/node_device_linux_sysfs.c | 3 ++-
>
On 05/26/2017 03:15 AM, Bjoern Walk wrote:
> Thanks a lot for your review John.
>
> If you don't mind, you can make the adjustments you mentioned and push,
> as I can only prepare a v2 on Monday and I wanted to get this in v3.4.0.
>
> Best,
> Bjoern
>
I've made the adjustments and will push
...
>>
>> ...
>>
>>> diff --git a/tests/nodedevschemadata/ccw_0_0_1-invalid.xml
>>> b/tests/nodedevschemadata/ccw_0_0_1-invalid.xml
>>> new file mode 100644
>>> index 0..d840555c0
>>> --- /dev/null
>>> +++ b/tests/nodedevschemadata/ccw_0_0_1-invalid.xml
>>> @@ -0,0 +1,10 @@
On 05/26/2017 03:00 AM, Bjoern Walk wrote:
> John Ferlan [2017-05-25, 03:21PM -0400]:
>>
>>
>> On 05/22/2017 02:38 AM, Bjoern Walk wrote:
>>> Now that the node_device driver is aware of CCW devices, let's hook up
>>> virsh so that we can filter them properly.
>>>
>>>
We can treat mdevs the same as all other PCI hostdevs
and figure out whether they are PCI Express or legacy PCI
by checking the size of their config space.
Signed-off-by: Andrea Bolognani
---
src/qemu/qemu_domain_address.c | 3 ---
1 file changed, 3 deletions(-)
diff --git
On Thu, May 25, 2017 at 10:12:45PM -0400, Yi Wang wrote:
> The @ipv6_host allocated in virAsprintf may be lost when virAsprintf
> addrstr failed.
>
> Signed-off-by: Yi Wang
> ---
> src/util/virsocketaddr.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff
v3 of:
https://www.redhat.com/archives/libvir-list/2017-May/msg00939.html
diff to v2:
- moved xmlopt argument further the argument list in
virDomainSnapshotRedefinePrep
- drop couple of checks in qemuDomainABIStabilityCheck
Patch 1/2 has been ACKed. But just conditionally. So I'm sending it
https://bugzilla.redhat.com/show_bug.cgi?id=1450349
Problem is, qemu fails to load guest memory image if these
attribute change on migration/restore from an image.
Signed-off-by: Michal Privoznik
---
src/libvirt_private.syms | 2 ++
src/qemu/qemu_conf.c | 2 +-
While checking for ABI stability, drivers might pose additional
checks that are not valid for general case. For instance, qemu
driver might check some memory backing attributes because of how
qemu works. But those attributes may work well in other drivers.
Signed-off-by: Michal Privoznik
On Thu, May 25, 2017 at 07:28:14PM -0300, Julio Faracco wrote:
There is a VIR_FREE after a return statement. That code section is never
executed and for this reason the "tty" variable is not being freed. This
commit rearrange the logic.
Same here, ACK with slight change in $SUBJ, will push
On Thu, May 25, 2017 at 07:27:25PM -0300, Julio Faracco wrote:
This commit fixes an acl missing variable. The virt-acl.m4 inside the
macro directory does not contain the variable 'with_acl'. So, it is
being set as an empty string "with_acl=''". This is causing a missing
option during the
On Thu, May 25, 2017 at 08:37 PM +0200, John Ferlan wrote:
> On 05/22/2017 02:38 AM, Bjoern Walk wrote:
>> From: Marc Hartmayer
>>
>> As the switch statement checks data.type of the iterator variable @cap
>> it must use this variable for the
On 05/24/2017 05:06 PM, Daniel P. Berrange wrote:
> On Wed, May 24, 2017 at 04:45:57PM +0200, Michal Privoznik wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1450349
>>
>> Problem is, qemu fails to load guest memory image if these
>> attribute change on migration/restore from an image.
>
>
On Thu, May 25, 2017 at 10:16:26AM -0700, Peter Volpe wrote:
Hi Everyone,
We are working towards building on the virtualization management
functionality in cockpit (http://cockpit-project.org/) and wanted to get
some feedback on the best way to integrate with libvirt.
As a quick overview,
On Thu, May 25, 2017 at 15:57:04 -0400, John Ferlan wrote:
> Rather than taking an virNodeDeviceObjPtr and dereffing the obj->def,
> just pass the def.
>
> Also check for an error in the function to have the calling function goto
> cleanup on error.
Again two semanticaly different changes in
On Thu, May 25, 2017 at 15:57:05 -0400, John Ferlan wrote:
> Rather than taking an virNodeDeviceObjPtr and dereffing the obj->def,
> just pass the def.
>
> Signed-off-by: John Ferlan
> ---
> src/node_device/node_device_driver.c | 12 ++--
> 1 file changed, 6
On Thu, May 25, 2017 at 10:26:47AM -0700, Peter wrote:
> As far as I know libvirt doesn't currently have a remoteable API. It does
> have a daemon that communicates with clients via a XDR RPC.
> (https://libvirt.org/internals/rpc.html) However from what I'm hearing the
> RPC is considered an
On Thu, May 25, 2017 at 15:57:03 -0400, John Ferlan wrote:
> Alter the node_device_driver source and prototypes to follow more
> recent code style guidelines w/r/t spacing between functions, format
> of the function, and the prototype definitions.
>
> While the new names for nodeDeviceUpdateCaps,
Thanks a lot for your review John.
If you don't mind, you can make the adjustments you mentioned and push,
as I can only prepare a v2 on Monday and I wanted to get this in v3.4.0.
Best,
Bjoern
--
IBM Systems
Linux on z Systems & Virtualization Development
On Thu, May 25, 2017 at 07:54:13PM -0300, Claudio André wrote:
Em 25/05/2017 11:15, Martin Kletzander escreveu:
I need to investigate why this doesn't work, I don't have that file
[...]
Just figured that out. The systems in Travis are just so old that the
automake there doesn't create the
On Thu, May 25, 2017 at 15:57:02 -0400, John Ferlan wrote:
> A virNodeDeviceObjPtr is an @obj
>
> A virNodeDeviceObjListPtr is an @devs
>
> Signed-off-by: John Ferlan
> ---
> src/conf/virnodedeviceobj.c | 130
> ++--
> 1 file
On Thu, May 25, 2017 at 15:57:01 -0400, John Ferlan wrote:
> In order to ensure that whenever something is added to virNodeDevCapType
> that both functions are considered for processing of a new capability,
> change the if-then-else construct into a switch statement.
>
> Signed-off-by: John
On Thu, May 25, 2017 at 08:44:48PM -0300, Claudio André wrote:
Em 25/05/2017 03:49, Martin Kletzander escreveu:
On Thu, May 25, 2017 at 01:14:36AM -0300, claudioandre...@gmail.com
wrote:
From: Claudio André
It builds the code coverage report and uploads the
On Thu, May 25, 2017 at 15:57:00 -0400, John Ferlan wrote:
> When searching for an NPIV capable fc_host, not only does there need to
> be an "fc_host" capability with the specified wwnn/wwpn or fabric_wwn,
> but that scsi_host must be vport capable; otherwise, one could end up
> picking an exising
John Ferlan [2017-05-25, 03:23PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
We will need some convenient helper functions for managing sysfs-entries
for fibre channel-backed devices. Let's implement them and make them
available in the private API.
Signed-off-by:
John Ferlan [2017-05-25, 03:26PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
Mention CCW and fc_remote_port capablities in the news.xml file.
Reviewed-by: Boris Fiuczynski
Signed-off-by: Bjoern Walk
---
John Ferlan [2017-05-25, 03:26PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
Similar to scsi_host and fc_host, there is a relation between a
scsi_target and its transport specific fc_remote_port. Let's expose this
relation and relevant information behind it.
An
On Thu, May 25, 2017 at 15:56:58 -0400, John Ferlan wrote:
> - Rather than "goto cleanup;" on failure to virNodeDeviceObjFindByName
>an @obj, just return directly. This then allows the cleanup: label code
>to not have to check "if (obj)" before calling virNodeDeviceObjUnlock.
>This
John Ferlan [2017-05-25, 03:21PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
Now that the node_device driver is aware of CCW devices, let's hook up
virsh so that we can filter them properly.
Reviewed-by: Boris Fiuczynski
Reviewed-by:
John Ferlan [2017-05-25, 03:05PM -0400]:
One would hope they're in range, but since the rng had ranges should you
check here similar to what virDomainDeviceCCWAddressIsValid does?
It's fine this way since this is essentially reporting from udev which
one can only assume
On Thu, May 25, 2017 at 15:56:59 -0400, John Ferlan wrote:
> The current mechanism doesn't lock each element in devs->objs as it's
> looking at it, rather it keeps locking/unlocking the passed element for
> which the removal is being attempted. Fix things to lock each element
> as we're looking
John Ferlan [2017-05-25, 02:37PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
From: Marc Hartmayer
As the switch statement checks data.type of the iterator variable @cap
it must use this variable for the update too.
s/must/can...
I
87 matches
Mail list logo