1. 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
  2. 23 3月, 2017 1 次提交
  3. 21 3月, 2017 1 次提交
  4. 17 3月, 2017 1 次提交
  5. 08 3月, 2017 10 次提交
  6. 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
  7. 24 2月, 2017 1 次提交
  8. 21 2月, 2017 7 次提交
  9. 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
  10. 08 2月, 2017 1 次提交
  11. 01 2月, 2017 1 次提交
  12. 30 1月, 2017 3 次提交
  13. 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
  14. 17 1月, 2017 1 次提交
  15. 11 1月, 2017 4 次提交
  16. 10 1月, 2017 3 次提交
  17. 09 1月, 2017 1 次提交