1. 26 5月, 2017 2 次提交
    • J
      conf: add eim attribute to <iommu><driver> · dc61d927
      Ján Tomko 提交于
      Add an attribute to control extended interrupt mode.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1451282Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      dc61d927
    • J
      virsh: Track when create pkttyagent · 2453501f
      John Ferlan 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1374126
      
      Due to how the processing for authentication using polkit works, the
      virshConnect code must first "attempt" an virConnectOpenAuth and then
      check for a "special" return error code VIR_ERR_AUTH_UNAVAILABLE in
      order to attempt to "retry" the authentication after performing a creation
      of a pkttyagent to handle the challenge/response for the client.
      
      However, if pkttyagent creation is not possible for the authentication
      being attempted (such as perhaps a "qemu+ssh://someuser@localhost/system"),
      then the same failure pattern would be returned and another attempt to
      create a pkttyagent would be done. This would continue "forever" until
      someone forced quit (e.g. ctrl-c) from virsh as the 'authfail' was not
      incremented when creating the pkttyagent.
      
      So add a 'agentCreated' boolean to track if we've attempted to create the
      agent at least once and force a failure if that creation returned the same
      error pattern.
      
      This resolves a possible never ending loop and will generate an error:
      
      error: failed to connect to the hypervisor
      error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
      
      NB: If the authentication was for a sufficiently privileged client, such as
      qemu+ssh://root@localhost/system, then the remoteDispatchAuthList "allows"
      the authentication to use libvirt since @callerUid would be 0.
      2453501f
  2. 25 5月, 2017 4 次提交
  3. 24 5月, 2017 10 次提交
  4. 23 5月, 2017 6 次提交
  5. 22 5月, 2017 7 次提交
  6. 19 5月, 2017 9 次提交
  7. 18 5月, 2017 2 次提交