1. 28 4月, 2020 4 次提交
  2. 27 4月, 2020 8 次提交
  3. 24 4月, 2020 6 次提交
  4. 23 4月, 2020 8 次提交
  5. 22 4月, 2020 6 次提交
  6. 21 4月, 2020 1 次提交
  7. 17 4月, 2020 1 次提交
  8. 16 4月, 2020 3 次提交
  9. 15 4月, 2020 1 次提交
  10. 13 4月, 2020 2 次提交
    • L
      qemu/conf: set HOTPLUGGABLE connect flag during PCI address set init · aa15e925
      Laine Stump 提交于
      virDomainPCIAddressBusSetModel() is called for each PCI controller
      when building an address set prior to assiging PCI addresses to
      devices.
      
      This patch adds a new argument, allowHotplug, to that function that
      can be set to false if we know for certain that a particular
      controller won't support hotplug
      
      The most interesting case is in qemuDomainPCIAddressSetCreate(), where
      the config of each existing controller is available while building the
      address set, so we can appropriately set allowHotplug = false when the
      user has "hotplug='off'" in the config of a controller that normally
      would support hotplug. In all other cases, it is set to true or false
      in accordance with the capability of the controller model.
      
      So far we aren't doing anything with this bus flag in the address set.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      aa15e925
    • L
      conf/qemu: s/VIR_PCI_CONNECT_HOTPLUGGABLE/VIR_PCI_CONNECT_AUTOASSIGN/g · 7c98f5e3
      Laine Stump 提交于
      When the HOTPLUGGABLE flag was originally added, it was set for all
      the PCI controllers that accepted hotplugged devices, and requested
      for all devices that were auto-assigned to a controller. While we're
      still autoassigning to the same list of controllers, those controllers
      may or may not support hotplug, so let's use the flag that fits what
      we're actually doing.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      7c98f5e3