1. 16 4月, 2019 2 次提交
  2. 13 4月, 2019 1 次提交
  3. 04 4月, 2019 3 次提交
  4. 22 3月, 2019 1 次提交
  5. 12 3月, 2019 1 次提交
  6. 25 2月, 2019 2 次提交
  7. 20 2月, 2019 18 次提交
  8. 14 2月, 2019 1 次提交
  9. 08 2月, 2019 1 次提交
  10. 04 2月, 2019 1 次提交
  11. 01 2月, 2019 1 次提交
    • M
      qemu: Rework setting process affinity · f136b831
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1503284
      
      The way we currently start qemu from CPU affinity POV is as
      follows:
      
        1) the child process is set affinity to all online CPUs (unless
        some vcpu pinning was given in the domain XML)
      
        2) Once qemu is running, cpuset cgroup is configured taking
        memory pinning into account
      
      Problem is that we let qemu allocate its memory just anywhere in
      1) and then rely in 2) to be able to move the memory to
      configured NUMA nodes. This might not be always possible (e.g.
      qemu might lock some parts of its memory) and is very suboptimal
      (copying large memory between NUMA nodes takes significant amount
      of time).
      
      The solution is to set affinity to one of (in priority order):
        - The CPUs associated with NUMA memory affinity mask
        - The CPUs associated with emulator pinning
        - All online host CPUs
      
      Later (once QEMU has allocated its memory) we then change this
      again to (again in priority order):
        - The CPUs associated with emulator pinning
        - The CPUs returned by numad
        - The CPUs associated with vCPU pinning
        - All online host CPUs
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      f136b831
  12. 31 1月, 2019 2 次提交
    • P
      qemu: Label backing chain of user-provided target of blockCopy when starting the job · d56afb8e
      Peter Krempa 提交于
      Be more sensible when setting labels of the target of a
      virDomainBlockCopy operation. Previously we'd relabel everything in case
      it's a copy job even if there's no unlabelled backing chain. Since we
      are also not sure whether the backing chain is shared we don't relabel
      the chain on completion of the blockjob. This certainly won't play nice
      with the image permission relabelling feature.
      
      While this does not fix the case where the image is reused and has
      backing chain it certainly sanitizes all the other cases. Later on it
      will also allow to do the correct thing in cases where only one layer
      was introduced.
      
      The change is necessary as in case when -blockdev will be used we will
      need to hotplug the backing chain and thus labeling needs to be setup in
      advance and not only at the time of pivot.  To avoid multiple code paths
      move the labeling now.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      d56afb8e
    • P
      qemu: domain: Allow overriding disk source in qemuDomainDetermineDiskChain · 33b0a3ba
      Peter Krempa 提交于
      When we need to detect a chain for a image which will become the new
      source for a disk (e.g. after a disk media change or a blockjob) we'd
      need to replace disk->src temporarily to do so.
      
      Move the 'disksrc' temporary variable to an argument and adjust callers.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      33b0a3ba
  13. 25 1月, 2019 1 次提交
  14. 23 1月, 2019 2 次提交
  15. 22 1月, 2019 1 次提交
  16. 18 1月, 2019 2 次提交