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
14 Nov, 2008
1 commit
  • ppc-linux-user: handle EXCP_DEBUG ...
    71f75756
    Replace POWERPC_EXCP_DEBUG by EXCP_DEBUG as the former can not happen in
    user mode emulation, while the later can happen and should be handled.
    
    Noticed by Andrew Stubbs.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5721 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-14 17:05:54 +0000  
    Browse Code »

13 Nov, 2008
7 commits
  • ETRAX-FS: Don't schedule DMA processing without active channels. ...
    1ab5f75c
    Avoid scheduling DMA processing when all channels are stopped or at
    end-of-list.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5720 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-13 21:33:08 +0000  
    Browse Dir »
  • ETRAX-FS: Fix a segfault if pflash drive not found. ...
    9eee9a5d
    drive_get_index() returns -1 if a drive isn't found; don't
    use -1 to index drives_table.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5719 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-13 21:10:25 +0000  
    Browse Dir »
  • x86: fix warning without CONFIG_KVM (Mark McLoughlin) ...
    10781c09
    Warning is:
    
     target-i386/helper.c: In function `cpu_x86_cpuid':
     target-i386/helper.c:1373: warning: implicit declaration of function `host_cpuid'
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5718 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:37:46 +0000  
    Browse Dir »
  • Fix CPUID ext2 features masking (Avi Kivity) ...
    57003085
    Typo. Exposes rdtscp which kills some guests.
    
    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@5717 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:28:04 +0000  
    Browse Dir »
  • block: make raw aio signaling non-blocking (Gerd Hoffman) ...
    e20e830b
    This patch switches the read handle of the signaling pipe into
    non-blocking mode.  This avoids unwanted blocking reads and also
    allows to read all bytes out of the signaling pipe in case we got
    signaled more that once before the handler ran.
    
    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@5716 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:23:17 +0000  
    Browse File »
  • Define kvm_ioctl in the same way as ioctl ...
    984b5181
    The third argument to ioctl is a ... which allows any value to be passed.  In
    practice, glibc always treats the argument as a void *.
    
    Do the same thing for the kvm ioctls to keep things consistent with a
    traditional ioctl.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5715 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:21:00 +0000  
    Browse Code »
  • copyright & license for qemu_sockets.c (Gerd Hoffman) ...
    305b0eb2
    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@5714 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 16:19:54 +0000  
    Browse Code »

