[PATCH 02/43] bhyve: convert virMutex to GMutex

Rafael Fonseca r4f4rfs at gmail.com
Tue Apr 14 17:05:03 UTC 2020


On Tue, Apr 14, 2020 at 6:06 PM Pavel Mores <pmores at redhat.com> wrote:
>
> By the way, the approach taken here with bhyveDriver{Lock,Unlock}() might make
> sense with the whole series - implement e.g. virMutexInit() in terms of
> g_mutex_init() in the first phase and only then replace the actual
> virMutexInit() calls if considered beneficial...

So you mean one patch doing 's/virMutex/GMutex' and then inside
virMutex*() we call the g_mutex_*() equivalent? And maybe make
virMutex*() `inline`?


Att.
-- 
Rafael Fonseca





More information about the libvir-list mailing list