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
13 Oct, 2008
10 commits
  • linux-user: fix and cleanup IPCOP_msg* ipc calls handling ...
    1c54ff97
    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5483 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-13 21:08:44 +0000  
    Browse Dir »
  • open() can also return EPERM for O_RDWR on a readonly device ...
    a0a83536
    Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5482 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-13 21:08:34 +0000  
    Browse Code »
  • FreeBSD also has clock_gettime ...
    60759371
    Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5481 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-13 21:08:25 +0000  
    Browse Code »
  • linux-user: fix getdents* syscalls ...
    6556a833
    glibc's structs dirent and dirent64 is different from in-kernel dirent
    and dirent64. Kernel headers doesn't provide structs dirent(64) any
    more. So we should add it to qemu headers.
    
    To avoid conflict with glibc it called struct linux_dirent(64).
    
    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5480 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-13 21:08:17 +0000  
    Browse Dir »
  • linux-user: Add readahead syscall ...
    2054ac9b
    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5479 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-13 21:08:07 +0000  
    Browse Dir »
  • Introduce TCP live migration protocol ...
    34c9dd8e
    This patch introduces a tcp protocol for live migration.  It can be used as
    follows:
    
    qemu-system-x86_64 -hda ~/images/linux-test.img -monitor stdio
     <vm runs for a while>
    (qemu) migrate tcp:localhost:1025
    
    On the same system:
    
    qemu-system-x86_64 -hda ~/images/linux-test.img -incoming 
    tcp:localhost:1025
    
    The monitor can be interacted with while waiting for an incoming live 
    migration.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5478 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-13 03:14:31 +0000  
    Browse Code »
  • Introduce ethernet announcement function. ...
    210f41ba
    This patch adds an ethernet announce function that will minimize downtime
    when doing a live migration.  This code originates from KVM.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5477 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-13 03:13:12 +0000  
    Browse File »
  • Introduce UI for live migration ...
    5bb7910a
    This patch introduces a command line parameter and monitor command for starting
    a live migration.  The next patch will provide an example of how to use these
    parameters.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5476 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-13 03:12:02 +0000  
    Browse File »
  • Introduce a buffered file wrapper for QEMUFile ...
    39b65c2e
    This patch introduces a buffered QEMUFile wrapper.  This allows QEMUFile's to be
    rate limited.  It also makes it easier to implement a QEMUFile that is
    asynchronous since the current QEMUFile API requires that all reads and writes
    be synchronous.
    
    The only real non-obvious part of the API is the "frozen" concept.  If the
    backend returns EAGAIN, the QEMUFile is said to be "frozen".  This means no
    additional output will be sent to the backend until the file is unfrozen.
    qemu_file_put_notify can be used to unfreeze a frozen file.
    
    A synchronous interface is also provided to wait for an unfreeze event.  This is
    used during the final part of live migration when the VM is no longer running.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5475 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-13 03:10:22 +0000  
    Browse File »
  • Fix some issues with QEMUFile ...
    871d2f07
    This patch allows QEMUFile's read and write operations to return 
    negative error codes.  This is necessary to detect things like closed 
    streams during live migration.
    
    It also removes unused code for QEMUFileFD write path.  Finally, it 
    makes sure to avoid attempting to flush an output buffer if the file
    is only being used for input.  This was spotted by Uri Lublin.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5474 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-13 03:07:56 +0000  
    Browse Code »

12 Oct, 2008
11 commits
  • SH4: Implement MOVUA.L ...
    7526aa2d
     * target-sh4/translate.c (_decode_opc): Implement
       MOVUA.L.
    
    (Vladimir Prus)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5473 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 23:32:59 +0000  
    Browse Dir »
  • SH4: fix single-stepping ...
    bdbf22e6
    * target-sh/translate.c (gen_intermediate_code_internal): If
      singlestep is enabled, update PC before stopping.
    
    (Vladimir Prus)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5472 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 23:32:48 +0000  
    Browse Dir »
  • SH4: Fix swap.b ...
    c69e3264
    The SH4 manual documents the swap.b instruction as follows:
    
            SWAP.B Rm,Rn
                    Rm → swap lower 2 bytes → Rn
    
    Current QEMU code, in addition to the above, also clears the high
    16 bits. The immediate breakage I saw is that htonl function applied
    to  netmask of 255.255.255.0 gives 0, which breaks all networking.
    
    (Vladimir Prus)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5471 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 23:32:40 +0000  
    Browse Dir »
  • Make sure to initialize fd_sets in aio.c ...
    f71903d0
    This was spotted by valgrind.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5470 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-12 21:19:57 +0000  
    Browse Code »
  • hw/apic.c: use functions from host-utils.h ...
    bb7e7293
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5469 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 20:16:03 +0000  
    Browse File »
  • COPYING: update from FSF ...
    a013cc65
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5468 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 17:54:42 +0000  
    Browse Code »
  • Define macro QEMU_GNUC_PREREQ and use it ...
    bad5b1ec
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5467 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 16:15:04 +0000  
    Browse Code »
  • Only use __builtin_* with GCC >= 3.4 ...
    5b7ada46
    Fix gcc 3.3 builds, broken in revision 5465.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5466 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 11:44:36 +0000  
    Browse Code »
  • hw/apic.c: use __builtin funtions instead of assembly code ...
    e95f5491
    Suggested by malc.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5465 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 00:53:17 +0000  
    Browse Code »
  • Optimize some host-utils function with gcc builtins ...
    7d019980
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5464 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 00:53:08 +0000  
    Browse File »
  • Get rid of sys/poll.h ...
    bc7b5f87
    (C.W. Betts)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5463 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-10-12 00:52:58 +0000  
    Browse Code »

