1. 15 7月, 2017 1 次提交
  2. 14 7月, 2017 2 次提交
  3. 11 7月, 2017 3 次提交
  4. 27 6月, 2017 1 次提交
  5. 20 6月, 2017 1 次提交
  6. 12 6月, 2017 1 次提交
  7. 07 6月, 2017 4 次提交
  8. 05 6月, 2017 1 次提交
  9. 03 6月, 2017 4 次提交
  10. 26 5月, 2017 1 次提交
  11. 18 5月, 2017 3 次提交
    • E
      nodedev: Introduce the mdev capability to a PCI parent device · 500cbc06
      Erik Skultety 提交于
      The parent device needs to report the generic stuff about the supported
      mediated devices types, like device API, available instances, type name,
      etc. Therefore this patch introduces a new nested capability element of
      type 'mdev_types' with the resulting XML of the following format:
      
      <device>
        ...
        <capability type='pci'>
          ...
          <capability type='mdev_types'>
            <type id='vendor_supplied_id'>
              <name>optional_vendor_supplied_codename</name>
              <deviceAPI>vfio-pci</deviceAPI>
              <availableInstances>NUM</availableInstances>
            </type>
              ...
            <type>
              ...
            </type>
          </capability>
        </capability>
        ...
      </device>
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1452072Signed-off-by: NErik Skultety <eskultet@redhat.com>
      500cbc06
    • M
      Introduce virStreamInData · 84b50792
      Michal Privoznik 提交于
      This is just an internal API, that calls corresponding function
      in stream driver. This function will set @data = 1 if the
      underlying file is in data section, or @data = 0 if it is in a
      hole. At any rate, @length is set to number of bytes remaining in
      the section the file currently is.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      84b50792
    • M
      util: Introduce virFileInData · b928d140
      Michal Privoznik 提交于
      This function takes a FD and determines whether the current
      position is in data section or in a hole. In addition to that,
      it also determines how much bytes are there remaining till the
      current section ends.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b928d140
  12. 12 5月, 2017 2 次提交
  13. 10 5月, 2017 1 次提交
    • D
      Don't inline virStringTrimOptionalNewline · 1a77b97c
      Daniel P. Berrange 提交于
      GCC complains that inlining virStringTrimOptionalNewline is not
      likely on some platforms:
      
        cc1: warnings being treated as errors
        ../../src/util/virfile.c: In function 'virFileReadValueBitmap':
        ../../src/util/virstring.h:292: error: inlining failed in call to 'virStringTrimOptionalNewline': call is unlikely and code size would grow [-Winline]
        ../../src/util/virfile.c:3987: error: called from here [-Winline]
      
      Inlining this function is not going to be a measurable performance
      benefit either, since the time required to execute it is going to
      be dominated by running of strlen() over the string, not by the
      function call overhead.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      1a77b97c
  14. 09 5月, 2017 2 次提交
  15. 28 4月, 2017 1 次提交
  16. 27 4月, 2017 4 次提交
  17. 21 4月, 2017 1 次提交
    • M
      util: Add virNetDevSetCoalesce function · 652ef9bc
      Martin Kletzander 提交于
      That function is able to configure coalesce settings for an interface,
      similarly to 'ethtool -C'.  This function also updates back the
      structure so that it contains actual data on the device (if the device
      doesn't support some settings kernel might just return 0 and not set
      whatever is not supported), so this way we'll have up-to-date
      information in the live domain XML.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      652ef9bc
  18. 19 4月, 2017 4 次提交
  19. 13 4月, 2017 3 次提交