1. 23 3月, 2018 3 次提交
  2. 19 2月, 2018 1 次提交
    • D
      qemu: stop passing virConnectPtr into qemuMonitorStartCPUs · aed679da
      Daniel P. Berrangé 提交于
      There is a long standing hack to pass a virConnectPtr into the
      qemuMonitorStartCPUs method, so that when the text monitor prompts
      for a disk password, we can lookup virSecretPtr objects. This causes
      us to have to pass a virConnectPtr around through countless methods
      up the call chain....except some places don't have any virConnectPtr
      available so have always just passed NULL. We can finally fix this
      disastrous design by using virGetConnectSecret() to open a connection
      to the secret driver at time of use.
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      aed679da
  3. 06 2月, 2018 1 次提交
  4. 03 11月, 2017 7 次提交
  5. 20 10月, 2017 1 次提交
  6. 17 10月, 2017 1 次提交
  7. 28 7月, 2017 1 次提交
    • P
      tests: qemumonitorjson: Old and empty test case for node name detection · 772a6e36
      Peter Krempa 提交于
      Prior to qemu 2.5 the node names would not be generated, thus would be
      missing from 'query-blockstats' and 'query-named-block-nodes'. Test that
      the code correctly detects nothing.
      
      Additionally make sure that a VM without disks does not cause problems.
      
      The test case change is necessary as our test file checker does not play
      well with empty files.
      772a6e36
  8. 27 7月, 2017 14 次提交
  9. 11 7月, 2017 1 次提交
  10. 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
  11. 05 4月, 2017 1 次提交
  12. 04 4月, 2017 1 次提交
  13. 27 3月, 2017 5 次提交
  14. 25 3月, 2017 1 次提交
    • J
      qemu: Add TLS params to _qemuMonitorMigrationParams · 3d06cb96
      John Ferlan 提交于
      Add the fields to support setting tls-creds and tls-hostname during
      a migration (either source or target). Modify the query migration
      function to check for the presence and set the field for future
      consumers to determine which of 3 conditions is being met (NULL,
      present and set to "", or present and sent to something). These
      correspond to qemu commit id '4af245dc3' which added support to
      default the value to "" and allow setting (or resetting) to ""
      in order to disable. This reset option allows libvirt to properly
      use the tls-creds and tls-hostname parameters.
      
      Modify code paths that either allocate or use stack space in order
      to call qemuMigrationParamsClear or qemuMigrationParamsFree for cleanup.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      3d06cb96
  15. 17 3月, 2017 1 次提交