1. 26 9月, 2009 1 次提交
    • M
      Fix coding style issue · 3df04ac3
      Mark McLoughlin 提交于
      Replace:
      
        if (-1 == foo())
      
      with:
      
        if (foo() == -1)
      
      While this coding style is not in direct contravention of our currently
      ratified CODING_STYLE treaty, it could be argued that the Article 3 of
      the European Convention on Human Rights (prohibiting torture and "inhuman
      or degrading treatment") reads on the matter.
      
      [This commit message was brought to you without humour, as is evidenced
      by the absence of any emoticons]
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      Cc: Avi Kivity <avi@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      3df04ac3
  2. 12 9月, 2009 1 次提交
    • B
      Fix sys-queue.h conflict for good · 72cf2d4f
      Blue Swirl 提交于
      Problem: Our file sys-queue.h is a copy of the BSD file, but there are
      some additions and it's not entirely compatible. Because of that, there have
      been conflicts with system headers on BSD systems. Some hacks have been
      introduced in the commits 15cc9235,
      f40d7537,
      96555a96 and
      3990d09a but the fixes were fragile.
      
      Solution: Avoid the conflict entirely by renaming the functions and the
      file. Revert the previous hacks.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      72cf2d4f
  3. 11 9月, 2009 1 次提交
  4. 10 9月, 2009 1 次提交
  5. 11 8月, 2009 2 次提交
  6. 30 7月, 2009 1 次提交
  7. 28 7月, 2009 4 次提交
  8. 06 6月, 2009 1 次提交
  9. 22 5月, 2009 1 次提交
    • K
      Create qemu-option.h · d3f24367
      Kevin Wolf 提交于
      This patch creates a new header file and the corresponding implementation file
      for parsing of parameter strings for options (like used in -drive). Part of
      this is code moved from vl.c (so qemu-img can use it later).
      
      The idea is to have a data structure describing all accepted parameters. When
      parsing a parameter string, the structure is copied and filled with the
      parameter values.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d3f24367