1. 21 7月, 2017 2 次提交
    • A
      qemu: Clean up firmware list initialization · 6c2c04e7
      Andrea Bolognani 提交于
      Instead of going through two completely different code paths,
      one of which repeats the same hardcoded bit of information
      three times in rapid succession, depending on whether or not
      a firmware list has been provided at configure time, just
      provide a reasonable default value and remove the extra code.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      6c2c04e7
    • M
      libvirt-domain.h: Fix enum description placement · f4cb85c6
      Michal Privoznik 提交于
      There are only two acceptable places for describing enum values.
      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, during review of a patch sent upstream I realized that
      is not always the case. I went through all the public header
      files and identified all the offenders. Luckily there were just
      two of them.
      
      Yes, this makes our HTML generated documentation broken, but
      that's bug of the generator. Our header files shouldn't be forced
      to use something we don't want to.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      f4cb85c6
  2. 20 7月, 2017 25 次提交
  3. 19 7月, 2017 12 次提交
  4. 18 7月, 2017 1 次提交
    • M
      wireshark: Adapt to tvb_new_subset() rename · ec910641
      Michal Privoznik 提交于
      In Wireshark commit of 7cd6906056922e4b8 (contained in v2.4.0)
      the tvb_new_subset() function was renamed to
      tvb_new_subset_length_caplen(). However, we can take the extra
      step and rename to tvb_new_subset_remaining() directly (see
      Wireshark commit 0ecfc7280cf3d7). The reasoning is that there is
      no other protocol in the packet than libvirt. Therefore, from the
      point that libvirt dissector takes over till the end of the
      packet it's all libvirt packet.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NMartin Kletzander <mkletzan@redhat.com>
      ec910641