1. 24 10月, 2016 4 次提交
  2. 22 10月, 2016 1 次提交
  3. 21 10月, 2016 3 次提交
    • J
      qemuBuildHostNetStr: remove dead code · ea4c9cf8
      Ján Tomko 提交于
      This function is never called for VIR_DOMAIN_NET_TYPE_HOSTDEV,
      and the dead code comment agrees.
      
      Introduced by commit 1dcbef8a.
      ea4c9cf8
    • J
      qemuBuildHostNetStr: do not start options with a comma · b2b670f8
      Ján Tomko 提交于
      Put the comma at the end and trim it later for consistency.
      b2b670f8
    • J
      qemuBuildHostNetStr: use type_sep earlier · c70c56de
      Ján Tomko 提交于
      When hotplugging networks with ancient QEMUs not supporting
      QEMU_CAPS_NETDEV, we use space instead of a comma as the separator
      between the network type and other options.
      
      Except for "user", all the network types pass other options
      and use up the first separator by the time we get to the section
      that adds the alias (or vlan for QEMUs without CAPS_NETDEV).
      
      Since the alias/vlan is mandatory, convert all preceding code to add
      the separator at the end, removing the need to rewrite type_sep for
      all types but NET_TYPE_USER.
      c70c56de
  4. 18 10月, 2016 3 次提交
  5. 14 10月, 2016 12 次提交
  6. 12 10月, 2016 11 次提交
  7. 07 10月, 2016 1 次提交
    • D
      qemu: fix command line building for iommu devices · 5dee6686
      Daniel P. Berrange 提交于
      The intel-iommu device has existed since QEMU 2.2.0, but
      it was only possible to create it with -device since
      QEMU 2.7.0, thanks to:
      
        commit 621d983a1f9051f4cfc3f402569b46b77d8449fc
        Author: Marcel Apfelbaum <marcel@redhat.com>
        Date:   Mon Jun 27 18:38:34 2016 +0300
      
          hw/iommu: enable iommu with -device
      
          Use the standard '-device intel-iommu' to create the IOMMU device.
          The legacy '-machine,iommu=on' can still be used.
      
      The libvirt capability check & command line formatting code
      is thus broken for all QEMU versions 2.2.0 -> 2.6.0 inclusive.
      
      This fixes it to use iommu=on instead.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      5dee6686
  8. 06 10月, 2016 1 次提交
    • J
      qemu: Convert from shorthand to longer throttling names · a1417d53
      John Ferlan 提交于
      We're about to add 6 new options and it appears (from testing) one cannot
      utilize both the shorthand (alias) and (much) longer names for the arguments.
      So modify the command builder to use the longer name and of course alter the
      test output .args to have the similarly innocuous long name.
      
      Also utilize a macro to build that name makes it so much more visually
      appealing and saves a few characters or potential cut-n-paste issues.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      a1417d53
  9. 29 9月, 2016 1 次提交
    • M
      qemu: Only use memory-backend-file with NUMA if needed · ff3112f3
      Martin Kletzander 提交于
      If this reminds you of a commit message from around a year ago, it's
      41c2aa72 and yes, we're dealing with
      "the same thing" again.  Or f309db1f and
      it's similar.
      
      There is a logic in place that if there is no real need for
      memory-backend-file, qemuBuildMemoryBackendStr() returns 0.  However
      that wasn't the case with hugepage backing.  The reason for that was
      that we abused the 'pagesize' variable for storing that information, but
      we should rather have a separate one that specifies whether we really
      need the new object for hugepage backing.  And that variable should be
      set only if this particular NUMA cell needs special treatment WRT
      hugepages.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1372153Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      ff3112f3
  10. 28 9月, 2016 1 次提交
  11. 23 9月, 2016 2 次提交