Hi Viktor,
I sent a new version patch set, and please have a look at them.
On 07/19/2012 01:17 AM, Viktor Mihajlovski wrote:
+nl_join_groups(srv-netlinknh, groups);
AFAIK nl_join_groups is deprecated and should be replaced by a
setsockopt( ..., NETLINK_ADD_MEMBERSHIP,...)
Further,
NOTE: This patch is just for some comments, so that we can try to
improve netlink support in libvirt.
This patch introduces a new global array servers[MAX_LINKS],
and all the netlink protocol (at most 32 protocols)
can be supportted.
And also, it creates a NETLINK_KOBJECT_UEVENT socket to
On 07/18/2012 02:22 PM, tangchen wrote:
NOTE: This patch is just for some comments, so that we can try to
improve netlink support in libvirt.
This patch introduces a new global array servers[MAX_LINKS],
and all the netlink protocol (at most 32 protocols)
can be supportted.
And
Hi~
I didn't make it clear. :)
I meant to modify virNetlinkEventServiceStart(), but as you said, I also need
to modify
virNetlinkEventAddClient(), virNetlinkEventRemoveClient(), and so on. It is a
lot
of work then.
So I added a virNetlinkEventServiceStartProtocol() and see if you guys have