1. 01 4月, 2018 1 次提交
  2. 24 3月, 2018 2 次提交
  3. 23 3月, 2018 1 次提交
  4. 16 3月, 2018 1 次提交
    • M
      qemu: Build usb controller command line more wisely · b133fac3
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1552127
      
      When building command line for USB controllers we have to do more
      than just put controller's alias onto the command line. QEMU has
      concept of these joined USB controllers. For instance ehci and
      uhci controllers need to create the same USB bus. To achieve that
      the slave controller needs to refer the master controller. This
      worked until we've introduced user aliases because both master
      and slave had the same alias. With user aliases slave can have
      different alias than master. Therefore, when generating command
      line for slave we need to look up the master's alias.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b133fac3
  5. 22 2月, 2018 1 次提交
  6. 20 2月, 2018 4 次提交
  7. 17 2月, 2018 1 次提交
  8. 13 2月, 2018 4 次提交
  9. 12 2月, 2018 2 次提交
  10. 10 2月, 2018 1 次提交
  11. 09 2月, 2018 1 次提交
  12. 03 2月, 2018 14 次提交
  13. 02 2月, 2018 1 次提交
  14. 01 2月, 2018 6 次提交
    • J
      qemu: Update qemuDomainFindSCSIControllerModel return · 5b5bff35
      John Ferlan 提交于
      Now that the controller model is updated during post parse callback,
      this code no longer needs to fetch the model based on the capabilities
      and can just return the model directly if the controller is found.
      
      Removal of @qemuCaps cascades through various callers which are now
      updated to not pass the capabilities.
      5b5bff35
    • J
      qemu: Reduce need to call qemuDomainGetSCSIControllerModel · de8fac5f
      John Ferlan 提交于
      Now that post parse processing handles setting the SCSI controller
      model, there's no need to call qemuDomainGetSCSIControllerModel to
      get the "default controller" when building the command line controller
      string or when assigning the spaprvio address since the controller
      model value will already be filled in.
      de8fac5f
    • J
      qemu: Introduce qemuDomainGetSCSIControllerModel · fadfb4f9
      John Ferlan 提交于
      Rename and rework qemuDomainSetSCSIControllerModel since we're
      really not setting the SCSI controller model. Instead the code
      is either returning the existing SCSI controller model value, the
      default value based on the capabilities, or -1 with the error set.
      fadfb4f9
    • J
      qemu: Introduce qemuDomainFindSCSIControllerModel · 6ae6ffd8
      John Ferlan 提交于
      Rather than repeat multiple steps in order to find the SCSI
      controller model, let's combine them into one helper that will
      return either the model from the definition or the default
      model based on the capabilities.
      
      This patch adds an extra check/error that the controller
      that's being found actually exists. This just clarifies that
      the error was because the controller doesn't exist rather
      than the more generic error that we were unable to determine
      the model from qemuDomainSetSCSIControllerModel when a -1
      was passed in and the capabilities were unable to find one.
      6ae6ffd8
    • J
      conf: Rework and rename virDomainDeviceFindControllerModel · 932862b8
      John Ferlan 提交于
      As it turns out virDomainDeviceFindControllerModel was only ever
      called for SCSI controllers using VIR_DOMAIN_CONTROLLER_TYPE_SCSI
      as a parameter.
      
      So rename to virDomainDeviceFindSCSIController and rather than
      return a model, let's return a virDomainControllerDefPtr to let
      the caller reference whatever it wants.
      932862b8
    • J
      qemu: Split qemuDomainSetSCSIControllerModel · e37540f4
      John Ferlan 提交于
      Rather than one function serving two purposes, let's split out the
      else condition which is checking whether the model can be used
      during command line building based on the capabilities.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      e37540f4