1. 07 9月, 2017 1 次提交
  2. 05 9月, 2017 1 次提交
  3. 29 8月, 2017 2 次提交
  4. 27 8月, 2017 1 次提交
  5. 10 8月, 2017 1 次提交
  6. 03 8月, 2017 3 次提交
    • C
      qemu: command: explicitly error for non-x86 default CPU · 64665fa8
      Cole Robinson 提交于
      The code only currently handles writing an x86 default -cpu
      argument, and doesn't know anything about other architectures.
      Let's make this explicit rather than leaving ex. qemu ppc64 to
      throw an error about -cpu qemu64
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      64665fa8
    • 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
  7. 02 8月, 2017 2 次提交
  8. 27 7月, 2017 1 次提交
  9. 25 7月, 2017 1 次提交
  10. 24 7月, 2017 3 次提交
  11. 22 7月, 2017 1 次提交
  12. 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
  13. 15 7月, 2017 4 次提交
  14. 14 7月, 2017 7 次提交
  15. 11 7月, 2017 5 次提交
  16. 10 7月, 2017 1 次提交
    • P
      qemu: domain: Use vcpu 'node-id' property and pass it back to qemu · ccac4465
      Peter Krempa 提交于
      vcpu properties gathered from query-hotpluggable cpus need to be passed
      back to qemu. As qemu did not use the node-id property until now and
      libvirt forgot to pass it back properly (it was parsed but not passed
      around) we did not honor this.
      
      This patch adds node-id to the structures where it was missing and
      passes it around as necessary.
      
      The test data was generated with a VM with following config:
          <numa>
            <cell id='0' cpus='0,2,4,6' memory='512000' unit='KiB'/>
            <cell id='1' cpus='1,3,5,7' memory='512000' unit='KiB'/>
          </numa>
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1452053
      ccac4465
  17. 20 6月, 2017 2 次提交
  18. 19 6月, 2017 1 次提交
  19. 16 6月, 2017 1 次提交
  20. 14 6月, 2017 1 次提交