1. 10 3月, 2016 14 次提交
  2. 09 3月, 2016 7 次提交
    • P
      qemu: add support for offline vcpupin · 02ae21de
      Peter Krempa 提交于
      Allow pinning for inactive vcpus. The pinning mask will be automatically
      applied as we would apply the default mask in case of a cpu hotplug.
      
      Setting the scheduler settings for a vcpu has the same semantics.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1306556
      02ae21de
    • P
      conf: extract ignoring of inactive vcpu pinning information · acf521e1
      Peter Krempa 提交于
      Introduce VIR_DOMAIN_DEF_FEATURE_OFFLINE_VCPUPIN domain feature flag
      whcih will allow to skip ignoring of the pinning information for
      hypervisor drivers which will want to implement forward-pinning of
      vcpus.
      acf521e1
    • P
      conf: refactor checking for unsupported memory devices · 185d13b1
      Peter Krempa 提交于
      Introduce a helper to check supported device and domain config and move
      the memory hotplug checks to it.
      
      The advantage of this approach is that by default all new features are
      considered unsupported by all hypervisors unless specifically changed
      rather than the previous approach where every hypervisor would need to
      declare that a given feature is unsupported.
      185d13b1
    • P
      conf: introduce parser feature flags · 23eb3821
      Peter Krempa 提交于
      To avoid having to forbid new features added to domain XML in post parse
      callbacks for individual hypervisor drivers the feature flag mechanism
      will allow to add a central check that will be disabled for the drivers
      that will add support.
      
      As a first example flag, the 'hasWideSCSIBus' is converted to the new
      bitmap.
      23eb3821
    • P
      qemu: Report pinning for all vCPUs in qemuDomainGetVcpuPinInfo · 0fe41f1a
      Peter Krempa 提交于
      The API documentation states that the function is returning pinning for
      all vCPUs, so we can actually do so if the user passes a large enough
      array.
      0fe41f1a
    • P
      conf: Extract code filling data for virDomainGetVcpuPinInfo · e498e904
      Peter Krempa 提交于
      The implementation of the inner guts of the function is similar for all
      drivers, so we can add a helper and not have to reimplement it three
      times.
      e498e904
    • P
      virsh: vcpupin: Ask for pinning info for all vCPUs · e7e6980d
      Peter Krempa 提交于
      The API docs state that the API queries pinning info for all vCPUs and
      thus we should allocate the bitmap even for the inactive ones.
      
      The API will currently return bitmap only for the active vCPUs but that
      will change in the future.
      e7e6980d
  3. 08 3月, 2016 19 次提交