1. 25 7月, 2017 4 次提交
  2. 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
  3. 20 7月, 2017 2 次提交
  4. 15 7月, 2017 3 次提交
  5. 13 7月, 2017 1 次提交
    • J
      qemu: Don't update CPU when checking ABI stability · ee68bb39
      Jiri Denemark 提交于
      When checking ABI stability between two domain definitions, we first
      make migratable copies of them. However, we also asked for the guest CPU
      to be updated, even though the updated CPU is supposed to be already
      included in the original definitions. Moreover, if we do this on the
      destination host during migration, we're potentially updating the
      definition with according to an incompatible host CPU.
      
      While updating the CPU when checking ABI stability doesn't make any
      sense, it actually just worked because updating the CPU doesn't do
      anything for custom CPUs (only host-model CPUs are affected) and we
      updated both definitions in the same way.
      
      Less then a year ago commit v2.3.0-rc1~42 stopped updating the CPU in
      the definition we got internally and only the user supplied definition
      was updated. However, the same commit started updating host-model CPUs
      to custom CPUs which are not affected by the request to update the CPU.
      So it still seemed to work right, unless a user upgraded libvirt 2.2.0
      to a newer version while there were some domains with host-model CPUs
      running on the host. Such domains couldn't be migrated with a user
      supplied XML since libvirt would complain:
      
          Target CPU mode custom does not match source host-model
      
      The fix is pretty straightforward, we just need to stop updating the CPU
      when checking ABI stability.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1463957Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      ee68bb39
  6. 12 7月, 2017 2 次提交
  7. 11 7月, 2017 8 次提交
  8. 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
  9. 07 7月, 2017 1 次提交
  10. 16 6月, 2017 4 次提交
  11. 14 6月, 2017 3 次提交
  12. 13 6月, 2017 1 次提交
  13. 08 6月, 2017 1 次提交
  14. 07 6月, 2017 6 次提交
  15. 05 6月, 2017 2 次提交