Sign in

gwj / at91sam9263 · Commits

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • Commits 8,232
  • Compare
  • Branches 2
  • Tags 0
  • at91sam9263
20 Mar, 2009
8 commits
  • Convert vectored aio emulation to use a dedicated pool (Avi Kivity) ...
    c07a9008
    This allows us to remove a hack in the vectored aio cancellation code.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6871 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 18:26:03 +0000  
    Browse Code »
  • Refactor aio callback allocation to use an aiocb pool (Avi Kivity) ...
    6bbff9a0
    Move the AIOCB allocation code to use a dedicate structure, AIOPool.  AIOCB
    specific information, such as the AIOCB size and cancellation routine, is
    moved into the pool.
    
    At present, there is exactly one pool per block format driver, maintaining
    the status quo.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6870 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 18:25:59 +0000  
    Browse File »
  • virtio: Allow guest to defer VIRTIO_F_NOTIFY_ON_EMPTY (Alex Williamson) ...
    97b83deb
    There may be cases where the guest does not want the avail queue
    interrupt, even when it's empty.  For the virtio-net case, the
    guest may use a different buffering scheme or decide polling for
    used buffers is more efficient.  This can be accomplished by simply
    checking for whether the guest has acknowledged the existing notify
    on empty flag.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6865 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 16:13:50 +0000  
    Browse Dir »
  • e1000: Fix RX descriptor low threshold interrupt logic (Alex Williamson) ...
    bf16cc8f
    The RXDMT0 interrupt is supposed to fire when the number of free
    RX descriptors drops to some fraction of the total descriptors.
    However in practice, it seems like we're adding this interrupt
    cause on every RX.  Fix the logic to treat (tail - head) as the
    number of free entries rather than the number of used entries.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6864 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 16:13:47 +0000  
    Browse Code »
  • x86: Add NULL check to lsl (Jan Kiszka) ...
    dc1ded53
    According to the Intel specs, lsl performs a check against NULL for the
    provided selector, just like lar does. helper_lar() includes the
    corresponding code, helper_lsl() was lacking it so far.
    
    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@6863 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 16:13:41 +0000  
    Browse Dir »
  • vnc: throttle screen updates. (Gerd Hoffmann) ...
    c522d0e2
    This patch makes the vnc server code skip screen refreshes in case
    there is data in the output buffer.  This reduces the refresh rate to
    throttle the bandwidth needed in case the network link is saturated.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6862 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 15:59:24 +0000  
    Browse Code »
  • vnc: fix printf warnings showing up with VNC_DEBUG enabled. (Gerd Hoffmann) ...
    23decc87
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6861 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 15:59:18 +0000  
    Browse Code »
  • vnc: cleanup surface handling, fix screen corruption bug. (Gerd Hoffmann) ...
    6baebed7
    This patch killes the old_data hack in the qemu server and replaces
    it with a clean separation of the guest-visible display surface and
    the vnc server display surface.  Both guest and server surface have
    their own dirty bitmap for tracking screen updates.
    
    Workflow is this:
    
    (1) The guest writes to the guest surface.  With shared buffers being
        active the guest writes are directly visible to the vnc server code.
        Note that this may happen in parallel to the vnc server code running
        (today only in xenfb, once we have vcpu threads in qemu also for
        other display adapters).
    
    (2) vnc_update() callback tags the specified area in the guest dirty
        map.
    
    (3) vnc_update_client() will first walk through the guest dirty map.  It
        will compare guest and server surface for all regions tagged dirty
        and in case the screen content really did change the server surface
        and dirty map are updated.
        Note: old code used old_data in a simliar way, so this does *not*
        introduce an extra memcpy.
    
    (4) Then vnc_update_cient() will send the updates to the vnc client
        using the server surface and dirty map.
        Note: old code used the guest-visible surface instead, causing
        screen corruption in case of guest screen updates running in
        parallel.
    
    The separate dirty bitmap also has the nice effect that forced screen
    updates can be done cleanly by simply tagging the area in both guest and
    server dirty map.  The old, hackish way was memset(old_data, 42, size)
    to trick the code checking for screen changes.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6860 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-20 15:59:14 +0000  
    Browse Code »

