1. 03 2月, 2016 3 次提交
  2. 08 1月, 2016 1 次提交
  3. 17 12月, 2015 2 次提交
    • E
      blkdebug: Avoid '.' in enum values · 5be5b776
      Eric Blake 提交于
      Our qapi conventions document that '.' should only be used in
      the prefix of downstream names.  BlkdebugEvent was a lone
      exception to this.  Changing this is not backwards compatible
      to the 'blockdev-add' QMP command; however, that command is
      not yet fully stable.  It can also be argued that the testsuite
      is the biggest user of blkdebug, and that any other user can
      be taught to deal with the change by paying attention to
      introspection results.
      
      Done with:
      
      $ for str in \
           l1_grow.{alloc,write,activate}_table \
           l2_alloc.{cow_read,write} \
           refblock_alloc.{hookup,write,write_blocks,write_table,switch_table} \
           pwritev_rmw.{head,after_head,tail,after_tail}; do
         str1=$(echo "$str" | sed 's/\./\\./')
         str2=$(echo "$str" | sed 's/\./_/')
         git grep -l "$str1" | xargs -r sed -i "s/$str1/$str2/g"
       done
      
      followed by a manual touchup to test 77 to keep the test working.
      Reported-by: NMarkus Armbruster <armbru@redhat.com>
      CC: Kevin Wolf <kwolf@redhat.com>
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <1447836791-369-21-git-send-email-eblake@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      5be5b776
    • E
      blkdebug: Merge hand-rolled and qapi BlkdebugEvent enum · a31939e6
      Eric Blake 提交于
      No need to keep two separate enums, where editing one is likely
      to forget the other.  Now that we can specify a qapi enum prefix,
      we don't even have to change the bulk of the uses.
      
      get_event_by_name() could perhaps be replaced by qapi_enum_parse(),
      but I left that for another day.
      
      CC: Kevin Wolf <kwolf@redhat.com>
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <1447836791-369-20-git-send-email-eblake@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      a31939e6
  4. 11 12月, 2015 1 次提交
  5. 17 11月, 2015 1 次提交
  6. 12 11月, 2015 6 次提交
  7. 11 11月, 2015 9 次提交
  8. 24 10月, 2015 2 次提交
  9. 05 9月, 2015 1 次提交
  10. 02 7月, 2015 2 次提交
  11. 24 6月, 2015 1 次提交
  12. 23 6月, 2015 1 次提交
    • W
      vvfat: add a label option · d5941dda
      Wolfgang Bumiller 提交于
      Until now the vvfat volume label was hardcoded to be
      "QEMU VVFAT", now you can pass a file.label=labelname option
      to the -drive to change it.
      
      The FAT structure defines the volume label to be limited to
      11 bytes and is filled up spaces when shorter than that. The
      trailing spaces however aren't exposed to the user by
      operating systems.
      
      [Added missing comment '#' characters in block-core.json to fix build
      errors.
      --Stefan]
      Signed-off-by: NWolfgang Bumiller <w.bumiller@proxmox.com>
      Message-id: 1434706529-13895-2-git-send-email-w.bumiller@proxmox.com
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      d5941dda
  13. 12 6月, 2015 2 次提交
  14. 29 5月, 2015 1 次提交
    • J
      qapi: add dirty bitmap status · 9abe3bdc
      John Snow 提交于
      Bitmaps can be in a handful of different states with potentially
      more to come as we tool around with migration and persistence patches.
      
      Management applications may need to know why certain bitmaps are
      unavailable for various commands, e.g. busy in another operation,
      busy being migrated, etc.
      
      Right now, all we offer is BlockDirtyInfo's boolean member 'frozen'.
      Instead of adding more booleans, replace it by an enumeration member
      'status' with values 'active' and 'frozen'.  Then add new value
      'disabled'.
      
      Incompatible change.  Fine because the changed part hasn't been
      released so far.
      Suggested-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [Commit message tweaked]
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      9abe3bdc
  15. 08 5月, 2015 1 次提交
  16. 06 5月, 2015 2 次提交
  17. 28 4月, 2015 4 次提交