1. 19 4月, 2017 3 次提交
  2. 13 4月, 2017 3 次提交
  3. 11 4月, 2017 5 次提交
  4. 10 4月, 2017 4 次提交
  5. 07 4月, 2017 1 次提交
    • J
      cpu: Introduce virCPUCopyMigratable · 05e91c79
      Jiri Denemark 提交于
      This new internal API makes a copy of virCPUDef while removing all
      features which would block migration. It uses cpu_map.xml as a database
      of such features, which should only be used as a fallback when we cannot
      get the data from a hypervisor. The main goal of this API is to decouple
      this filtering from virCPUUpdate so that the hypervisor driver can
      filter the features according to the hypervisor.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      05e91c79
  6. 03 4月, 2017 1 次提交
    • M
      Introduce and use virDomainDiskEmptySource · 462c4b66
      Michal Privoznik 提交于
      Currently, if we want to zero out disk source (e,g, due to
      startupPolicy when starting up a domain) we use
      virDomainDiskSetSource(disk, NULL). This works well for file
      based storage (storage type file, dir, or block). But it doesn't
      work at all for other types like volume and network.
      
      So imagine that you have a domain that has a CDROM configured
      which source is a volume from an inactive pool. Because it is
      startupPolicy='optional', the CDROM is empty when the domain
      starts. However, the source element is not cleared out in the
      status XML and thus when the daemon restarts and tries to
      reconnect to the domain it refreshes the disks (which fails - the
      storage pool is still not running) and thus the domain is killed.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      462c4b66
  7. 27 3月, 2017 23 次提交