1. 07 6月, 2017 10 次提交
  2. 05 6月, 2017 1 次提交
  3. 02 6月, 2017 1 次提交
  4. 31 5月, 2017 1 次提交
    • M
      qemu: mkdir memory_backing_dir on startup · 3bab51e0
      Michal Privoznik 提交于
      In 48d9e6cd and friends we've allowed users to back guest
      memory by a file inside the host. And in order to keep things
      manageable the memory_backing_dir variable was introduced to
      qemu.conf to specify the directory where the files are kept.
      However, libvirt's policy is that directories are created on
      domain startup if they don't exist. We've missed this one.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3bab51e0
  5. 25 5月, 2017 1 次提交
  6. 24 5月, 2017 1 次提交
  7. 23 5月, 2017 1 次提交
  8. 17 5月, 2017 1 次提交
  9. 10 5月, 2017 2 次提交
  10. 28 4月, 2017 1 次提交
  11. 27 4月, 2017 3 次提交
  12. 13 4月, 2017 1 次提交
  13. 05 4月, 2017 1 次提交
  14. 03 4月, 2017 1 次提交
    • M
      virGetDomain: Set domain ID too · 5683b213
      Michal Privoznik 提交于
      So far our code is full of the following pattern:
      
        dom = virGetDomain(conn, name, uuid)
        if (dom)
            dom->id = 42;
      
      There is no reasong why it couldn't be just:
      
        dom = virGetDomain(conn, name, uuid, id);
      
      After all, client domain representation consists of tuple (name,
      uuid, id).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5683b213
  15. 30 3月, 2017 1 次提交
  16. 29 3月, 2017 1 次提交
  17. 27 3月, 2017 10 次提交
  18. 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
  19. 24 3月, 2017 1 次提交
    • P
      qemu: snapshot: Forbid internal snapshots with pflash firmware · 9e246583
      Peter Krempa 提交于
      If the variable store (<nvram>) file is raw qemu can't do a snapshot of
      it and thus the snapshot fails. QEMU rejects such snapshot by a message
      which would not be properly interpreted as an error by libvirt.
      
      Additionally allowing to use a qcow2 variable store backing file would
      solve this issue but then it would become eligible to become target of
      the memory dump.
      
      Offline internal snapshot would be incomplete too with either storage
      format since libvirt does not handle the pflash file in this case.
      
      Forbid such snapshot so that we can avoid problems.
      9e246583