1. 17 3月, 2017 10 次提交
  2. 16 3月, 2017 2 次提交
  3. 15 3月, 2017 11 次提交
  4. 14 3月, 2017 5 次提交
  5. 13 3月, 2017 1 次提交
  6. 12 3月, 2017 1 次提交
    • F
      bhyve: add video support · 04664327
      Fabian Freyer 提交于
      bhyve supports 'gop' video device that allows clients to connect
      to VMs using VNC clients. This commit adds support for that to
      the bhyve driver:
      
       - Introducr 'gop' video device type
       - Add capabilities probing for the 'fbuf' device that's
         responsible for graphics
       - Update command builder routines to let users configure
         domain's VNC via gop graphics.
      Signed-off-by: NRoman Bogorodskiy <bogorodskiy@gmail.com>
      04664327
  7. 10 3月, 2017 4 次提交
  8. 09 3月, 2017 6 次提交
    • P
      conf: store "autoGenerated" for graphics listen in status XML · cd4a8b93
      Pavel Hrdina 提交于
      When libvirtd is started we call qemuDomainRecheckInternalPaths
      to detect whether a domain has VNC socket path generated by libvirt
      based on option from qemu.conf.  However if we are parsing status XML
      for running domain the existing socket path can be generated also if
      the config XML uses the new <listen type='socket'/> element without
      specifying any socket.
      
      The current code doesn't make difference how the socket was generated
      and always marks it as "fromConfig".  We need to store the
      "autoGenerated" value in the status XML in order to preserve that
      information.
      
      The difference between "fromConfig" and "autoGenerated" is important
      for migration, because if the socket is based on "fromConfig" we don't
      print it into the migratable XML and we assume that user has properly
      configured qemu.conf on both hosts.  However if the socket is based
      on "autoGenerated" it means that a new feature was used and therefore
      we need to leave the socket in migratable XML to make sure that if
      this feature is not supported on destination the migration will fail.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      cd4a8b93
    • J
      qemu: Rename variable · b2e5de96
      John Ferlan 提交于
      Rename 'secretUsageType' to 'usageType' since it's superfluous in an
      API qemu*Secret*
      b2e5de96
    • J
      qemu: Introduce qemuDomainGetTLSObjects · 52c846af
      John Ferlan 提交于
      Split apart and rename qemuDomainGetChardevTLSObjects in order to make a
      more generic API that can create the TLS JSON prop objects (secret and
      tls-creds-x509) to be used to create the objects
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      52c846af
    • J
      qemu: Move qemuDomainPrepareChardevSourceTLS call · 684b2170
      John Ferlan 提交于
      Move the call to inside the qemuDomainAddChardevTLSObjects in order to
      further converge the code.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      684b2170
    • J
      qemu: Move qemuDomainSecretChardevPrepare call · 26bef302
      John Ferlan 提交于
      Move the call to inside the qemuDomainAddChardevTLSObjects in order to
      further converge the code.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      26bef302
    • J
      qemu: Refactor qemuDomainGetChardevTLSObjects to converge code · 479b045b
      John Ferlan 提交于
      Create a qemuDomainAddChardevTLSObjects which will encapsulate the
      qemuDomainGetChardevTLSObjects and qemuDomainAddTLSObjects so that
      the callers don't need to worry about the props.
      
      Move the dev->type and haveTLS checks in to the Add function to avoid
      an unnecessary call to qemuDomainAddTLSObjects
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      479b045b