1. 02 8月, 2016 5 次提交
  2. 01 8月, 2016 1 次提交
  3. 27 7月, 2016 4 次提交
  4. 25 7月, 2016 6 次提交
  5. 13 7月, 2016 1 次提交
  6. 12 7月, 2016 1 次提交
  7. 11 7月, 2016 3 次提交
  8. 07 7月, 2016 3 次提交
  9. 01 7月, 2016 1 次提交
  10. 30 6月, 2016 1 次提交
  11. 27 6月, 2016 3 次提交
    • L
      qemu: eliminate memory leaks when converting NetDefs to type='ethernet' · a71fd239
      Laine Stump 提交于
      in qemuConnectDomainXMLToNative. This function was only accounting for
      about 1/10 of all the allocated items in the NetDef prior to memseting
      it to all 0's. On top of that, it was going to great pains to learn
      the name of the bridge device, but then never doing anything useful
      with it (just putting it into data.ethernet.dev, which is *never* used
      when building a qemu commandline). (I think this again all started off
      as code with good intentions, but it was never completed, and instead
      was just Frankensteinically cargo-culted into the odd mish mash we
      have today).
      
      The resulting code is much simpler, produces exactly the same output,
      and doesn't leak memory.
      a71fd239
    • L
      qemu: don't set/clear NetDef IP addresses in qemuConnectDomainXMLToNative() · 91045092
      Laine Stump 提交于
      This patch removes the expanded and duplicated code that all sprung
      out of two well-intentioned-but-useless settings of
      net->data.(bridge|ethernet).ipaddr.
      
      qemu has never supported even a single IP address in the interface
      config, much less a list of them. All of the instances of "clearing
      out the IP addresses" that are now in this function originated with
      commit d8dbd6 "Basic domain XML conversions for Xen/QEMU drivers" in
      May 2009, but even then the single "ipaddr" in the struct for
      type='ethernet' and type='bridge' wasn't used in the qemu driver (only
      in xen and openvz). Since then anyone who added a new interface type
      also tacked on another unnecessary clearing of ipaddr, and when it was
      made into a list of IPs (so far supported only by the LXC driver) this
      simple setting was turned into a loop (well, multiple loops) to clear
      them all.
      91045092
    • L
      global: consistently use IP rather than Ip in identifiers · 22a6873a
      Laine Stump 提交于
      I'm tired of mistyping this all the time, so let's do it the same all
      the time (similar to how we changed all "Pci" to "PCI" awhile back).
      
      (NB: I've left alone some things in the esx and vbox drivers because
      I'm unable to compile them and they weren't obviously *not* a part of
      some API. I also didn't change a couple of variables named,
      e.g. "somethingIptables", because they were derived from the name of
      the "iptables" command)
      22a6873a
  12. 25 6月, 2016 2 次提交
  13. 24 6月, 2016 4 次提交
  14. 23 6月, 2016 1 次提交
    • N
      qemu: make monitor command API available during async jobs · 6606ea96
      Nikolay Shirokovskiy 提交于
        One can not issue monitor commands manually during async calls thru
      designated API while this could be useful for testing/debugging purposes.
      qemuDomainQemuMonitorCommand uses job of type QEMU_JOB_MODIFY and any async
      call disable parallel execution of this type of job. The only state that is
      changed is taint variable. AFAIU the only place we can mess is resetting
      taint flag in qemuProcessStop routine under some async job. But this can not
      happen thanx to both virDomainObjIsActive check in qemuDomainQemuMonitorCommand
      and resetting active status in qemuProcessStop before taint flag.
      
        Change job type to QEMU_JOB_QUERY and thus make the API call available for
      most of async jobs.
      Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
      6606ea96
  15. 22 6月, 2016 4 次提交