19 Mar, 2009
1 commit
  • Remove dead code ...
    a667866b
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6859 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-03-19 02:14:10 +0000  
    Browse Code »

17 Mar, 2009
2 commits
  • Fix VGA issue introduced by r6349 ...
    aba35a6c
    Thanks to Robert Riebisch for bisection
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6858 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-03-17 16:05:50 +0000  
    Browse Code »
  • Fix ARM quadword VDUP (core register). ...
    cbbccffc
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6857 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-03-17 12:19:58 +0000  
    Browse File »

16 Mar, 2009
1 commit
  • Delete some unused macros detected with -Wp,-Wunused-macros use ...
    d78f3995
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6856 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-16 16:33:01 +0000  
    Browse Code »

13 Mar, 2009
23 commits
  • Make the ELF loader aware of backwards compatibility ...
    7f70c937
    Most 64 bit architectures I'm aware of support running 32 bit code
    of the same architecture as well.
    
    So x86_64 can run i386 code easily and ppc64 can run ppc code.
    
    Unfortunately, the current checks are pretty strict. So you can only
    load e.g. an x86_64 elf binary on qemu-system-x86_64, but no i386 one.
    
    This can get really annoying. I first encountered this issue with
    my multiboot patch, where qemu-system-x86_64 was unable to load an
    i386 elf binary because the elf loader rejected it.
    
    The same thing happened again on PPC64 now. The firmware we're loading
    is a PPC32 elf binary, as it's shared with PPC32. But the platform is
    PPC64.
    
    Right now there is a hack for this in the ppc cpu.h definition, that
    simply sets the type to PPC32 in system emulation mode. While that
    works fine for the firmware, it's no good if you also want to load a
    PPC64 kernel with -kernel.
    
    So in order to solve this mess, I figured the easiest way is to make
    the elf loader aware of platforms that are backwards compatible. For
    now I was only sure that x86_64 does i386 and ppc64 does ppc32, but
    maybe there are other combinations too.
    
    This patch is a prerequisite for having a working -kernel option on
    PPC64.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6855 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-13 21:16:24 +0000  
    Browse Code »
  • temporarily disable logging around pci config writes (Avi Kivity) ...
    92a3ecda
    A pci config write may remap the vga linear frame buffer, confusing the
    memory slot dirty logging logic.
    
    Fixed Windows with -vga std.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Sigend-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6852 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 18:10:13 +0000  
    Browse Code »
  • stop dirty logging while updating cirrus bank memory (Glauber Costa) ...
    8a93e519
    Otherwise, slot tracking gets confused.
    
    This fixes a screen corruption bug with Ubuntu guest installation.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6851 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 18:09:59 +0000  
    Browse Code »
  • Add missing file ...
    2e7d200b
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6850 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 16:27:31 +0000  
    Browse Code »
  • Update changelog ...
    82e52676
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6849 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 16:22:41 +0000  
    Browse File »
  • qemu:virtio-net: Check return size on the correct sg list (Alex Williamson) ...
    c6bb9a32
    When checking that the size of the control virtqueue return field
    is sufficient, use the correct sg list.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6845 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:04:02 +0000  
    Browse Code »
  • make qemu_announce_self handle non contiguous net tables (Marcelo Tosatti) ...
    3450df30
    
    With hotplug nd_table might contain holes.
    
    Noticed by Eduardo Habkost.
    
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6844 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:03:58 +0000  
    Browse Code »
  • Replace asprintf() with snprintf() in vnc.c ("Daniel P. Berrange") ...
    457772e6
    As previously discussed, this patch removes the non-portable use of
    asprintf(), replacing it with malloc+snprintf instead
    
       Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6843 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:03:27 +0000  
    Browse Code »
  • monitor: Provide empty command as final history entry (Jan Kiszka) ...
    5b0d2727
    Provide an empty line as last entry in command line history, just like
    bash e.g. does.
    
    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@6842 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:28 +0000  
    Browse Code »
  • Add and use remaining #defines for PCI device IDs (Stuart Brady) ...
    a770dc7e
    This patch adds and uses #defines for the remaining hardcoded PCI
    device IDs.  It also moves definitions taken from linux/pci_ids.h
    into a separate header (hw/pci_ids.h), removes the 'RTL' from
    PCI_DEVICE_ID_REALTEK_RTL8029, and renames PCI_DEVICE_ID_FSL_E500
    to PCI_DEVICE_ID_MPC8533E to match Linux's definition.
    
    Changes in v2:
     * Don't use C99-style comments
     * Move definitions from linux/pci_ids.h into a separate header
     * Rename PCI_DEVICE_ID_FSL_E500 to PCI_DEVICE_ID_MPC8533E
    
    Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6841 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:23 +0000  
    Browse Code »
  • remove is_graphic_console from vga.c (Stefano Stabellini) ...
    b8c18e4c
    Hi all,
    since vga_draw_graphic is only called by vga_hw_update when the console
    associated with the graphic card is active, we don't need to check if
    the current console is active using is_graphic_console.
    
    I suspect I introduced these checks when the console switching mechanism
    didn't work as it does now.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6840 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:18 +0000  
    Browse Code »
  • DisplayAllocator interface (Stefano Stabellini) ...
    7b5d76da
    Hi all,
    this patch adds a DisplayAllocator interface that allows display
    frontends (sdl in particular) to provide a preallocated display buffer
    for the graphical backend to use.
    
    Whenever a graphical backend cannot use
    qemu_create_displaysurface_from because its own internal pixel format
    cannot be exported directly (text mode or graphical mode with color
    depth 8 or 24), it creates another display buffer in memory using
    qemu_create_displaysurface and does the conversion.
    This new buffer needs to be blitted into the sdl surface buffer every time
    we need to update portions of the screen.
    We can avoid this using the DisplayAllocator interace: sdl provides its
    own implementation of qemu_create_displaysurface, giving back the sdl
    surface buffer directly (as we used to do before the DisplayState
    changes).
    Since the buffer returned by sdl could be in bgr format we need to put
    back in the handlers of that case.
    
    This approach is good if the two following conditions are true:
    
    1) the sdl surface is a software surface that resides in main memory;
    
    2) the host display color depth is either 16 or 32 bpp.
    
    If first condition is false we can have bad performances using sdl
    and vnc together.
    If the second condition is false performances are certainly not going to
    improve but they shouldn't get worse either.
    
    The first condition is always true, at least on linux/X11 systems; but I
    believe is true also on other platforms.
    The second condition is true in the vast majority of the cases.
    
    This patch should also have the good side effect of solving the sdl
    2D slowness malc was reporting on MacOS, because SDL_BlitSurface is not
    going to be called anymore when the guest is in text mode or 24bpp.
    However the root problem is still present so I suspect we may
    still see some slowness on MacOS when the guest is in 32 or 16 bpp.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6839 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:13 +0000  
    Browse File »
  • tcg/x86_64: add bswap16_i{32,64} and bswap32_i64 ops ...
    86dbdd40
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6838 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:55 +0000  
    Browse Dir »
  • tcg/x86: add bswap16_i32 ops ...
    5d40cd63
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6837 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:49 +0000  
    Browse Code »
  • target-i386: use the new bswap* TCG ops ...
    8777643e
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6836 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:41 +0000  
    Browse Code »
  • target-ppc: use the new bswap* TCG ops ...
    fa3966a3
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6835 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:34 +0000  
    Browse Code »
  • tcg: update README wrt recent bswap changes ...
    4ad4ce16
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6834 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:26 +0000  
    Browse Dir »
  • tcg: add _tl aliases to bswap16/32/64 TCG ops ...
    911d79ba
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6833 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:19 +0000  
    Browse Code »
  • tcg: add bswap16_i64 and bswap32_i64 TCG ops ...
    9a5c57fd
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6832 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:12 +0000  
    Browse Dir »
  • tcg: optimize tcg_gen_bswap16_i32 ...
    dfa1a3f1
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6831 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:03 +0000  
    Browse Dir »
  • tcg: allow bswap16_i32 to be implemented by TCG backends ...
    84aafb06
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6830 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:34:56 +0000  
    Browse File »
  • tcg: rename bswap_i32/i64 functions ...
    66896cb8
    Rename bswap_i32 into bswap32_i32 and bswap_i64 into bswap64_i64
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6829 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:34:48 +0000  
    Browse File »
  • Fix regression introduced by r6824 ...
    537a1d4b
    The changes introduced by r6824 broke a subtle, and admittedly obscure, aspect
    of the block API.  While bdrv_{pread,pwrite} return the number of bytes read
    or written upon success, bdrv_{read,write} returns a zero upon success.
    
    When using bdrv_pread for bdrv_read, special care must be taken to handle this
    case.
    
    This fixes certain guest images (notably linux-0.2 provided on the qemu
    website).
    
    Reported-by: malc <av1474@comtv.ru>
    Reported-by: Herve Poussineau <hpoussin@reactos.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6828 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 03:12:03 +0000  
    Browse Code »

