1. 26 8月, 2017 1 次提交
  2. 23 8月, 2017 1 次提交
  3. 21 8月, 2017 1 次提交
  4. 08 8月, 2017 2 次提交
  5. 07 8月, 2017 1 次提交
  6. 06 8月, 2017 1 次提交
  7. 03 8月, 2017 14 次提交
  8. 02 8月, 2017 3 次提交
  9. 01 8月, 2017 1 次提交
  10. 31 7月, 2017 1 次提交
  11. 28 7月, 2017 1 次提交
  12. 27 7月, 2017 1 次提交
    • J
      storage: Disallow usage of the HBA for a fc_host backing · 43e6686c
      John Ferlan 提交于
      Disallow providing the wwnn/wwpn of the HBA in the adapter XML:
      
        <adapter type='fc_host' [parent='scsi_hostN'] wwnn='HBA_wwnn'
          wwpn='HBA_wwpn'/>
      
      This should be considered a configuration error since a vHBA
      would not be created. In order to use the HBA as the backing the
      following XML should be used:
      
        <adapter type='scsi_host' name='scsi_hostN'/>
      
      So add a check prior to the checkParent call to validate that
      the provided wwnn/wwpn resolves to a vHBA and not an HBA.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      43e6686c
  13. 26 7月, 2017 2 次提交
  14. 24 7月, 2017 2 次提交
    • M
      docs: Span cells if there's not doc text for enum val · 099a5ef8
      Michal Privoznik 提交于
      When generating HTML documentation we put enum values into a
      table so that we can display the value's name, numerical value
      and description (if it has one). Now the last part is problem. If
      the value doesn't have description the table row has just two
      cells and if it has one the row counts three cells. This makes
      HTML engines render the description into very little space - for
      instance see:
      
        html/libvirt-libvirt-domain.html#virDomainMemoryStatTags
      
      We can avoid this problem if we let the cell that corresponds to
      numerical value span over two cells if there's no description.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NMartin Kletzander <mkletzan@redhat.com>
      099a5ef8
    • M
      apibuild.py: Handle enum comments properly · 6efdd94d
      Michal Privoznik 提交于
      After f4cb85c6 we only have two options for placing enum
      values descriptions. It's either:
      
          typedef enum {
              /* Some long description. Therefore it's placed before
               * the value. */
              VIR_ENUM_A_VAL = 1,
          } virEnumA;
      
      or:
      
          typedef enum {
              VIR_ENUM_B_VAL = 1, /* Some short description */
          } virEnumB;
      
      However, our apibuild.py script is not able to deal with the
      former one. It messes up comments. To fix this couple of things
      needs to be done:
      
      a) DO NOT reset self.comment in parseEnumBlock(). This is a
      result from our tokenizer. Upon calling token() if it finds a
      comment block it stores it in self.comment and returns the next
      token (which is not comment). Therefore, if we reset self.comment
      we might lose the first comment in the enum block.
      
      b) we need a variable to track if the current enum block uses
      value descriptions before or after values. That is if it's type
      virEnumA or virEnumB. Depending on that, it we're dealing with
      virEnumA type and the current token is a comma ',' we can add the
      value into the list as we already have everything needed:
      comment, name and value.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NMartin Kletzander <mkletzan@redhat.com>
      6efdd94d
  15. 21 7月, 2017 1 次提交
    • S
      qemu: Enable NUMA node tag in pci-root for PPC64 · e5a05799
      Shivaprasad G Bhat 提交于
      This patch addresses the same aspects on PPC the bug 1103314 addressed
      on x86.
      
      PCI expander bus creates multiple primary PCI busses, where each of these
      busses can be assigned a specific NUMA affinity, which, on x86 is
      advertised through ACPI on a per-bus basis.
      
      For SPAPR, a PHB's NUMA affinities are assigned on a per-PHB basis, and
      there is no mechanism for advertising NUMA affinities to a guest on a
      per-bus basis. So, even if qemu-ppc manages to get some sort of multi-bus
      topology working using PXB, there is no way to expose the affinities
      of these busses to the guest. It can only be exposed on a per-PHB/per-domain
      basis.
      
      So patch enables NUMA node tag in pci-root controller on PPC.
      
      The way to set the NUMA node is through the numa_node option of
      spapr-pci-host-bridge device. However for the implicit PHB, the only way
      to set the numa_node is from the -global option. The -global option applies
      to all the PHBs unless explicitly specified with the option on the
      respective PHB of CLI. The default PHB has the emulated devices only, so
      the patch prevents setting the NUMA node for the default PHB.
      Signed-off-by: NShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      e5a05799
  16. 19 7月, 2017 1 次提交
    • J
      docs: schema: make disk driver name attribute optional · b494e09d
      Jim Fehlig 提交于
      /domain/devices/disk/driver/@name is not a required or mandatory
      attribute according to formatdomain, and indeed it was agreed on
      IRC that the attribute is "optional for input, recommended (but
      not required) for output". Currently the schema requires the
      attribute, causing virt-xml-validate to fail on disk config where
      the driver name is not explicitly specified. E.g.
      
      # cat test.xml | grep -A 5 cdrom
          <disk type='file' device='cdrom'>
            <driver type='raw'/>
            <target dev='hdb' bus='ide'/>
            <readonly/>
            <address type='drive' controller='0' bus='0' target='0' unit='1'/>
          </disk>
      
      # virt-xml-validate test.xml
      Relax-NG validity error : Extra element devices in interleave
      test.xml:21: element devices: Relax-NG validity error : Element domain failed to validate content
      test.xml fails to validate
      
      Relaxing the name attribute to be optional fixes the validation
      
      # virt-xml-validate test.xml
      test.xml validates
      b494e09d
  17. 18 7月, 2017 1 次提交
  18. 16 7月, 2017 1 次提交
  19. 15 7月, 2017 3 次提交
  20. 12 7月, 2017 1 次提交