Skip to content
Snippets Groups Projects
  1. Jul 27, 2009
  2. Jul 16, 2009
  3. Jul 10, 2009
  4. Jul 09, 2009
  5. Jul 01, 2009
  6. Jun 29, 2009
    • Ram Pai's avatar
      support colon in filenames · 707c0dbc
      Ram Pai authored
      Problem: It is impossible to feed filenames with the character colon because
      qemu interprets such names as a protocol. For example filename scsi:0, is
      interpreted as a protocol by name "scsi".
      
      This patch allows user to espace colon characters. For example the above
      filename can now be expressed either as 'scsi\:0' or as file:scsi:0
      
      anything following the "file:" tag is interpreted verbatin. However if "file:"
      tag is omitted then any colon characters in the string must be escaped using
      backslash.
      
      Here are couple of examples:
      
      scsi\:0\:abc is a local file scsi:0:abc
      http\://myweb is a local file by name http://myweb
      file:scsi:0:abc is a local file scsi:0:abc
      file:http://myweb is a local file by name http://myweb
      
      
      
      Signed-off-by: default avatarRam Pai <linuxram@us.ibm.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      707c0dbc
  7. Jun 16, 2009
  8. Jun 15, 2009
    • Christoph Hellwig's avatar
      block: add bdrv_probe_device method · 508c7cb3
      Christoph Hellwig authored
      
      Add a bdrv_probe_device method to all BlockDriver instances implementing
      host devices to move matching of host device types into the actual drivers.
      For now we keep exacly the old matching behaviour based on the devices names,
      although we really should have better detetion methods based on device
      information in the future.
      
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      508c7cb3
    • Christoph Hellwig's avatar
      raw-posix: split hdev drivers · f3a5d3f8
      Christoph Hellwig authored
      
      Instead of declaring one BlockDriver for all host devices declared one
      for each type:  a generic one for normal disk devices, a Linux floppy
      driver and a CDROM driver for Linux and FreeBSD.  This gets rid of a lot
      of messy ifdefs and switching based on the type in the various removal
      device methods.
      
      block.c grows a new method to find the correct host device driver based
      on OS-sepcific criteria, which will later into the actual drivers in a
      later patch in this series.
      
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      f3a5d3f8
  9. May 27, 2009
  10. May 22, 2009
  11. May 14, 2009
  12. May 08, 2009
  13. Apr 22, 2009
    • Anthony Liguori's avatar
      implement qemu_blockalign (Stefano Stabellini) · e268ca52
      Anthony Liguori authored
      
      this patch adds a buffer_alignment field to BlockDriverState and
      implements a qemu_blockalign function that uses that field to allocate a
      memory aligned buffer to be used by the block driver.
      buffer_alignment is initialized to 512 but each block driver can set
      a different value (at the moment none of them do).
      This patch modifies ide.c, block-qcow.c, block-qcow2.c and block.c to
      use qemu_blockalign instead of qemu_memalign.
      There is only one place left that still uses qemu_memalign to allocate
      buffers used by block drivers that is posix-aio-compat:handle_aiocb_rw
      because it is not possible to get the BlockDriverState from that
      function. However I think it is not important because posix-aio-compat
      already deals with driver specific code so it is supposed to know its
      own needs.
      
      Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7229 c046a42c-6fe2-441c-8c8c-71466251a162
      e268ca52
  14. Apr 21, 2009
  15. Apr 13, 2009
  16. Apr 07, 2009
  17. Apr 05, 2009
  18. Mar 29, 2009
  19. Mar 28, 2009
  20. Mar 20, 2009
  21. Mar 12, 2009
  22. Mar 11, 2009
  23. Mar 08, 2009
  24. Mar 07, 2009
  25. Mar 05, 2009
    • Anthony Liguori's avatar
      monitor: Rework API (Jan Kiszka) · 376253ec
      Anthony Liguori authored
      
      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: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
      376253ec
Loading