Re: [PATCH V2 1/2] locking: relax PID requirement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel P. Berrange wrote:
> On Tue, Apr 21, 2015 at 04:24:29PM -0600, Jim Fehlig wrote:
>   
>> Some hypervisors like Xen do not have PIDs associated with domains.
>> Relax the requirement for PID != 0 in the locking code so it can
>> be used by hypervisors that do not represent domains as a process
>> running on the host.
>>
>> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
>> ---
>>
>> V2:
>> Change check for ownerPid to ownerId in lock daemon dispatcher
>>
>> Change instance of VIR_WARN to VIR_DEBUG to prevent polluting the
>> logs with warnings when creating Xen domains.
>>
>>  src/locking/lock_daemon.c          |  2 +-
>>  src/locking/lock_daemon_dispatch.c | 16 ++++++++--------
>>  src/locking/lock_driver_lockd.c    |  7 ++-----
>>  3 files changed, 11 insertions(+), 14 deletions(-)
>>     
>
> ACK
>   

Thanks.  I've pushed this one.

Regards,
Jim

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]