1. 22 7月, 2011 4 次提交
    • A
      Add hard build dependency on glib · e18df141
      Anthony Liguori 提交于
      GLib is an extremely common library that has a portable thread implementation
      along with tons of other goodies.
      
      GLib and GObject have a fantastic amount of infrastructure we can leverage in
      QEMU including an object oriented programming infrastructure.
      
      Short term, it has a very nice thread pool implementation that we could leverage
      in something like virtio-9p.  It also has a test harness implementation that
      this series will use.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
      e18df141
    • L
      Error: Fix build when qemu-common.h is not included · d3608b7c
      Luiz Capitulino 提交于
      Commit e4ea5e2d added the use of
      the macro GCC_FMT_ATTR to error.h, however compiler.h is not
      included by error.h
      
      This will cause a build error when files including error.h
      don't include qemu-common.h (or compiler.h). Not an issue today
      because the only file including it is json-parser.h and it does
      include qemu-common.h, but let's get it fixed.
      Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
      d3608b7c
    • L
      Introduce compiler.h header file · 5c026320
      Luiz Capitulino 提交于
      This moves compiler related macros from qemu-common.h to compiler.h.
      
      The reason for this change is that there are simple header files that
      depend only on the compiler macros, so including qemu-common.h is overkill.
      
      Besides, qemu-common.h is bloated and will benefit from some splitting.
      
      Please, also note that the QEMU_BUILD_BUG_ON() macro is being fixed to
      not use double underscores as a prefix and the license text was added
      by Vassili Karpov (malc), who is one of the authors of the new file.
      Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
      5c026320
    • J
      QMP: add snapshot-blkdev-sync command · d967b2f1
      Jes Sorensen 提交于
      Add QMP bits for snapshot_blkdev command. This is the same as
      snapshot_blkdev in the human monitor. The command is synchronous.
      
      In the future async commands and or a break down of the functionality
      into multiple commands might be added.
      
      Also change the 'snapshot_file' argument to 'snapshot-file' in
      the human monitor, so that it matches QMP.
      Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
      d967b2f1
  2. 21 7月, 2011 12 次提交
  3. 19 7月, 2011 5 次提交
  4. 18 7月, 2011 4 次提交
  5. 17 7月, 2011 15 次提交