1. 09 4月, 2013 2 次提交
  2. 18 3月, 2013 1 次提交
  3. 01 3月, 2013 1 次提交
    • P
      hw: include hw header files with full paths · 83c9f4ca
      Paolo Bonzini 提交于
      Done with this script:
      
      cd hw
      for i in `find . -name '*.h' | sed 's/^..//'`; do
        echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
      done | sed -i -f - `find . -type f`
      
      This is so that paths remain valid as files are moved.
      
      Instead, files in hw/dataplane are referenced with the relative path.
      We know they are not going to move to include/, and they are the only
      include files that are in subdirectories _and_ move.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      83c9f4ca
  4. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  5. 19 12月, 2012 1 次提交
  6. 01 11月, 2012 1 次提交
    • G
      console: untangle gfx & txt updates · a93a4a22
      Gerd Hoffmann 提交于
      Stop abusing displaysurface fields for text mode displays.
      (bpp = 0, width = cols, height = lines).
      
      Add flags to displaystate indicating whenever text mode display
      (curses) or gfx mode displays (sdl, vnc, ...) are present.
      
      Add separate displaychangelistener callbacks for text / gfx mode
      resize & updates.
      
      This allows to enable gfx and txt diplays at the same time and also
      paves the way for more cleanups in the future.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a93a4a22
  7. 15 2月, 2012 1 次提交
  8. 04 2月, 2012 1 次提交
    • A
      qdev: register all types natively through QEMU Object Model · 39bffca2
      Anthony Liguori 提交于
      This was done in a mostly automated fashion.  I did it in three steps and then
      rebased it into a single step which avoids repeatedly touching every file in
      the tree.
      
      The first step was a sed-based addition of the parent type to the subclass
      registration functions.
      
      The second step was another sed-based removal of subclass registration functions
      while also adding virtual functions from the base class into a class_init
      function as appropriate.
      
      Finally, a python script was used to convert the DeviceInfo structures and
      qdev_register_subclass functions to TypeInfo structures, class_init functions,
      and type_register_static calls.
      
      We are almost fully converted to QOM after this commit.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      39bffca2
  9. 28 1月, 2012 2 次提交
  10. 14 12月, 2011 1 次提交
    • S
      hw: Fix spelling in comments · 26404edc
      Stefan Weil 提交于
      adress->address
      advertisment->advertisement
      begining->beginning
      bondary->boundary
      controler->controller
      controll->control
      convertion->conversion
      doesnt->doesn't
      existant->existent
      instuction->instruction
      loosing->losing
      managment->management
      multipled->multiplied
      negotation->negotiation
      runing->running
      teh->the
      unchangable->unchangeable
      writen->written
      yeild->yield
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      26404edc
  11. 24 7月, 2011 1 次提交
  12. 08 5月, 2011 1 次提交
  13. 04 12月, 2009 1 次提交
  14. 05 10月, 2009 1 次提交
  15. 28 8月, 2009 1 次提交
    • G
      qdev: add return value to init() callbacks. · 81a322d4
      Gerd Hoffmann 提交于
      Sorry folks, but it has to be.  One more of these invasive qdev patches.
      
      We have a serious design bug in the qdev interface:  device init
      callbacks can't signal failure because the init() callback has no
      return value.  This patch fixes it.
      
      We have already one case in-tree where this is needed:
      Try -device virtio-blk-pci (without drive= specified) and watch qemu
      segfault.  This patch fixes it.
      
      With usb+scsi being converted to qdev we'll get more devices where the
      init callback can fail for various reasons.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      81a322d4
  16. 11 6月, 2009 1 次提交
  17. 15 5月, 2009 1 次提交
  18. 14 5月, 2009 1 次提交
  19. 17 1月, 2009 1 次提交
    • A
      graphical_console_init change (Stefano Stabellini) · 3023f332
      aliguori 提交于
      Patch 5/7
      
      This patch changes the graphical_console_init function to return an
      allocated DisplayState instead of a QEMUConsole.
      
      This patch contains just the graphical_console_init change and few other
      modifications mainly in console.c and vl.c.
      It was necessary to move the display frontends (e.g. sdl and vnc)
      initialization after machine->init in vl.c.
      
      This patch does *not* include any required changes to any device, these
      changes come with the following patches.
      
      Patch 6/7
      
      This patch changes the QEMUMachine init functions not to take a
      DisplayState as an argument because is not needed any more;
      
      In few places the graphic hardware initialization function was called
      only if DisplayState was not NULL, now they are always called.
      Apart from these cases, the rest are all mechanical substitutions.
      
      Patch 7/7
      
      This patch updates the graphic device code to use the new
      graphical_console_init function.
      
      As for the previous patch, in few places graphical_console_init was called
      only if DisplayState was not NULL, now it is always called.
      Apart from these cases, the rest are all mechanical substitutions.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6344 c046a42c-6fe2-441c-8c8c-71466251a162
      3023f332
  20. 25 11月, 2008 1 次提交
  21. 08 7月, 2008 1 次提交
  22. 03 7月, 2008 1 次提交
  23. 02 7月, 2008 1 次提交
  24. 11 2月, 2008 1 次提交
  25. 18 11月, 2007 1 次提交
  26. 11 11月, 2007 1 次提交