mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-04 20:15:19 +00:00
Add stub impl of virNetlinkEventServiceLocalPid for Win32
The libvirt_private.syms file exports virNetlinkEventServiceLocalPid
so there needs to be a no-op stub for Win32 to avoid linker errors
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 2d191e8e27
)
This commit is contained in:
parent
328d7da106
commit
f44e18ed93
@ -659,6 +659,12 @@ bool virNetlinkEventServiceIsRunning(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int virNetlinkEventServiceLocalPid(void)
|
||||
{
|
||||
netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* virNetlinkEventAddClient: register a callback for handling of
|
||||
* netlink messages
|
||||
|
Loading…
Reference in New Issue
Block a user