1. 25 10月, 2016 1 次提交
    • L
      conf: new function virDomainPCIAddressReserveNextAddr() · 848e7ff2
      Laine Stump 提交于
      There is an existing virDomainPCIAddressReserveNextSlot() which will
      reserve all functions of the next available PCI slot. One place in the
      qemu PCI address assignment code requires reserving a *single*
      function of the next available PCI slot. This patch modifies and
      renames virDomainPCIAddressReserveNextSlot() so that it can fulfill
      both the original purpose and the need to reserve a single function.
      
      (This is being done so that the abovementioned code in qemu can have
      its "kind of open coded" solution replaced with a call to this new
      function).
      848e7ff2
  2. 24 10月, 2016 18 次提交
  3. 22 10月, 2016 3 次提交
  4. 21 10月, 2016 7 次提交
    • 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
    • N
      vz: set something in disk driver name · bdaf5e80
      Nikolay Shirokovskiy 提交于
      Absent driver name attribute is invalid xml. Which in turn makes
      unusable 'virsh edit' for example. The value does not make
      much sense and ignored on input so nobody will hurt.
      bdaf5e80
    • N
      vz: add serial number to disk devices · d6e3af62
      Nikolay Shirokovskiy 提交于
      vz sdk supports setting serial number only for disk devices.
      Getting serial upon cdrom(for example) is error however
      setting is just ignored. Let's check for disk device
      explicitly for clarity in both cases.
      
      Setting serial number for other devices is ignored
      with an info note just as before.
      
      We need usual conversion from "" to NULL in direction
      vz sdk -> libvirt, because "" is not valid for libvirt
      and "" means unspecifiend in vz sdk which is NULL for libvirt.
      d6e3af62
    • J
      bhyve: Need to add parameter to virDomainChrDefNew · 9c2e539a
      John Ferlan 提交于
      Commit id '5f2a1327' missed this one.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      9c2e539a
    • M
      vz: set localhost as vnc address · 97b31f86
      Mikhail Feoktistov 提交于
      We should set localhost as vnc address in case of empty string.
      Because Virtuozzo sets 0.0.0.0 as default vnc address.
      97b31f86
  5. 20 10月, 2016 6 次提交
  6. 19 10月, 2016 1 次提交
  7. 18 10月, 2016 4 次提交