1. 08 11月, 2017 1 次提交
  2. 03 11月, 2017 1 次提交
  3. 20 10月, 2017 2 次提交
  4. 19 10月, 2017 3 次提交
  5. 17 10月, 2017 3 次提交
  6. 16 10月, 2017 1 次提交
  7. 06 10月, 2017 2 次提交
  8. 05 10月, 2017 6 次提交
  9. 28 9月, 2017 1 次提交
    • J
      qemu: Introduce qemuDomainPrepareDiskSource · 5c09486c
      John Ferlan 提交于
      Introduce a function to setup any TLS needs for a disk source.
      
      If there's a configuration or other error setting up the disk source
      for TLS, then cause the domain startup to fail.
      
      For VxHS, follow the chardevTLS model where if the src->haveTLS hasn't
      been configured, then take the system/global cfg->haveTLS setting for
      the storage source *and* mark that we've done so via the tlsFromConfig
      setting in storage source.
      
      Next, if we are using TLS, then generate an alias into a virStorageSource
      'tlsAlias' field that will be used to create the TLS object and added to
      the disk object in order to link the two together for QEMU.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      5c09486c
  10. 27 9月, 2017 2 次提交
    • P
      qemu: domain: Extract common clearing of VM private data · 3685e2dd
      Peter Krempa 提交于
      VM private data is cleared when the VM is turned off and also when the
      VM object is being freed. Some of the clearing code was duplicated.
      Extract it to a separate function.
      
      This also removes the now unnecessary function
      qemuDomainClearPrivatePaths.
      3685e2dd
    • P
      qemu: process: Refresh data from qemu monitor after migration · 4b480d10
      Peter Krempa 提交于
      Some values we read from the qemu monitor may be changed with the actual
      state by the incoming migration. This means that we should refresh
      certain things only after the migration has finished.
      
      This is mostly visible in the cdrom tray state, which is by default
      closed but may be opened by the guest OS. This would be refreshed before
      qemu transferred the actual state and thus libvirt would think that the
      tray is closed.
      
      Note that this patch moves only a few obvious query commands. Others may
      be moved later after individual assessment.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1463168
      4b480d10
  11. 25 9月, 2017 1 次提交
  12. 20 9月, 2017 1 次提交
  13. 19 9月, 2017 1 次提交
  14. 18 9月, 2017 1 次提交
  15. 13 9月, 2017 1 次提交
    • J
      qemu: Clean up qemuDomainSecretPrepare · 23706c17
      John Ferlan 提交于
      No need to pass a @driver parameter since all that's done is deref
      the @cfg especially since the only caller can just pass an already
      referenced @cfg.
      
      Also, looks like commit id '0298531b' at one time had a different
      name for the API, so I took the liberty of fixing the comments too
      since I would already be updating them for the @cfg variable.
      23706c17
  16. 07 9月, 2017 3 次提交
  17. 29 8月, 2017 2 次提交
  18. 18 8月, 2017 1 次提交
    • P
      qemu: Implement postParse callback skipping on config reload · 7726d158
      Peter Krempa 提交于
      Use the new facility which allows to ignore failures in post parse
      callbacks if they are not fatal so that VM configs are not lost if the
      emulator binary is missing.
      
      If qemuCaps can't be populated on daemon restart skip certain portions
      of the post parse callbacks during config reload and re-run the callback
      during VM startup.
      
      This fixes VMs vanishing if the emulator binary was broken or
      uninstalled and libvirtd was restarted.
      7726d158
  19. 15 8月, 2017 1 次提交
  20. 02 8月, 2017 1 次提交
  21. 26 7月, 2017 2 次提交
  22. 25 7月, 2017 2 次提交
  23. 20 7月, 2017 1 次提交
    • P
      qemu: process: Don't put memoryless NUMA nodes into autoNodeset · e04d1074
      Peter Krempa 提交于
      'numad' may return a nodeset which contains NUMA nodes without memory
      for certain configurations. Since cgroups code will not be happy using
      nodes without memory we need to store only numa nodes with memory in
      autoNodeset.
      
      On the other hand autoCpuset should contain cpus also for nodes which
      do not have any memory.
      e04d1074