1. 27 7月, 2016 13 次提交
  2. 26 7月, 2016 2 次提交
  3. 19 7月, 2016 3 次提交
  4. 18 7月, 2016 8 次提交
  5. 15 7月, 2016 3 次提交
  6. 13 7月, 2016 3 次提交
    • M
      dnsmasq: disable IPv6 default gateway in RA for isolated networks · 527968d4
      Maxim Perevedentsev 提交于
      IPv6 RA always contains an implicit default route via
      the link-local address of the source of RA. This forces
      the guest to install a route via isolated network, which
      may disturb the guest's networking in case of multiple interfaces.
      More info in 013427e6.
      
      The validity of this route is controlled by "default [route] lifetime"
      field of RA. If the lifetime is set to 0 seconds, then no route
      is installed by receiver.
      
      dnsmasq 2.67+ supports "ra-param=<interface>,<RA interval>,<default
      lifetime>" option. We pass "ra-param=*,0,0"
      (here, RA_interval=0 means default) to disable default gateway in RA
      for isolated networks.
      527968d4
    • M
      a96528e9
    • J
      systemd: fix ready notification on abstract socket · c8f08e48
      Jim Fehlig 提交于
      At least with systemd v210, NOTIFY_SOCKET is abstact, e.g.
      @/org/freedesktop/systemd1/notify. sendmsg() fails on such a socket
      with "Connection refused". The unix(7) man page contains the following
      details wrt abstract socket addresses
      
      abstract: an abstract socket address is distinguished (from a
                pathname socket) by the fact that sun_path[0] is a null byte
                ('\0').  The socket's address in this namespace is given by the
                additional bytes in sun_path that are covered by the specified
                length of the address structure.  (Null bytes in the name have
                no special significance.)
      
      So we need to be more precise about the address length, setting it to
      the sizeof sa_family_t + length of address copied to sun_path instead
      of setting it to the sizeof the entire sockaddr_un struct.
      
      Resolves: https://bugzilla.opensuse.org/show_bug.cgi?id=987668Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      c8f08e48
  7. 12 7月, 2016 4 次提交
  8. 11 7月, 2016 3 次提交
    • M
      virStorageEncryptionSecretFree: Don't leak secret lookup definition · b0483525
      Michal Privoznik 提交于
      When storage secret is parsed in virStorageEncryptionSecretParse(),
      virSecretLookupParseSecret() which allocates some memory. This is
      however never freed.
      
      ==21711== 134 bytes in 6 blocks are definitely lost in loss record 70 of 85
      ==21711==    at 0x4C29F80: malloc (vg_replace_malloc.c:296)
      ==21711==    by 0xBCA0356: xmlStrndup (in /usr/lib64/libxml2.so.2.9.4)
      ==21711==    by 0xA9F432E: virXMLPropString (virxml.c:479)
      ==21711==    by 0xA9D25B0: virSecretLookupParseSecret (virsecret.c:70)
      ==21711==    by 0xA9D616E: virStorageEncryptionSecretParse (virstorageencryption.c:172)
      ==21711==    by 0xA9D66B2: virStorageEncryptionParseXML (virstorageencryption.c:281)
      ==21711==    by 0xA9D68DF: virStorageEncryptionParseNode (virstorageencryption.c:338)
      ==21711==    by 0xAA12575: virDomainDiskDefParseXML (domain_conf.c:7606)
      ==21711==    by 0xAA2CAC6: virDomainDefParseXML (domain_conf.c:16658)
      ==21711==    by 0xAA2FC75: virDomainDefParseNode (domain_conf.c:17472)
      ==21711==    by 0xAA2FAE4: virDomainDefParse (domain_conf.c:17419)
      ==21711==    by 0xAA2FB72: virDomainDefParseFile (domain_conf.c:17443)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b0483525
    • A
      util: hostcpu: Drop obsolete compatibility code · 1addfa33
      Andrea Bolognani 提交于
      All Linux releases we support (RHEL6 era) include these
      definitions.
      1addfa33
    • A
      util: hostcpu: Add virHostCPUGetKVMMaxVCPUs() stub · 8efca30f
      Andrea Bolognani 提交于
      If we don't HAVE_LINUX_KVM_H, we can't query /dev/kvm to discover
      the limits on the number of vCPUs, so we report an error and
      return a negative value instead.
      8efca30f
  9. 09 7月, 2016 1 次提交