1. 28 4月, 2020 1 次提交
  2. 27 4月, 2020 18 次提交
  3. 24 4月, 2020 2 次提交
  4. 23 4月, 2020 7 次提交
  5. 21 4月, 2020 2 次提交
  6. 15 4月, 2020 2 次提交
  7. 13 4月, 2020 3 次提交
    • L
      qemu: hook up pcie-root-port hotplug='off' option · 2d3cf603
      Laine Stump 提交于
      If a pcie-root-port or pcie-downstream-port has hotplug='off' in its
      <target> subelement, and if the qemu binary supports the hotplug=false
      option, then it will be added to the commandline for the pcie
      controller. This controller will then not allow any hotplug/unplug of
      devices while the guest is running (and the hotplug capability won't
      be advertised to the guest OS, so the guest OS also won't present
      unplugging of PCI devices as an option).
      
        <controller type='pci' model='pcie-root-port'>
          <target hotplug='off'/>
        </controller>
      
      For any PCI controllers other than pcie-downstream-port and
      pcie-root-port, of for qemu binaries that don't support the hotplug
      commandline option, an error will be logged during validation.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      2d3cf603
    • L
      conf: new attribute "hotplug" for pci controllers · 78f4d5e6
      Laine Stump 提交于
      a <controller type='pci'...> element can now have a "hotplug"
      attribute in the <target> subelement. This is intended to control
      whether or not the slot(s) of the controller support
      hotplugging/unplugging a device:
      
         <controller type='pci' model='pcie-root-port'>
           <target hotplug='off'/>
         </controller>
      
      The default value of hotplug is "on".
      
      Since support for configuring such an option is hypervisor-dependent
      (and will vary among different types of PCI controllers even on a
      single hypervisor), no validation is done in this patch - that
      validation will be done in the patch that wires support for the
      setting into the hypervisor.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      78f4d5e6
    • L
      qemu: new capabilities flag pcie-root-port.hotplug · cbd4ab4c
      Laine Stump 提交于
      This caps flag is set when the qemu binary supports the option
      "hotplug" for pcie-root-port, ioh3420 (Intel pcie-root-port) and
      xio3130-downstream (Intel pcie-downstream-port). If it's available,
      it's possible to disable hotplugging/unplugging devices on a
      particular port by adding ",hotplug=off" to the qemu device
      commandline. This option first appears in qemu-5.0.0.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      cbd4ab4c
  8. 10 4月, 2020 2 次提交
  9. 08 4月, 2020 3 次提交