Re: [libvirt] [PATCHv3 2/2] Add support for multi-part netlink messages.

2015-08-11 Thread Maxim Perevedentsev
On 08/11/2015 12:15 AM, Laine Stump wrote: On 08/10/2015 01:08 PM, Maxim Perevedentsev wrote: Such messages do not have NLMSG_ERROR or NLMSG_DONE type but they are valid responses. We test 'multi-partness' by looking for NLM_F_MULTI flag. --- src/util/virnetlink.c | 4 +++- 1 file changed,

[libvirt] [PATCHv3 2/2] Add support for multi-part netlink messages.

2015-08-10 Thread Maxim Perevedentsev
Such messages do not have NLMSG_ERROR or NLMSG_DONE type but they are valid responses. We test 'multi-partness' by looking for NLM_F_MULTI flag. --- src/util/virnetlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c index

Re: [libvirt] [PATCHv3 2/2] Add support for multi-part netlink messages.

2015-08-10 Thread Laine Stump
On 08/10/2015 01:08 PM, Maxim Perevedentsev wrote: Such messages do not have NLMSG_ERROR or NLMSG_DONE type but they are valid responses. We test 'multi-partness' by looking for NLM_F_MULTI flag. --- src/util/virnetlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git