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
07 Apr, 2009
15 commits
  • target-alpha: stop translation if too long ...
    8fcc55f9
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7027 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-07 21:44:52 +0000  
    Browse File »
  • Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity) ...
    9d1b494a
    The vga screen dump function updates last_width and last_height,
    but does not change the DisplaySurface that these variables describe.
    A consequent vga_draw_graphic() will therefore fail to resize the
    surface and crash.
    
    Fix by invalidating the display state after a screen dump, forcing
    vga_draw_graphic() to reallocate the DisplaySurface.
    
    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@7026 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 20:55:58 +0000  
    Browse Code »
  • Revert r6989 ...
    799e709b
    There is a much more elegant fix that will follow up after this commit.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7025 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 20:55:29 +0000  
    Browse Code »
  • tcg/tcg.h: fix a few typos ...
    3e00b3f5
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7024 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-07 19:57:24 +0000  
    Browse Dir »
  • Document some missing options in configure -h ...
    2981fa96
    Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7023 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-07 19:57:17 +0000  
    Browse Code »
  • vnc: Fix incorrect attempt to clear a flag ...
    3cded540
    In vnc.c in pixel_format_message, the code tries to clear the
    QEMU_ALLOCATED_FLAG from the client display surface, however
    it uses the wrong operator and ends up enabling all other
    flags. Most notably this enables the big endian flag and
    causes some chaos.
    
    Signed-off-by: Brian Kress <kressb@moose.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7022 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-07 19:57:09 +0000  
    Browse Code »
  • native preadv/pwritev support (Christoph Hellwig) ...
    ceb42de8
    This ties up the preadv/pwritev syscalls to qemu if they are declared in
    unistd.h.  This is the case currently on at least NetBSD and OpenBSD and
    will hopefully soon be the case on Linux.
    
    Thanks to Blue Swirl and Gerd Hoffmann for the configure autodetection
    of preadv/pwritev.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7021 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 18:43:28 +0000  
    Browse Code »
  • push down vector linearization to posix-aio-compat.c (Christoph Hellwig) ...
    f141eafe
    Make all AIO requests vectored and defer linearization until the actual
    I/O thread.  This prepares for using native preadv/pwritev.
    
    Also enables asynchronous direct I/O by handling that case in the I/O thread.
    
    Qcow and qcow2 propably want to be adopted to directly deal with multi-segment
    requests, but that can be implemented later.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7020 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 18:43:24 +0000  
    Browse File »
  • remove bdrv_aio_read/bdrv_aio_write (Christoph Hellwig) ...
    c87c0672
    Always use the vectored APIs to reduce code churn once we switch the BlockDriver
    API to be vectored.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7019 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 18:43:20 +0000  
    Browse Code »
  • more BlockDriver C99 initializers (Christoph Hellwig) ...
    f1b2f712
    Looks like the two bdrv_raw instances were missed last time.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7018 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 18:23:51 +0000  
    Browse Code »
  • Don't try to return result from a void function (spotted by Sparse) ...
    7442511c
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7017 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-07 18:22:35 +0000  
    Browse Code »
  • Fix a few Sparse warnings ...
    856ae5c3
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7016 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-07 17:57:09 +0000  
    Browse Code »
  • Update Changelog to reflect 0.10.2 release ...
    669b92ed
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7015 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 02:19:41 +0000  
    Browse Code »
  • Remove potentially offensive humor. ...
    1cb499fa
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7014 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2009-04-07 02:10:16 +0000  
    Browse Code »
  • Fix find_device_type() to correctly identify floppy disk devices; (Luca Tettamanti) ...
    3060cd14
    they are reported as DRIVE_REMOVABLE by win32.
    
    Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7010 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-07 01:24:53 +0000  
    Browse Dir »

06 Apr, 2009
4 commits
  • target-mips: use the TCG_CALL_PURE and TCG_CALL_CONST for some helpers ...
    e7a6965b
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7009 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-06 12:34:07 +0000  
    Browse Code »
  • tcg: add a CONST flag to TCG helpers ...
    b9c18f56
    A const function only reads its arguments and does not use TCG
    globals variables. Hence a call to such a function does not
    save TCG globals variabes back to their canonical location.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7008 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-06 12:33:59 +0000  
    Browse Dir »
  • tcg: improve comment about pure functions ...
    34d5a9ff
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7007 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-06 12:33:51 +0000  
    Browse Code »
  • Remove WIN32 guard around -k ...
    c20d7afb
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7006 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-06 00:35:08 +0000  
    Browse Code »

