Skip to content
Snippets Groups Projects
  1. Apr 30, 2019
  2. Jan 11, 2019
    • Paolo Bonzini's avatar
      qemu/queue.h: leave head structs anonymous unless necessary · b58deb34
      Paolo Bonzini authored
      
      Most list head structs need not be given a name.  In most cases the
      name is given just in case one is going to use QTAILQ_LAST, QTAILQ_PREV
      or reverse iteration, but this does not apply to lists of other kinds,
      and even for QTAILQ in practice this is only rarely needed.  In addition,
      we will soon reimplement those macros completely so that they do not
      need a name for the head struct.  So clean up everything, not giving a
      name except in the rare case where it is necessary.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      b58deb34
  3. Nov 05, 2018
  4. Dec 12, 2014
  5. Aug 15, 2014
  6. Jun 16, 2014
  7. Mar 14, 2014
  8. Dec 20, 2013
    • Jeff Cody's avatar
      block: vhdx - improve error message, and .bdrv_check implementation · 7e30e6a6
      Jeff Cody authored
      
      If there is a dirty log file to be replayed in a VHDX image, it is
      replayed in .vhdx_open().  However, if the file is opened read-only,
      then a somewhat cryptic error message results.
      
      This adds a more helpful error message for the user.  If an image file
      contains a log to be replayed, and is opened read-only, the user is
      instructed to run 'qemu-img check -r all' on the image file.
      
      Running qemu-img check -r all will cause the image file to be opened
      r/w, which will replay the log file.  If a log file replay is detected,
      this is flagged, and bdrv_check will increase the corruptions_fixed
      count for the image.
      
      [Fixed typo in error message that was pointed out by Eric Blake
      <eblake@redhat.com>.
      --Stefan]
      
      Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      7e30e6a6
  9. Nov 07, 2013
  10. Jul 27, 2013
  11. May 03, 2013
Loading