1. 03 8月, 2017 2 次提交
    • C
      qemu: command: rework adding of default cpu model · 05583fcb
      Cole Robinson 提交于
      Certain XML features that aren't in the <cpu> block map to -cpu
      flags on the qemu cli. If one of these is specified but the user
      didn't explicitly pass an XML <cpu> model, we need to format a
      default model on the command line.
      
      The current code handles this by sprinkling this default cpu handling
      among all the different flag string formatting. Instead, switch it
      to do this just once.
      
      This alters some test output slightly: the previous code would
      write the default -cpu in some cases when no flags were actually
      added, so the output was redundant.
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      05583fcb
    • N
      qemu: command: align disk serial check to schema · cc6d43bb
      Nikolay Shirokovskiy 提交于
      Disk serial schema has extra '.+' allowed characters in comparison
      with check in code. Looks like there is no reason for that as qemu
      allows any character AFAIK for serial. This discrepancy is originated
      in commit id '85d15b51' where the ability to add serial was added.
      
      Alter the disk-serial test to add a disk with all the possible
      characters listed as the serial value.
      cc6d43bb
  2. 02 8月, 2017 1 次提交
  3. 27 7月, 2017 1 次提交
  4. 26 7月, 2017 2 次提交
    • A
      tests: Prepare for stricter NIC model validation · 9e6fb861
      Andrea Bolognani 提交于
      While using "definitely-not-virtio" as a model name is very
      cute, it will also cause the relevant test to fail once we
      introduce stricter validation.
      
      Use "e1000", which is definitely not virtio but also a valid
      model name, instead.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      9e6fb861
    • S
      Generate unique socket file · a7bc2c8c
      Scott Garfinkle 提交于
      It's possible to have more than one unnamed virtio-serial unix channel.
      We need to generate a unique name for each channel. Currently, we use
      ".../unknown.sock" for all of them. Better practice would be to specify
      an explicit target path name; however, in the absence of that, we need
      uniqueness in the names we generate internally.
      
      Before the changes we'd get /var/lib/libvirt/qemu/channel/target/unknown.sock
      for each instance of
          <channel type='unix'>
              <source mode='bind'/>
              <target type='virtio'/>
          </channel>
      
      Now, we get vioser-00-00-01.sock, vioser-00-00-02.sock, etc.
      Signed-off-by: NScott Garfinkle <seg@us.ibm.com>
      a7bc2c8c
  5. 21 7月, 2017 1 次提交
    • S
      qemu: Enable NUMA node tag in pci-root for PPC64 · e5a05799
      Shivaprasad G Bhat 提交于
      This patch addresses the same aspects on PPC the bug 1103314 addressed
      on x86.
      
      PCI expander bus creates multiple primary PCI busses, where each of these
      busses can be assigned a specific NUMA affinity, which, on x86 is
      advertised through ACPI on a per-bus basis.
      
      For SPAPR, a PHB's NUMA affinities are assigned on a per-PHB basis, and
      there is no mechanism for advertising NUMA affinities to a guest on a
      per-bus basis. So, even if qemu-ppc manages to get some sort of multi-bus
      topology working using PXB, there is no way to expose the affinities
      of these busses to the guest. It can only be exposed on a per-PHB/per-domain
      basis.
      
      So patch enables NUMA node tag in pci-root controller on PPC.
      
      The way to set the NUMA node is through the numa_node option of
      spapr-pci-host-bridge device. However for the implicit PHB, the only way
      to set the numa_node is from the -global option. The -global option applies
      to all the PHBs unless explicitly specified with the option on the
      respective PHB of CLI. The default PHB has the emulated devices only, so
      the patch prevents setting the NUMA node for the default PHB.
      Signed-off-by: NShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      e5a05799
  6. 18 7月, 2017 1 次提交
  7. 15 7月, 2017 4 次提交
  8. 11 7月, 2017 7 次提交
  9. 20 6月, 2017 2 次提交
  10. 19 6月, 2017 1 次提交
  11. 14 6月, 2017 1 次提交
  12. 13 6月, 2017 4 次提交
  13. 12 6月, 2017 1 次提交
  14. 08 6月, 2017 12 次提交