05 Apr, 2009
21 commits
  • Add new command line option -singlestep for tcg single stepping. ...
    1b530a6d
    This replaces a compile time option for some targets and adds
    this feature to targets which did not have a compile time option.
    
    Add monitor command to enable or disable single step mode.
    
    Modify monitor command "info status" to display single step mode.
    
    Signed-off-by: Stefan Weil <weil@mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7004 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-05 20:08:59 +0000  
    Browse Code »
  • tcg/x86_64: optimize register allocation order ...
    79d342dc
    The beginning of the register allocation order list on the TCG x86_64
    target matches the list of clobbered registers. This means that when an
    helper is called, there is almost always clobbered registers that have
    to be spilled.
    
    The same way register %rsi and %rdi are at the top of the register
    allocation order list, while they can't be used for load/store
    operations. This means the data and/or address registers are very often
    %rsi and %rdi, and their values have to be spilled, and then moved back
    to another register.
    
    This patches changes to the allocation order to avoid those effects.
    It results in a 8% gain speed in qemu-x86_64 to compress a bzip2 file,
    and a 6% gain in qemu-system-mips64 to compile a small application.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7003 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-05 20:08:50 +0000  
    Browse Dir »
  • stop dirty tracking just at the end of migration (Glauber Costa) ...
    8215e914
    If there is still work to do, it is not safe to assume we
    can end the dirty tracking. Specifically, kvm can update the dirty
    tracking log inside ram_save_block(), leaving pages still out of sync
    if we go with the current code.
    
    Based on a patch by Yaniv Kamay
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6999 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:30:55 +0000  
    Browse File »
  • create qemu_file_set_error (Glauber Costa) ...
    4dabe248
    This is mainly for consistency, since we don't want
    anything outside of savevm setting it explicitly. There
    are current no users of that in qemu tree, but there
    are potential candidates on kvm-userspace. And avi
    is a nice guy, let's be nice with him.
    
    Based on a patch by Yaniv Kamay
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6998 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:30:51 +0000  
    Browse File »
  • propagate error on failed completion (Glauber Costa) ...
    b161d123
    migrate_fd_put_ready() calls qemu_savevm_state_complete(),
    but the later can fail.
    
    If it happens, re-start the vm and propagate the error up
    
    Based on a patch by Yaniv Kamay
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6997 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:30:33 +0000  
    Browse Code »
  • Disable qemu-io on Win32 ...
    3dd1f8ef
    It breaks the build.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6996 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:29:26 +0000  
    Browse Code »
  • Add files not included in previous commit. ...
    e3aff4f6
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6995 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:14:04 +0000  
    Browse File »
  • Fix savevm after BDRV_FILE size enforcement ...
    178e08a5
    We now enforce that you cannot write beyond the end of a non-growable file.
    qcow2 files are not growable but we rely on them being growable to do
    savevm/loadvm.  Temporarily allow them to be growable by introducing a new
    API specifically for savevm read/write operations.
    
    Reported-by: malc
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6994 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:10:55 +0000  
    Browse File »
  • Fix the build for --disable-aio ...
    8185d2c9
    This was reported by malc.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6993 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 19:10:50 +0000  
    Browse Dir »
  • gdbstub: Rework configuration via command line and monitor (Jan Kiszka) ...
    59030a8c
    Introduce a more canonical gdbstub configuration (system emulation only)
    via the new switch '-gdb dev'. Keep '-s' as shorthand for
    '-gdb tcp::1234'. Use the same syntax also for the corresponding monitor
    command 'gdbserver'. Its default remains to listen on TCP port 1234.
    
    Changes in v4:
     - Rebased over new command line switches meta file
    
    Changes in v3:
     - Fix documentation
    
    Changes in v2:
     - Support for pipe-based like to gdb (target remote | qemu -gdb stdio)
     - Properly update the qemu-doc
    
    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@6992 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 18:43:41 +0000  
    Browse Code »
  • Make `-icount' help fit 80 chars screen width (Robert Riebisch) ...
    bc14ca24
    On Windows default screen width for the command prompt (A.K.A. "DOS
    window") is 80 chars. `-icount' help is 87 chars wide. So make it fit.
    
    Signed-off-by: Robert Riebisch <rr@bttr-software.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6991 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 18:43:37 +0000  
    Browse Code »
  • qemu-io - an I/O path exerciser (Christoph Hellwig) ...
    0a8e1acd
    This patch adds a new qemu-io tool that links against the block layer and
    image formats and allow to exercise them without needing a guest image.
    It is inspired by the xfs_io tool which does the same for plain file I/O.
    In fact the libxcmd library which is the backend of xfs_io is reused by this
    tool in a limited fashing (cmd.[ch] files).
    
    This version tests out most of the plain block I/O commands with the
    most notable absent commands beeing snapshot handling and real aio.
    
    This tool is the basis of the I/O path test suite I'm working on right now.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6990 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 18:41:23 +0000  
    Browse Code »
  • Fix display breakage when resizing the screen (v2) (Avi Kivity) ...
    9586fefe
    When the vga resolution changes, a new display surface is not allocated
    immediately; instead that is deferred until the next update.  However,
    if we're running without a display client attached, that won't happen
    and the next bitblt is likely to cause a segfault by overflowing the
    display surface.
    
    Fix by reallocating the display immediately when the resolution changes.
    
    Tested with (Windows|Linux) x (cirrus|std) x (curses|sdl).
    
    Changes from v1:
     - fix segfault when switching virtual consoles with curses
    
    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@6989 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 18:41:18 +0000  
    Browse Code »
  • Fix some win32 compile warnings ...
    b9e82a59
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6984 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-05 18:03:31 +0000  
    Browse File »
  • Make binary stripping conditional (Riku Voipio) ...
    1625af87
    Currently qemu unconditionally strips binaries on install. This
    is a problem for packagers who may want to store/ship debug symbols
    of compiled packages for debugging purposes.
    
    Keep stripping as default for the oldtimers and add a
     --disable-strip flag to override.
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6983 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:41:02 +0000  
    Browse Code »
  • qcow2: fix image creation for large, > ~2TB, images (Chris Wright) ...
    2d2431f0
    When creating large disk images w/ qcow2 format, qcow2_create is hard
    coded to creating a single refcount block.  This is insufficient for
    large images, and will cause qemu-img to segfault as it walks off the
    end of the refcount block.  Keep track of the space needed during image
    create and create proper number of refcount blocks accordingly.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=491943
    
    Signed-off-by: Chris Wright <chrisw@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6982 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:40:58 +0000  
    Browse Code »
  • pci_add storage: fix error handling for 'if' parameter (Eduardo Habkost) ...
    8707ecca
    This fixes:
    
     - The error message to show the actual if= argument value. It was showing
       the filename instead, because 'buf' is reaused on the filename parsing.
     - A bug that makes a block device to be created even when an unsupported if= arg
       is passed to pci_add.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6981 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:40:55 +0000  
    Browse Code »
  • build system: clean qemu-options.texi and gdbstub-xml.c (Jan Kiszka) ...
    016c62c8
    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@6980 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:40:50 +0000  
    Browse Code »
  • build system: silent generation of doc files and qemu-options.h (Jan Kiszka) ...
    0d00e563
    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@6979 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:40:46 +0000  
    Browse File »
  • Add host_device support to qemu-img. (Nolan Leake) ...
    93c65b47
    This patch allows the use a host_device as the destination for "qemu-img
    convert".
    
    I added a ->bdrv_create function host_device.  It merely verifies that
    the device exists and is large enough.
    
    A check is needed in the qemu-img convert loop to ensure that we write
    out all 0 sectors to the host_device.  Otherwise they end up with stale
    garbage where all zero sectors were expected.
    
    I also made the check against bdrv_is_allocated enabled for everything
    _except_ host devices, since there is no point in making the block
    backend write a bunch of zeros just so that we can memcmp them
    immediately afterwards.  Host devices can't benefit from this because
    there is no way to differentiate between a sector being unallocated
    because it was never written, or because it was written with all zeros
    and then made a trip through qemu-img convert.
    
    Finally, there is an unrelated fix for a typo in the error message
    printed if the destination device does not support ->bdrv_create.
    
    Signed-off-by: Nolan Leake <nolan <at> sigbus.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6978 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:40:43 +0000  
    Browse Code »
  • Fix (at least one cause of) qcow2 corruption. (Nolan Leake) ...
    f8de1660
    qcow2's get_cluster_offset() scans forward in the l2 table to find other
    clusters that have the same allocation status as the first cluster.
    This is used by (among others) qcow_is_allocated().
    
    Unfortunately, it was not checking to be sure that it didn't fall off
    the end of the l2 table.  This patch adds that check.
    
    The symptom that motivated me to look into this was that
    bdrv_is_allocated() was returning false when there was in fact data
    there.  This is one of many ways this bug could lead to data corruption.
    
    I checked the other place that scans for consecutive unallocated blocks
    (alloc_cluster_offset()) and it appears to be OK:
        nb_clusters = MIN(nb_clusters, s->l2_size - l2_index);
    appears to prevent the same problem from occurring.
    
    Signed-off-by: Nolan Leake <nolan <at> sigbus.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6977 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-05 17:40:38 +0000  
    Browse Dir »