1. 28 7月, 2009 1 次提交
    • G
      kill drives_table · 751c6a17
      Gerd Hoffmann 提交于
      First step cleaning up the drives handling.  This one does nothing but
      removing drives_table[], still it became seriously big.
      
      drive_get_index() is gone and is replaced by drives_get() which hands
      out DriveInfo pointers instead of a table index.  This needs adaption in
      *tons* of places all over.
      
      The drives are now maintained as linked list.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      751c6a17
  2. 16 7月, 2009 1 次提交
  3. 30 6月, 2009 1 次提交
  4. 29 6月, 2009 1 次提交
  5. 24 6月, 2009 1 次提交
  6. 22 6月, 2009 2 次提交
  7. 14 6月, 2009 1 次提交
  8. 09 6月, 2009 1 次提交
  9. 30 5月, 2009 1 次提交
  10. 22 5月, 2009 3 次提交
    • 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
    • G
      augment info migrate with page status · 9f9e28cd
      Glauber Costa 提交于
      This patch augments info migrate output with status about:
      * ram bytes remaining
      * ram bytes transferred
      * ram bytes total
      
      This should be enough for management tools to realize
      whether or not there is progress in migration. We can
      add more information later on, if the need arrives
      
      [v2: fixes bytes_transferred type]
      Signed-off-by: NGlauber Costa <glommer@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      9f9e28cd
    • A
      Refactor how display drivers are selected · 993fbfdb
      Anthony Liguori 提交于
      My previous commit, f92f8afe,  broke -vnc (spotted by Glauber Costa).  This
      is because it's necessary to tell when the no special display parameters have
      been passed and default to SDL or VNC appropriately.
      
      This refactors the display selection logic to be less complicated which has
      the effect of fixing the regression mentioned above.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      993fbfdb
  11. 19 5月, 2009 2 次提交
  12. 15 5月, 2009 1 次提交
  13. 12 5月, 2009 1 次提交
  14. 01 5月, 2009 1 次提交
  15. 22 4月, 2009 3 次提交
  16. 19 4月, 2009 1 次提交
  17. 18 4月, 2009 2 次提交
  18. 09 3月, 2009 1 次提交
  19. 06 3月, 2009 1 次提交
    • A
      monitor: Rework API (Jan Kiszka) · 376253ec
      aliguori 提交于
      Refactor the monitor API and prepare it for decoupled terminals:
      term_print functions are renamed to monitor_* and all monitor services
      gain a new parameter (mon) that will once refer to the monitor instance
      the output is supposed to appear on. However, the argument remains
      unused for now. All monitor command callbacks are also extended by a mon
      parameter so that command handlers are able to pass an appropriate
      reference to monitor output services.
      
      For the case that monitor outputs so far happen without clearly
      identifiable context, the global variable cur_mon is introduced that
      shall once provide a pointer either to the current active monitor (while
      processing commands) or to the default one. On the mid or long term,
      those use case will be obsoleted so that this variable can be removed
      again.
      
      Due to the broad usage of the monitor interface, this patch mostly deals
      with converting users of the monitor API. A few of them are already
      extended to pass 'mon' from the command handler further down to internal
      functions that invoke monitor_printf.
      
      At this chance, monitor-related prototypes are moved from console.h to
      a new monitor.h. The same is done for the readline API.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
      376253ec
  20. 11 2月, 2009 7 次提交
  21. 23 1月, 2009 1 次提交
  22. 22 1月, 2009 1 次提交
  23. 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
  24. 16 1月, 2009 3 次提交
  25. 08 1月, 2009 1 次提交