• Follow on patch will use it to determine the size of the MADT and
    other BIOS tables.
    
    Signed-off-by: Jes Sorensen <jes@sgi.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jes Sorensen authored
     
    Browse Code »
  • Demo QemuOpts in action ;)
    
    Implementing a alternative way to specify the filename should be
    just a few lines of code now once we decided how the cmd line syntax
    should look like.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse Code »
  • Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse Code »
  • cleanup pretty simliar to the drives_table removal patch:
     - drop the table and make a linked list out of it.
     - pass around struct pointers instead of table indices.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse File »
  • -drive accepts the new id= now, allowing to explicitely name your
    drives.  They will show up with that name in "info block" if specified,
    otherwise the existing namimg scheme is used to autogenerate one.
    
    There is also a new function to lookup drives by name.  Not used yet.
    The plan is to link disk drivers and drives using the drive id instead
    of passing around pointers to BlockDriveState.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse File »
  • 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: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
     
    Browse Code »


  • We want to do (at least) two things to the virtio-balloon device:
    suppress it, and control its PCI address.  Option -no-virtio-balloon
    lets us do only the former.  To get the latter, replace
    -no-virtio-balloon with
    
        -balloon none   disable balloon device
        -balloon virtio[,addr=str]
                        enable virtio balloon device (default)
    
    Syntax suggested by Anthony Liguori.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Markus Armbruster authored
     
    Browse Code »
  • In order to parse multiple instances of the same param=value pair,
    introduce get_next_param_value which can pass back to string parsing
    position after reading a parameter value.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
     
    Browse Code »

  • [brought forward to current qemu-kvm.git]
    
    This patch implements the missing qemu logic to
    interpret a '-drive .. serial=XYZ ..' flag for
    a virtio_blk device.
    
    The serial number string is contained in a
    skeletal IDENTIFY DEVICE data structure and
    this structure is made available to the guest
    virtio_blk driver via pci i/o region 0.
    
    Signed-off-by: john cooper <john.cooper@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    john cooper authored
     
    Browse Code »



  • OK, last try: 8e4416af broke -net socket, ffad4116 tried to fix it
    but broke error reporting of invalid parameters. So this patch widely
    reverts ffad4116 again and intead fixes those callers of check_params
    that originally suffered from overwritten buffers by using separate
    ones.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Jan Kiszka authored
     
    Browse Code »


  • 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: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Kevin Wolf authored
     
    Browse Code »
  • 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: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Glauber Costa authored
     
    Browse Code »

  • 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: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
     
    Browse Code »

  • The only target dependency for most hardware is sizeof(target_phys_addr_t).
    Build these files into a convenience library, and use that instead of
    building for every target.
    
    Remove and poison various target specific macros to avoid bogus target
    dependencies creeping back in.
    
    Big/Little endian is not handled because devices should not know or care
    about this to start with.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
     
    Browse Code »
  • BIOS_SIZE is no longer needed by vl.c, so there's no point having it in
    sysemu.h.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
     
    Browse Code »



  • My commit ea053add broke -net socket by
    overwriting an intermediate buffer in the added check_param. Fix this
    by switching check_param to automatic buffer allocation and release, ie.
    callers no longer have to worry about providing a scratch buffer.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
     
    Browse Code »







  • 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: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »



  • This version of the patch adds new option "werror" to -drive flag.
    Possible values are:
    
    report    - report errors to a guest as IO errors
    ignore    - continue as if nothing happened
    stop      - stop VM on any error and retry last command on resume
    enospc    - stop vm on ENOSPC error and retry last command on resume
                all other errors are reported to a guest.
    
    Default is "report" to maintain current behaviour.
    
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6388 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse File »