12 Mar, 2009
5 commits
  • From 67e94ae77f8de4d5d822917f1723cefa7ebfb64d Mon Sep 17 00:00:00 2001 ...
    610626af
    From: Xiantao Zhang <xiantao.zhang@intel.com>
    Date: Tue, 3 Mar 2009 13:33:13 +0800
    Subject: [PATCH] Split ioapic logic from the current apic.
    
    Add a new ioapic.c to hold ioapic's logic, and also
    make it work for ia64.
    
    Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
    ---
     Makefile.target |    2 +-
     hw/apic.c       |  237 +++----------------------------------------------
     hw/ioapic.c     |  263 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
     hw/pc.h         |    5 +-
     4 files changed, 281 insertions(+), 226 deletions(-)
     create mode 100644 hw/ioapic.c
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6827 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 20:25:12 +0000  
    Browse Code »
  • monitor: sync from kvm state before generating output (Jan Kiszka) ...
    d154615d
    Ported from the KVM tree: Synchronize the qemu cpu state with kvm's
    before invoking various monitor info commands (like 'info registers').
    
    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@6826 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 20:12:57 +0000  
    Browse Code »
  • Guest debugging support for KVM (Jan Kiszka) ...
    e22a25c9
    This is a backport of the guest debugging support for the KVM
    accelerator that is now part of the KVM tree. It implements the reworked
    KVM kernel API for guest debugging (KVM_CAP_SET_GUEST_DEBUG) which is
    not yet part of any mainline kernel but will probably be 2.6.30 stuff.
    So far supported is x86, but PPC is expected to catch up soon.
    
    Core features are:
     - unlimited soft-breakpoints via code patching
     - hardware-assisted x86 breakpoints and watchpoints
    
    Changes in this version:
     - use generic hook cpu_synchronize_state to transfer registers between
       user space and kvm
     - push kvm_sw_breakpoints into KVMState
    
    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@6825 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 20:12:48 +0000  
    Browse Code »
  • Drop internal bdrv_pread()/bdrv_pwrite() APIs (Avi Kivity) ...
    eda578e5
    Now that scsi generic no longer uses bdrv_pread() and bdrv_pwrite(), we can
    drop the corresponding internal APIs, which overlap bdrv_read()/bdrv_write()
    and, being byte oriented, are unnatural for a block device.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6824 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 19:57:16 +0000  
    Browse Dir »
  • Add internal scsi generic block API (Avi Kivity) ...
    04eeb8b6
    Add an internal API for the generic block layer to send scsi generic commands
    to block format driver.  This means block format drivers no longer need
    to consider overloaded nb_sectors parameters.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6823 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 19:57:12 +0000  
    Browse File »