1. 22 4月, 2016 6 次提交
    • C
      tests: rename test_conf -> virconftest · 4839822f
      Cole Robinson 提交于
      And confdata to virconfdata, since 'conf' can mean a few different
      things in libvirt
      4839822f
    • C
      6cf52a2f
    • C
      tests: build: Remove duplicate libvirtd test list · af9d6b1c
      Cole Robinson 提交于
      Store the test list in libvirtd_test_scripts, and use it where
      appropriate. This also fixes the fact that we didn't ship
      virsh-uriprecedence when libvirtd build is disabled.
      af9d6b1c
    • C
      virconf: Handle conf file without ending newline · 3cc2a9e0
      Cole Robinson 提交于
      $ echo -n 'log_level=1' > ~/.config/libvirt/libvirtd.conf
      $ libvirtd --timeout=10
      2014-10-10 10:30:56.394+0000: 6626: info : libvirt version: 1.1.3.6, package: 1.fc20 (Fedora Project, 2014-09-08-17:50:42, buildvm-05.phx2.fedoraproject.org)
      2014-10-10 10:30:56.394+0000: 6626: error : main:1261 : Can't load config file: configuration file syntax error: /home/rjones/.config/libvirt/libvirtd.conf:1: expecting a value: /home/rjones/.config/libvirt/libvirtd.conf
      
      Rather than try to fix this in the depths of the parser, just catch
      the case when a config file doesn't end in a newline, and manually
      append a newline to the content before parsing
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1151409
      3cc2a9e0
    • L
      docs: remove reference to non-existent "igmp-ipv6" protocol · 81f3839f
      Laine Stump 提交于
      IGMP is used on IPv4 networks tp setup multicast group memberships. On
      IPv6, this job is done by Multicast Listener Discovery (MLD), which
      uses ICMPv6 packets rather than its own IP protocol number like IGMP.
      
      The nwfilter documentation lists "igmp-ipv6" as one of the possible
      protocols, but this is ignored (and stripped from the xml). This patch
      removes that erroneous reference.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1038888
      81f3839f
    • L
      network: fix DHCPv6 on networks with prefix != 64 · bf3d9f30
      Laine Stump 提交于
      According to the dnsmasq manpage, the netmask for IPv4 address ranges
      will be auto-deteremined from the interface dnsmasq is listening on,
      but it can't do this for IPv6 for some reason - it instead assumes a
      network prefix of 64 for all IPv6 address ranges. If this is
      incorrect, dnsmasq will refuse to give out an address to clients,
      instead logging this message:
      
       dnsmasq-dhcp[2380]: no address range available for DHCPv6 request via virbr0
      
      The solution is for libvirt to add ",$prefix" to all IPv6 dhcp-range
      arguments when building the dnsmasq.conf file.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1033739
      bf3d9f30
  2. 21 4月, 2016 34 次提交