1. 22 5月, 2019 4 次提交
  2. 21 5月, 2019 25 次提交
  3. 20 5月, 2019 4 次提交
    • M
      Revert "qemu: Do not override config XML in case of snapshot revert" · da04eab9
      Michal Privoznik 提交于
      This reverts commit dfd70ca1.
      
      Pushed by a mistake, sorry. There's still some discussion going
      on upstream.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      da04eab9
    • D
      rpm: remove dependancy from qemu to network/storage drivers · 06a61a20
      Daniel P. Berrangé 提交于
      The libvirt-daemon-driver-qemu RPM has historically had a hard
      dependency on the libvirt-daemon-driver-network and
      libvirt-daemon-driver-storage-core packages. This was because the QEMU
      driver would directly call into APIs that were part of these drivers.
      
      The dependency to the storage driver was eliminated in
      
        commit 064fec69
        Author: Daniel P. Berrangé <berrange@redhat.com>
        Date:   Thu Jan 25 09:35:46 2018 +0000
      
          storage: move storage file backend framework into util directory
      
      The dependency to the network driver was eliminated in
      
        commit 5b13570a
        Author: Daniel P. Berrangé <berrange@redhat.com>
        Date:   Thu Jan 25 09:35:47 2018 +0000
      
          conf: introduce callback registration for domain net device allocation
      
        commit 1438aea4
        Author: Daniel P. Berrangé <berrange@redhat.com>
        Date:   Thu Jan 25 09:35:48 2018 +0000
      
          conf: expand network device callbacks to cover bandwidth updates
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      06a61a20
    • H
      qemu: Add entry for balloon stats stat-htlb-pgalloc and stat-htlb-pgfail · a699b19f
      Han Han 提交于
      Qemu added reporting of virtio balloon new statistics stat-htlb-pgalloc and
      stat-htlb-pgfail since qemu-3.0 commit b7b12644297. The value of
      stat-htlb-pgalloc represents the number of successful hugetlb page allocations
      while stat-htlb-pgfail represents the number of failed ones. Add this
      statistics reporting to libvirt.
      
      To enable this feature for vm, guest kenel >= 4.17 is required because
      the exporting hugetlb page allocation for virtio balloon is introduced
      since 6c64fe7f.
      Signed-off-by: NHan Han <hhan@redhat.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      a699b19f
    • M
      qemu: Do not override config XML in case of snapshot revert · dfd70ca1
      Maxiwell S. Garcia 提交于
      Snapshot create operation saves the live XML and uses it to replace the
      domain definition in case of revert. But the VM config XML is not saved
      and the revert operation does not address this issue. This commit
      prevents the config XML from being overridden by snapshot definition.
      
      An active domain stores both current and new definitions. The current
      definition (vm->def) stores the live XML and the new definition
      (vm->newDef) stores the config XML. In an inactive domain, only the
      config XML is persistent, and it's saved in vm->def.
      
      The revert operation uses the virDomainObjAssignDef() to set the
      snapshot definition in vm->newDef, if domain is active, or in vm->def
      otherwise. But before that, it saves the old value to return to
      caller. This return is used here to restore the config XML after
      all snapshot startup process finish.
      Signed-off-by: NMaxiwell S. Garcia <maxiwell@linux.ibm.com>
      dfd70ca1
  4. 17 5月, 2019 7 次提交