[libvirt] [PATCH v5 1/6] nodedev: Introduce udevEventMonitorSanityCheck helper function

John Ferlan jferlan at redhat.com
Sun Oct 15 14:23:38 UTC 2017

On 10/11/2017 10:52 AM, Erik Skultety wrote:
> We need to perform a sanity check on the udev monitor before every
> use so that we know nothing has changed in the meantime. The reason for
> moving the code to a separate helper is to enhance readability and shift
> the focus on the important stuff within the udevEventHandleCallback
> handler.
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
>  src/node_device/node_device_udev.c | 43 ++++++++++++++++++++++++--------------
>  1 file changed, 27 insertions(+), 16 deletions(-)

Reviewed-by: John Ferlan <jferlan at redhat.com>


More information about the libvir-list mailing list