• D
    Expand virSocketFormat to be more flexible · 497adba2
    Daniel P. Berrange 提交于
    The getnameinfo() function is more flexible than inet_ntop()
    avoiding the need to if/else the code based on socket family.
    Also make it support UNIX socket addrs and allow inclusion
    of a port (service) address. Finally do proper error reporting
    via normal APIs.
    
    * src/conf/domain_conf.c, src/nwfilter/nwfilter_ebiptables_driver.c,
      src/qemu/qemu_conf.c: Fix error handling with virSocketFormat
    * src/util/network.c: Rewrite virSocketFormat to use getnameinfo
      and cope with UNIX socket addrs.
    497adba2
qemu_conf.c 211.5 KB