1. 15 7月, 2017 3 次提交
  2. 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
  3. 12 7月, 2017 2 次提交
  4. 11 7月, 2017 8 次提交
  5. 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
  6. 07 7月, 2017 1 次提交
  7. 16 6月, 2017 4 次提交
  8. 14 6月, 2017 3 次提交
  9. 13 6月, 2017 1 次提交
  10. 08 6月, 2017 1 次提交
  11. 07 6月, 2017 6 次提交
  12. 05 6月, 2017 2 次提交
  13. 26 5月, 2017 1 次提交
  14. 24 5月, 2017 1 次提交
  15. 18 5月, 2017 1 次提交
  16. 16 5月, 2017 3 次提交
  17. 15 5月, 2017 1 次提交