1. 07 9月, 2017 2 次提交
  2. 06 9月, 2017 1 次提交
  3. 05 9月, 2017 5 次提交
  4. 01 9月, 2017 2 次提交
  5. 30 8月, 2017 1 次提交
    • P
      qemu: set bind mode for chardev while parsing XML · be6a415e
      Pavel Hrdina 提交于
      Currently while parsing domain XML we clear the UNIX path if it matches
      one of the auto-generated paths by libvirt.  After that when the guest
      is started new path is generated but the mode is also changed to "bind".
      
      In the real-world use-case the mode should not change, it only happens
      if a user provides a mode='connect' and path that matches one of the
      auto-generated path or not provides a path at all.
      
      Before *reconnect* feature was introduced there was no issue, but with
      the new feature we need to make sure that it's used only with "connect"
      mode, therefore we need to move the mode change into parsing in order
      to have a proper error reported by validation code.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      be6a415e
  6. 29 8月, 2017 11 次提交
  7. 28 8月, 2017 1 次提交
    • A
      qemu: Handle host devices not being available better · 1f433932
      Andrea Bolognani 提交于
      We can't retrieve the isolation group of a device that's not present
      in the system. However, it's very common for VFs to be created late
      in the boot, so they might not be present yet when libvirtd starts,
      which would cause the guests using them to disappear.
      
      Moreover, for other architectures and even ppc64 before isolation
      groups were introduced, it's considered perfectly fine to configure a
      guest to use a device that's not yet (or no longer) available to the
      host, with the obvious caveat that such a guest won't be able to
      start before the device is available.
      
      In order to be consistent, when a device's isolation group can't be
      determined fall back to not isolating it rather than erroring out or,
      worse, making the guest disappear.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1484254Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      1f433932
  8. 27 8月, 2017 4 次提交
  9. 26 8月, 2017 1 次提交
  10. 25 8月, 2017 1 次提交
  11. 18 8月, 2017 8 次提交
  12. 16 8月, 2017 1 次提交
    • J
      qemu: Fix bug assuming usage of default UUID for certificate passphrase · fdab78b5
      John Ferlan 提交于
      If an environment specific _tls_x509_cert_dir is provided, then
      do not VIR_STRDUP the defaultTLSx509secretUUID as that would be
      for the "default" environment and not the vnc, spice, chardev, or
      migrate environments. If the environment needs a secret to decode
      it's certificate, then it must provide the secret. If the secrets
      happen to be the same, then configuration would use the same UUID
      as the default (but we cannot assume that nor can we assume that
      the secret would be necessary).
      fdab78b5
  13. 15 8月, 2017 2 次提交