1. 22 10月, 2016 1 次提交
  2. 21 10月, 2016 3 次提交
    • J
      qemuBuildHostNetStr: remove dead code · ea4c9cf8
      Ján Tomko 提交于
      This function is never called for VIR_DOMAIN_NET_TYPE_HOSTDEV,
      and the dead code comment agrees.
      
      Introduced by commit 1dcbef8a.
      ea4c9cf8
    • J
      qemuBuildHostNetStr: do not start options with a comma · b2b670f8
      Ján Tomko 提交于
      Put the comma at the end and trim it later for consistency.
      b2b670f8
    • J
      qemuBuildHostNetStr: use type_sep earlier · c70c56de
      Ján Tomko 提交于
      When hotplugging networks with ancient QEMUs not supporting
      QEMU_CAPS_NETDEV, we use space instead of a comma as the separator
      between the network type and other options.
      
      Except for "user", all the network types pass other options
      and use up the first separator by the time we get to the section
      that adds the alias (or vlan for QEMUs without CAPS_NETDEV).
      
      Since the alias/vlan is mandatory, convert all preceding code to add
      the separator at the end, removing the need to rewrite type_sep for
      all types but NET_TYPE_USER.
      c70c56de
  3. 20 10月, 2016 2 次提交
    • J
      qemu: Introduce qemuDomainChardevPrivatePtr · 5f2a1327
      John Ferlan 提交于
      Modeled after the qemuDomainHostdevPrivatePtr (commit id '27726d8c'),
      create a privateData pointer in the _virDomainChardevDef to allow storage
      of private data for a hypervisor in order to at least temporarily store
      secret data for usage during qemuBuildCommandLine.
      
      NB: Since the qemu_parse_command (qemuParseCommandLine) code is not
      expecting to restore the secret data, there's no need to add code
      code to handle this new structure there.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      5f2a1327
    • J
      conf: Introduce {default|chardev}_tls_x509_secret_uuid · 3b668bb5
      John Ferlan 提交于
      Add a new qemu.conf variables to store the UUID for the secret that could
      be used to present credentials to access the TLS chardev.  Since this will
      be a server level and it's possible to use some sort of default, introduce
      both the default and chardev logic at the same time making the setting of
      the chardev check for it's own value, then if not present checking whether
      the default value had been set.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      3b668bb5
  4. 18 10月, 2016 6 次提交
  5. 14 10月, 2016 15 次提交
  6. 13 10月, 2016 1 次提交
    • M
      src: Treat PID as signed · b7d2d4af
      Michal Privoznik 提交于
      This initially started as a fix of some debug printing in
      virCgroupDetect. However it turned out that other places suffer
      from the similar problem. While dealing with pids, esp. in cases
      where we cannot use pid_t for ABI stability reasons, we often
      chose an unsigned integer type. This makes no sense as pid_t is
      signed.
      Also, new syntax-check rule is introduced so we won't repeat this
      mistake.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b7d2d4af
  7. 12 10月, 2016 12 次提交