1. 12 3月, 2015 5 次提交
  2. 11 3月, 2015 28 次提交
  3. 10 3月, 2015 4 次提交
    • C
      qemu: fix memory leak in qemuAgentGetFSInfo · f276b36d
      Chen Fan 提交于
      in virDomainFSInfoFree(), don't free the virDomainFSInfo data.
      
      ==10670== 80 bytes in 2 blocks are definitely lost in loss record 576 of 793
      ==10670==    at 0x4A06BC3: calloc (vg_replace_malloc.c:618)
      ==10670==    by 0x509DEBD: virAlloc (viralloc.c:144)
      ==10670==    by 0x19FBD558: qemuAgentGetFSInfo (qemu_agent.c:1837)
      ==10670==    by 0x1A03CF91: qemuDomainGetFSInfo (qemu_driver.c:19238)
      Signed-off-by: NChen Fan <chen.fan.fnst@cn.fujitsu.com>
      f276b36d
    • J
      Use virBitmapNextClearBit in networkNextClassID · 7b2f12fe
      Ján Tomko 提交于
      Instead of finding the next clear bit by calling virBitmapGetBit
      in a loop, use the virBitmapNextClearBit helper.
      7b2f12fe
    • L
      qemu: don't fill in nicindexes for session mode libvirtd · 705242f8
      Laine Stump 提交于
      Commit 4bbe1029 fixed a problem in commit f7afeddc by moving the call
      to virNetDevGetIndex() to a location common to all interface types (so
      that the nicindex array would be filled in for macvtap as well as tap
      interfaces), but the location was *too* common, as the original call
      to virNetDevGetIndex() had been in a section qualified by "if
      (cfg->privileged)". The result was that the "fixed" libvirtd would try
      to call virNetDevGetIndex() even for session mode libvirtd, and end up
      failing with the log message:
      
        Unable to open control socket: Operation not permitted
      
      To remedy that, this patch qualifies the call to virNetDevGetIndex()
      in its new location with cfg->privileged.
      
      This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1198244
      705242f8
    • M
      virnet*: Don't unlock object in dispose · a663c34a
      Michal Privoznik 提交于
      As of bba93d40 all of our RPC objects are derived from
      virObjectLockable. However, during rewrite some errors sneaked
      in. For instance, the dispose functions to virNetClient and
      virNetServerClient objects were not only freeing allocated
      memory, but unlocking themselves. This is wrong. Object should
      never disappear while locked.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      a663c34a
  4. 09 3月, 2015 3 次提交