11 Oct, 2008
9 commits
  • CRIS: Initialize the arch version preg to v32. ...
    a855593c
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5462 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-11 19:36:17 +0000  
    Browse Dir »
  • CRIS: Handle GDB writes to pregs. ...
    d7b6967a
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5461 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-11 19:32:21 +0000  
    Browse Code »
  • Add feature_to_c.sh. ...
    b2cd75b0
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5460 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2008-10-11 18:23:22 +0000  
    Browse File »
  • Add GDB XML register description support. ...
    56aebc89
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5459 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2008-10-11 17:55:29 +0000  
    Browse Code »
  • Fix some debugging mistakes/leftovers ...
    1792f286
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5458 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-10-11 17:37:25 +0000  
    Browse Dir »
  • Use the adequate CFLAGS for confiugure tests. ...
    17e1592d
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5457 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-10-11 12:00:42 +0000  
    Browse Code »
  • Add a configure check for zlib (Ryota OZAKI). ...
    ac62922e
    This patch makes configure check zlib devel files installed.
    Current configure doesn't check that, so make will fail if they
    are not installed.
    
    Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5456 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-10-11 09:56:04 +0000  
    Browse Code »
  • Correct SCSI error reporting (Laurent Vivier) ...
    22864256
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5455 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-10-11 09:33:03 +0000  
    Browse Dir »
  • Increase write buffer size in pflash emulation (Thomas Petazzoni). ...
    71fb2348
    The current flash emulation code advertises a write buffer size of 16
    bytes (1 << 4, according to offset 0x2A of the CFI table). This is
    very small compared to normal write buffer sizes, and makes the
    process of writing to the flash very slow (at least from U-Boot).
    
    This patch increases this size to 2048 bytes. Except the modification
    of the CFI table, the only other required modification is to use
    "value" instead of "cmd" to set pfl->counter, because cmd is truncated
    to the 8 lower bits of value, while the number of bytes for a write
    can now be greater than 255 bytes.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5454 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-10-11 09:19:57 +0000  
    Browse File »

09 Oct, 2008
2 commits
  • Update (thanks to Edgar, Thiemo, malc, Paul, Laurent and Andrzej) ...
    998a0501
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5453 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-10-09 18:52:04 +0000  
    Browse File »
  • Fix IDE DIAGNOSE for packet devices (Vincent Sanders) ...
    33256a25
    The DIAGNOSE command in the qemu IDE implementation has an error when
    use dfor packet devices. 
    
    The status register value is dependant on the drive being a packet
    device or not, this patch corrects the returned status.
    
    From the ATA/PI specification (V6 draft):
    
    "If the device implements the PACKET command feature set, the device
    SHALL clear bits 6,5,4,3,2 and 0 in the Status register to zero."
    
    A selection of physical devices have been checked and do conform to
    the specifications behaviour.
    
    Signed-off-by: Vincent Sanders <vince@simtec.co.uk>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5452 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-09 14:19:34 +0000  
    Browse File »

08 Oct, 2008
5 commits
  • Fix IO performance regression in sparc ...
    9e472e10
    Replace signalfd with signal handler/pipe.  There is no way to interrupt
    the CPU execution loop when a file descriptor becomes readable.  This
    results in a large performance regression in sparc emulation during
    bootup.
       
    This patch switches us to signal handler/pipe which was originally
    suggested by Ian Jackson.  The signal handler lets us interrupt the
    CPU emulation loop while the write to a pipe lets us avoid the
    select/signal race condition.
        
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5451 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-08 19:50:24 +0000  
    Browse Code »
  • CRIS: linux-user signals dont need ERP compensation after break anymore. ...
    235262cf
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5450 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-08 14:39:08 +0000  
    Browse Code »
  • CRIS: linux-user ERP compensation not needed anymore. ...
    a9fc4a78
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5449 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-08 14:26:58 +0000  
    Browse Dir »
  • CRIS: Partial EXS reg support and fixes for SPC. ...
    cddffe37
    * Add partial support for the EXS (exception status) register.
    * Update SPC after each singlestep exception.
    * Remove special treatment of break 8.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5448 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-08 14:22:17 +0000  
    Browse Code »
  • CRIS: Correct typos. ...
    dd20fcd0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5447 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-08 08:28:16 +0000  
    Browse Dir »

07 Oct, 2008
3 commits
  • CRIS: Make local objects static. ...
    9b32fbf8
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5446 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-07 22:54:52 +0000  
    Browse Dir »
  • CRIS: Fix brk 8 and add S-flag emulation. ...
    a1aebcb8
    * break 8 sets ERP to the current insn.
    * First shot at S flag single-stepping.
    * Make it easier to use the local disasm.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5445 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-10-07 22:48:41 +0000  
    Browse Code »
  • add help text for --enable-sparse (Gerd Hoffman) ...
    890b1658
    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@5444 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-10-07 21:22:41 +0000  
    Browse Code »