1. 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
  2. 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
  3. 23 3月, 2017 1 次提交
  4. 21 3月, 2017 1 次提交
  5. 17 3月, 2017 1 次提交
  6. 08 3月, 2017 10 次提交
  7. 06 3月, 2017 1 次提交
    • M
      qemu: Enforce qemuSecurity wrappers · 4da534c0
      Michal Privoznik 提交于
      Now that we have some qemuSecurity wrappers over
      virSecurityManager APIs, lets make sure everybody sticks with
      them. We have them for a reason and calling virSecurityManager
      API directly instead of wrapper may lead into accidentally
      labelling a file on the host instead of namespace.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      4da534c0
  8. 24 2月, 2017 1 次提交
  9. 21 2月, 2017 7 次提交
  10. 15 2月, 2017 1 次提交
    • M
      qemu_conf: Check for namespaces availability more wisely · b57bd206
      Michal Privoznik 提交于
      The bare fact that mnt namespace is available is not enough for
      us to allow/enable qemu namespaces feature. There are other
      requirements: we must copy all the ACL & SELinux labels otherwise
      we might grant access that is administratively forbidden or vice
      versa.
      At the same time, the check for namespace prerequisites is moved
      from domain startup time to qemu.conf parser as it doesn't make
      much sense to allow users to start misconfigured libvirt just to
      find out they can't start a single domain.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b57bd206
  11. 08 2月, 2017 1 次提交
  12. 01 2月, 2017 1 次提交
  13. 30 1月, 2017 3 次提交
  14. 18 1月, 2017 2 次提交
    • P
      qemu: Move cpu hotplug code into qemu_hotplug.c · 9d14cf59
      Peter Krempa 提交于
      Move all the worker code into the appropriate file. This will also allow
      testing of cpu hotplug.
      9d14cf59
    • P
      qemu: Prepare for reuse of qemuDomainSetVcpusLive · 5570f267
      Peter Krempa 提交于
      Extract the call to qemuDomainSelectHotplugVcpuEntities outside of
      qemuDomainSetVcpusLive and decide whether to hotplug or unplug the
      entities specified by the cpumap using a boolean flag.
      
      This will allow to use qemuDomainSetVcpusLive in cases where we prepare
      the list of vcpus to enable or disable by other means.
      5570f267
  15. 17 1月, 2017 1 次提交
  16. 11 1月, 2017 4 次提交
  17. 10 1月, 2017 3 次提交