[PATCH 0/4] Improve netlink to support all protocols.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now, netlink in libvirt only suport NETLINK_ROUTE protocol.
But we need other netlinks, especially to support cpu and memory hotplug.

These patches did the following things:
    1) Change global variable "server" to an array to store all the netlink sockets,
       and modified all the API prototypes.
    2) Introduce a new API virNetlinkEventServiceStopAll() to stop all netlink servers.
    3) Modify all the function calls.

Tang Chen (4):
  Improve netlink to support all protocol.
  Introduce virNetlinkEventServiceStopAll() to stop all netlink    
    services in libvirt.
  Modify all the function calls for API in virnetlink.c
  DEBUG: print out netlink message.

 daemon/libvirtd.c                |   12 +-
 src/libvirt_private.syms         |    1 +
 src/util/virnetdev.c             |    6 +-
 src/util/virnetdevmacvlan.c      |   12 +-
 src/util/virnetdevvportprofile.c |    7 +-
 src/util/virnetlink.c            |  235 +++++++++++++++++++++++++++++++-------
 src/util/virnetlink.h            |   22 ++--
 7 files changed, 232 insertions(+), 63 deletions(-)

-- 
1.7.10.2


-- 
Best Regards,
Tang chen

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]