Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: qom-cpu-arm.v6
Commits on Mar 26, 2012
  1. target-arm: Minimalistic CPU QOM'ification

    authored
    Introduce only one non-abstract type TYPE_ARM_CPU and do not touch
    cp15 registers to not interfere with Peter's ongoing remodelling.
    Embed CPUARMState as first (additional) field of ARMCPU.
    
    Let reset call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. target-arm: Drop cpu_arm_close()

    authored
    It's unused, so no need to QOM'ify it later.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Commits on Mar 24, 2012
  1. Richard Henderson Blue Swirl

    tcg-sparc: Add debug_frame support.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  2. Richard Henderson Blue Swirl

    tcg-hppa: Add debug_frame support.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  3. Richard Henderson Blue Swirl

    tcg: Allow ELF_HOST_FLAGS and ELF_OSABI overrides in gdb-jit.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  4. Richard Henderson Blue Swirl

    tcg: Add debug_info to JIT ELF image.

    rth7680 authored blueswirl committed
    This allows us to actually supply a function name in softmmu builds;
    gdb doesn't pick up the minimal symbol table otherwise.  Also add a
    bit of documentation and statically generate more of the ELF image.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  5. Richard Henderson Blue Swirl

    target-alpha: Use noreturn marker in helper.h.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  6. Richard Henderson Blue Swirl

    target-alpha: Make use of fp_status.flush_inputs_to_zero.

    rth7680 authored blueswirl committed
    This softfp feature post-dates the last major update to the Alpha
    fpu translation.  We can make use of this to eliminate at least
    one helper function that was performing this operation by hand.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  7. Richard Henderson Blue Swirl

    target-alpha: Move memory helpers to mem_helper.c.

    rth7680 authored blueswirl committed
    This completes the transition away from AREG0.  This patch must
    be last because it requires CONFIG_TCG_PASS_AREG0 set too.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  8. Richard Henderson Blue Swirl

    target-alpha: Move palcode support helpers to sys_helper.c.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  9. Richard Henderson Blue Swirl

    target-alpha: Move integer overflow helpers to int_helper.c.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  10. Richard Henderson Blue Swirl

    target-alpha: Move fpcr helpers from op_helper.c to helper.c.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  11. Richard Henderson Blue Swirl

    target-alpha: Move floating-point helpers to fpu_helper.c.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  12. Richard Henderson Blue Swirl

    target-alpha: Move exception helpers to helper.c.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  13. Richard Henderson Blue Swirl

    target-alpha: Move integer helpers to int_helper.c.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  14. Richard Henderson Blue Swirl

    alpha-linux-user: Initialize fpu to round-to-normal.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  15. Meador Inge Blue Swirl

    gdbserver: Don't send a GDB syscall until the system CPU is stopped

    meadori authored blueswirl committed
    Fix an issue where the GDB server implementation was sending GDB syscall
    requests while the system CPU was still running.  Syscall requests must
    be sent while the CPU is stopped otherwise replies from the GDB client
    might get dropped and the GDB server might be incorrectly transitioned
    into a 'RUN_STATE_PAUSED' state.
    
    Signed-off-by: Meador Inge <meadori@codesourcery.com>
    [PMM: trivial rebase, reinstated comma after last item in RSState enum]
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Reviewed-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  16. Blue Swirl

    Support utf8 chars in pod docs

    Michael Tokarev authored blueswirl committed
    We've at least one UTF8 char in the qemu texi doc:
    
     $ grep Tibor qemu-doc.texi
     by Tibor "TS" Schütz.
     $ man ./qemu.1 | grep Tibor
            by Tibor "TS" SchA~Xtz.
    
    This patch allows utf8 in man/pod docs.
    
    Initially it was split into two parts and sent on 2012-02-02.
    Resending it again (3rd time) now in merged form.  If any
    other generalizations of $(POD2MAN) are needed it can be done
    in a separate patch.  Current form of $(POD2MAN) is choosen
    to be able to easily change it if some implementation does
    not support utf8 or resulting output has issues with local
    man(1) program/macros.
    
    First, add @documentencoding in scripts/texi2pod.pl:
    
    Currently our texi2pod ignores @documentencoding even if it is set
    properly in *.texi files.  This results in a mojibake in documents
    generated from qemu.pod (which is generated from qemu-doc.texi by
    texi2pod), because the rest of the tools assumes ASCII encoding.
    
    This patch recognizes first @documentencoding in input and places
    it at the beginning of output as =encoding directive.
    
    Second, run pod2man with --utf8 option to enable utf8 in manpages:
    
    This option makes no difference for manpages which contains only
    ascii chars.  But for manpages with actual UTF8 characters (qemu
    docs contains these), this change allows to see real characters
    instead of mojibakes or substitutes.
    
    Signed-off-By: Michael Tokarev <mjt@tls.msk.ru>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  17. Richard Henderson Blue Swirl

    tcg: Use the GDB JIT debugging interface.

    rth7680 authored blueswirl committed
    This allows us to generate unwind info for the dynamicly generated
    code in the code_gen_buffer.  Only i386 is converted at this point.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  18. Gerd Hoffmann Blue Swirl

    fix screendump

    kraxel authored blueswirl committed
    Commit 45efb16 optimized a bit too
    much.  We can skip the vga_invalidate_display() in case no console
    switch happened because we don't need a full redraw then.  We can *not*
    skip vga_hw_update() though, because the screen content will be stale
    then in case nobody else calls vga_hw_update().
    
    Trigger: vga textmode with vnc display and no client connected.
    
    Reported-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Reviewed-by: Alon Levy <alevy@redhat.com>
    Tested-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  19. Stefan Weil Blue Swirl

    target-sparc: Add compiler attribute to some functions which don't re…

    stweil authored blueswirl committed
    …turn
    
    helper_raise_exception does not return, nor does do_unaligned_access.
    
    Cc: Blue Swirl <blauwirbel@gmail.com>
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  20. Stefan Weil Blue Swirl

    target-mips: Add compiler attribute to some functions which don't return

    stweil authored blueswirl committed
    helper_raise_exception_err does not return, nor do helper_raise_exception
    and do_unaligned_access.
    
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Reviewed-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  21. Stefan Weil Blue Swirl

    Add support for target helper functions which don't return

    stweil authored blueswirl committed
    Most functions which handle exceptions don't return.
    
    With a compiler attribute (added by QEMU_NORETURN),
    gcc can optimize the code.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Reviewed-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  22. Blue Swirl

    scripts: add gdb support script

    Avi Kivity authored blueswirl committed
    Add a script that enhances gdb to be aware of QEMU data structures.
    
    This patch adds a single gdb command, 'qemu mtree'.  The command is
    similar to the monitor's 'info mtree', except that it prints MemoryRegion
    addresses, and except for working from a core dump as well as a live instance.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Commits on Mar 19, 2012
  1. Merge remote-tracking branch 'sstabellini/saverestore-8' into staging

    Anthony Liguori authored
    * sstabellini/saverestore-8:
      xen: do not allocate RAM during INMIGRATE runstate
      xen mapcache: check if memory region has moved.
      xen: record physmap changes to xenstore
      Set runstate to INMIGRATE earlier
      Introduce "xen-save-devices-state"
      cirrus_vga: do not reset videoram
    
    Conflicts:
    	qapi-schema.json
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
  2. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    Anthony Liguori authored
    * stefanha/trivial-patches:
      qemu-ga: for w32, fix leaked handle ov.hEvent in ga_channel_write()
      ioapic: fix build with DEBUG_IOAPIC
      .gitignore: add qemu-bridge-helper and option rom build products
      cleanup obsolete typedef
      monitor: Remove unused bool field 'qapi' in mon_cmd_t struct
      ds1338: Add missing break statement
      vnc: Fix packed boolean struct members
      Remove type field in ModuleEntry as it's not used
  3. Merge remote-tracking branch 'spice/spice.v50' into staging

    Anthony Liguori authored
    * spice/spice.v50:
      spice: fix broken initialization
      hw/qxl.c: Fix compilation failures on 32 bit hosts
      qxl/qxl_render.c: add trace events
      qxl: switch qxl.c to trace-events
      qxl: init_pipe_signaling: exit on failure
      monitor: fix client_migrate_info error handling
      spice: set spice uuid and name
  4. Merge remote-tracking branch 'bonzini/scsi-next' into staging

    Anthony Liguori authored
    * bonzini/scsi-next:
      scsi: add get_dev_path
      virtio-scsi: call unregister_savevm properly
      scsi: copy serial number into VPD page 0x83
      scsi-cd: check ready condition before processing several commands
      get rid of CONFIG_VIRTIO_SCSI
  5. Merge remote-tracking branch 'qemu-kvm/memory/urgent' into staging

    Anthony Liguori authored
    * qemu-kvm/memory/urgent:
      exec: fix guest memory access for Xen
  6. sstabellini

    xen: do not allocate RAM during INMIGRATE runstate

    Anthony PERARD authored sstabellini committed
    Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  7. sstabellini

    xen mapcache: check if memory region has moved.

    Anthony PERARD authored sstabellini committed
    This patch changes the xen_map_cache behavior. Before trying to map a guest
    addr, mapcache will look into the list of range of address that have been moved
    (physmap/set_memory). There is currently one memory space like this, the vram,
    "moved" from were it's allocated to were the guest will look into.
    
    This help to have a succefull migration.
    
    Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  8. sstabellini

    xen: record physmap changes to xenstore

    sstabellini authored
    Write to xenstore any physmap changes so that the hypervisor can be
    aware of them.
    Read physmap changes from xenstore on boot.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  9. sstabellini

    Set runstate to INMIGRATE earlier

    sstabellini authored
    Set runstate to RUN_STATE_INMIGRATE as soon as we can on resume.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
  10. sstabellini

    Introduce "xen-save-devices-state"

    sstabellini authored
    - add an "is_ram" flag to SaveStateEntry;
    
    - register_savevm_live sets is_ram for live_savevm devices;
    
    - introduce a "xen-save-devices-state" QAPI command that can be used to save
    the state of all devices, but not the RAM or the block devices of the
    VM.
    
    Changes in v8:
    
    - rename save-devices-state to xen-save-devices-state.
    
    Changes in v7:
    
    - rename save_devices to save-devices-state.
    
    Changes in v6:
    
    - remove the is_ram parameter from register_savevm_live and sets is_ram
    if the device is a live_savevm device;
    
    - introduce save_devices as a QAPI command, write a better description
    for it;
    
    - fix CODING_STYLE;
    
    - introduce a new doc to explain the save format used by save_devices.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
  11. exec: fix guest memory access for Xen

    Anthony PERARD authored Avi Kivity committed
    In cpu_physical_memory_rw, a change has been introduced and qemu_get_ram_ptr is
    no longuer called with the ram addr we want to access, but only with the
    section address. This patch fixes this. (All other call to qemu_get_ram_ptr are
    already called with the right address.)
    
    This patch fixes Xen guest.
    
    Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>
Something went wrong with that request. Please try again.