12 Nov, 2008
10 commits
  • Fix brown-paper-bag bugs from live-migration patch (Charles Duffy) ...
    8ad9fa5d
    In TCP migration, prevent an endless loop trying to retrieve error status. In
    exec migration, set the close pointer in the FdMigrationState structure.
    
    Color me embarrassed.
    
    Signed-off-by: Charles Duffy <charles_duffy@messageone.com> 
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5713 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-12 22:29:11 +0000  
    Browse Code »
  • Rename hz to hertz to keep AIX happy ...
    c310de86
    The issue was first noticed/addressed by Laurent Vivier in his QEMU on
    AIX patches.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5712 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-12 20:36:27 +0000  
    Browse Dir »
  • Rename misnamed BACK_CHAIN_OFFSET to LR_OFFSET ...
    2946898b
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5711 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-12 20:36:24 +0000  
    Browse File »
  • Avoid compiler warning ...
    8421d9e5
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5710 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-12 20:36:21 +0000  
    Browse Dir »
  • Don't use "hz" in identifiers to make AIX happy. ...
    b0f74c87
    malc found AIX headers leak "hz" and so it can't be used there.  Change
    the occurences in hw/.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5709 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 17:36:08 +0000  
    Browse Code »
  • Include <strings.h> for ffs(). ...
    c8906845
    ffs() is in <strings.h> although bsd compatible systems have it in
    <string.h> already.  ffs() is used in omap1.c, omap2.c, omap_i2c.c,
    bt-sdp.c.  These uses can be replaced with clz32() but ffs is more
    available.  Problem was spotted by malc.
    
    Make host-utils.h formatting more consistent.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5708 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 17:18:41 +0000  
    Browse Code »
  • r5531 made x509 certs not loadable (original patch from Henrik Holst). ...
    be351261
    The patch in r5531 which replaced a bunch of strncpy with pstrcpy causes
    the x509 credentials from the -vnc parameter to be one character shorter
    than entered meaning that there is currently no way to enter x509
    certificates...
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5707 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 16:50:36 +0000  
    Browse Code »
  • Implement LSI53C895A quirks exposed by OpenServer (Justin Chevrier). ...
    9167a69a
    After going through the debug log and scratching my head for quite some
    time. I found the following:
    
    The problem was with this block move:
    
    lsi_scsi: SCRIPTS dsp=0fae8e50 opcode 01000028 arg 00f63c40
    lsi_scsi: DMA addr=0x00f63c40 len=36
    
    The number of bytes to be transferred (len) should be 40 which corresponds
    to the block transfer of length 0x28 (from opcode 01000028). Instead we
    have a length of 36 (0x24). The code responsible for this is (in
    'lsi_do_dma'):
    
    if (count > s->current_dma_len)
       count = s->current_dma_len;
    
    Basically we're overwriting the length 40 with the value 36 which I
    think we just left over in that variable from an earlier transfer. In my
    patch below I initialize s->current_dma_len to s->dbc before we begin
    the DMA transfer during Data In phase.
    
    The attached patch gets Openserver 5.0.5 past the hardware detection
    (and it lists the hard drive to boot, woohoo). It appears to stop a
    little while later (doesn't seem SCSI related), but it's been so long since
    I've booted Openserver I'm not sure what's supposted to happen after the HW
    detection using the boot/root disks.
    
    Props go to Craig Ringer for the initial post and the code that he posted
    some of which is in this patch.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5706 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 16:41:32 +0000  
    Browse File »
  • fix some variable initizalization issues (Stefano Stabellini) ...
    c3b972c3
    this patch fixes two variable initialization issues.
    
    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@5705 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-12 15:00:36 +0000  
    Browse File »
  • target-alpha: fix termbits and target IOC macros ...
    dccfec67
    This patch fixes the two following problems for Alpha linux-user:
       - termbits.h is incorrectly using host IOC macros and structures
       - IOC bitfields sizes are incorrectly set
    
    This patch corrects the ioctl TCGETS done by isatty function call
    on Alpha (when running SPEC crafty for instance).
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5704 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-12 10:01:12 +0000  
    Browse Dir »

11 Nov, 2008
22 commits
  • Fix -linux-user build by reverting r5701 ...
    c2b48b69
    Unfortunately, -linux-user doesn't use osdep as it replaces some of those
    functions with specific ones.  The code #ifdef code in exec.c needs to
    remain in place so instead of introducing a qemu_getpagesize() let's just
    use getpagesize() in the non-Windows implementation of qemu_vmalloc.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5703 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 22:06:42 +0000  
    Browse File »
  • Allocate guest memory on host page boundaries (Hollis Blanchard) ...
    6f7af85d
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5702 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:50:17 +0000  
    Browse File »
  • Define OS-dependent qemu_getpagesize() (Hollis Blanchard) ...
    15ed71ba
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5701 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:48:59 +0000  
    Browse Code »
  • Split savevm code into savevm.c ...
    a672b469
    This is pure code motion.  The savevm code is all common code so we can build
    it once and share the object with all executables.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5700 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:33:36 +0000  
    Browse Code »
  • Move the things that aren't target specific to libqemu_common.a. ...
    559b90fb
    This will improve the build time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5699 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:20:14 +0000  
    Browse Code »
  • windows cdrom cache flush (Stefano Stabellini) ...
    9118e7f0
    Windows only flushes its cache of a CDROM if it gets a
    SENSE_UNIT_ATTENTION CHECK_CONDITION response to a REQUEST_SENSE
    command.
    Make sure it does so after we change the CD.
    
    Tab damage fixed by Anthony Liguori
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Steven Smith <steven.smith@citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5698 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 20:57:30 +0000  
    Browse File »
  • sockets: switch over tcp/telnet/unix serial line to new helper functions (Gerd Hoffman) ...
    f07b6003
    This switches the tcp, telnet and unix socket support for character
    devices (serial/parallel, ...) to the new socket helpers.  Thereby they
    gain IPv6 support and also get ability to search for a free tcp port.
    Syntax is the same as for vnc, using a to= option, like this:
    
    	-serial tcp:localhost:5000,to=5099,server
    
    This will check the 5000 -> 5099 port range (inclusive) for a free tcp
    port.  Likewise you can get auto-allocated unix sockets by specifying an
    empty path:
    
    	-serial unix:,server
    
    qemu will create a randomly named socket in $TMPDIR then.
    
    tcp also got new "ipv4" and "ipv6" options to make qemu try only the
    specified internet protocol version.
    
    You can use the "info chardev" command added by the first patch in this
    series to figure the tcp port / unix socket actually allocated.
    
    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@5697 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 20:54:09 +0000  
    Browse File »
  • sockets: switch vnc to new code, support vnc port auto-allocation (Gerd Hoffman) ...
    9712ecaf
    This patch switches the vnc code ofer to the new socket helper
    functions.
    
    It adds support IPv6 support and for automatically allocating an unused
    vnc display port.  The latter is handled ising a to= option, specifying
    the upper limit for the display number to try.  Scanning is started at
    the display number given in the display specification, i.e. this command
    line:
    
        -vnc localhost:7,to=11
    
    will try displays 7 to 11 (inclusive).
    
    There are also new "ipv4" and "ipv6" options to make qemu try only
    the specified internet protocol version.
    
    The display actually allocated can be queried using the "info vnc"
    monitor command.
    
    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@5696 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 20:51:59 +0000  
    Browse Code »
  • sockets: helper functions for qemu (Gerd Hoffman) ...
    d247d25f
    This patch creates a new source file qemu-sockets.c with a bunch of
    helper functions to create listening and connected sockets.
    
    New features of this code are (a) support for searching for a free
    port in a given range and (b) support for IPv6.
    
    The following patches put that code into use.
    
    Compile fixes for Windows added by Anthony Liguori
    
    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@5695 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 20:46:40 +0000  
    Browse Code »
  • Reintroduce migrate-to-exec: support (Charles Duffy) ...
    065e2813
    KVM's live migration support included support for exec: URLs, allowing system
    state to be written or received via an arbitrary popen()ed subprocess. This
    provides a convenient way to pipe state through a compression algorithm or an
    arbitrary network transport on its way to its destination, and a convenient way
    to write state to disk; libvirt's qemu driver currently uses migration to exec:
    targets for this latter purpose.
    
    This version of the patch refactors now-common code from migrate-tcp.c into
    migrate.c. 
    
    Signed-off-by: Charles Duffy <Charles_Duffy@messageone.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5694 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 16:46:33 +0000  
    Browse Code »
  • target-alpha: fix decoding of CVTST /S ...
    a74b4d2c
    This patch fixes the decoding of CVTST /S which was
    incorrectly being decoded as CVTTS.
    
    This fixes SPEC2000 gcc with 200.i input.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5693 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:54:54 +0000  
    Browse Dir »
  • target-alpha: fix syscall error check ...
    d9e147ad
    (re-add commit 5689)
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5692 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:42:22 +0000  
    Browse Code »
  • Revert commits 5685 to 5688 committed by mistake ...
    de9a95f0
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5691 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:41:01 +0000  
    Browse Dir »
  • target-alpha: disable single stepping and TB flush by default ...
    55489a17
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5690 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:31:10 +0000  
    Browse Code »
  • target-alpha: fix syscall error check ...
    9c08393f
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5689 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:31:01 +0000  
    Browse Code »
  • qemu: generate signals on tap I/O ...
    3587f82a
    Currently tap does not generate signals on I/O; this causes
    network latency to be dependent on the timer tick (1ms without
    dyntick, guest dependent with dyntick).  By generating a signal
    on I/O, we can inform the guest immediately that a packet has
    arrived.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5688 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:30:53 +0000  
    Browse Code »
  • Use HOST_CC instead of CC on TCG only targets ...
    7aa763c7
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5687 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:30:45 +0000  
    Browse File »
  • Don't stop translation for mtc0 compare ...
    1c58b166
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5686 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:30:37 +0000  
    Browse File »
  • Disable debug code for production. ...
    dc18031f
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5685 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 13:30:24 +0000  
    Browse File »
  • target-mips: gen_compute_branch1() ...
    a6e92a65
    Optimize code generation in gen_compute_branch1():
    - Directly use I32 variables instead of converting values from _tl to
      _i32 and back to _tl.
    - Write the result directly to bcond instead of passing by a local
      variable.
    - Temp variables are valid up to and *including* the brcond instruction.
      Use them instead of temp local variables.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5684 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 11:50:51 +0000  
    Browse File »
  • target-mips: optimize movc*() ...
    9bf3eb2c
    Optimize code generation in gen_movc*():
    - Temp variables are valid up to and *including* the brcond instruction.
      Use them instead of temp local variables.
    - Avoid using temporary variables to transfer values.
    - Access fpu_fcr31 directly in gen_movcf_ps().
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5683 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 11:50:43 +0000  
    Browse File »
  • target-mips: optimize gen_farith() ...
    2a0ab998
    Optimize code generation in gen_farith():
    - Temp variables are valid up to and *including* the brcond instruction.
      Use them instead of temp local variables.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5682 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-11 11:50:33 +0000  
    Browse Code »