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
21 May, 2009
5 commits
  • Let the venomous poison spread to more identifiers ...
    368b90db
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-05-21 18:54:22 +0300  
    Browse File »
  • Convert machine registration to use module init functions ...
    f80f9ec9
    This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-05-21 08:47:55 -0500  
    Browse Code »
  • Eliminate --disable-gfx-check and make VNC default when SDL not available ...
    f92f8afe
     --disable-gfx-check predates VNC server support.  It made sense back then
    because the only thing you could do without SDL was use -nographic mode or
    similar tricks.  Since this is a very advanced mode of operation, gfx-check
    provided a good safety net for casual users.
    
    A casual user is very likely to use VNC to interact with a guest.  In fact, it's
    often frustrating to install QEMU on a server and have to specify
    disable-gfx-check when you only want to use VNC.
    
    This patch eliminates disable-gfx-check and makes SDL behave like every other
    optional dependency.  If SDL is not available, instead of failing ungracefully
    if no special options are specified, we default to -vnc localhost:0,to=99.
    When we do default to VNC, we also print a message to tell the user that we've
    done this include which port we're currently listening on.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-05-21 08:47:48 -0500  
    Browse File »
  • Do not attempt to allocate sn_tab when there are no snapshots ...
    eb0b64f7
    This was caught by a7d27b53 which
    aborted on this attempt, thanks to Alex Ivanov for report.
    
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-21 05:40:53 +0400  
    Browse Code »
  • Cast pointer arguments of get/setsockopt, send to void * to keep GCC ...
    0a656f5f
    from producing a warning about pointer type mismatches with Winsock
    
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-21 05:30:51 +0400  
    Browse Code »

20 May, 2009
9 commits
  • kvm: add error message for when SMP is requested ...
    9f8fd694
    Right now, if you try e.g. '-smp 2' you just get 'failed to
    initialize KVM'.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Mark McLoughlin authored
    2009-05-20 09:24:23 -0500  
    Browse Code »
  • Remove initrd warning message ...
    42fa1c2e
    Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
    Richard W.M. Jones authored
    2009-05-20 09:24:07 -0500  
    Browse Code »
  • initialize struct sigevent before timer_create ...
    9ed415b2
    When qemu is run under valgrind, valgrind shows the following output
    on exit:
    
    ==3648== 1 errors in context 2 of 2:
    ==3648== Syscall param timer_create(evp) points to uninitialised byte(s)
    ==3648==    at 0x54E936A: timer_create (in /lib/librt-2.9.so)
    ==3648==    by 0x405DCF: dynticks_start_timer (vl.c:1549)
    ==3648==    by 0x40A966: main (vl.c:1726)
    ==3648==  Address 0x7fefffb34 is on thread 1's stack
    ==3648==  Uninitialised value was created by a stack allocation
    ==3648==    at 0x405D60: dynticks_start_timer (vl.c:1534)
    
    This patch is a simple fix to remove this potential problem.
    
    Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
    Jean-Christophe Dubois authored
    2009-05-20 09:12:58 -0500  
    Browse Code »
  • Fix NULL alarm_timer pointer at exit ...
    e332340a
    This fixes a SIGSEGV error on qemu exit.
    
    Here is the valgrind output related to this error
    
    ==3648== Process terminating with default action of signal 11 (SIGSEGV)
    ==3648==  Access not within mapped region at address 0x8
    ==3648==    at 0x40636B: host_alarm_handler (vl.c:1345)
    ==3648==    by 0x52D807F: (within /lib/libpthread-2.9.so)
    ==3648==    by 0x5C0A12E: tcsetattr (in /lib/libc-2.9.so)
    ==3648==    by 0x4DD601: term_exit (qemu-char.c:700)
    ==3648==    by 0x5B636EC: exit (in /lib/libc-2.9.so)
    ==3648==    by 0x5B4B5AC: (below main) (in /lib/libc-2.9.so)
    
    This simple fix check for a valid pointer as host_alarm_handler is
    also called after alarm_timer is released in the exit path.
    
    Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
    Jean-Christophe Dubois authored
    2009-05-20 09:12:58 -0500  
    Browse Code »
  • keep initrd in below 4g area. ...
    e6ade764
    initrd must be kept on the memory area below 4g. By not doing this,
    we're seeing guests break while using -initrd and values of -mem
    superior to 4096.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Glauber Costa authored
    2009-05-20 09:12:58 -0500  
    Browse Code »
  • migrate.c: migrate_fd_put_buffer: Do not busyloop: stop writing if EWOULDBLOCK ...
    95b134ea
    The migration code is non-blocking, designed for live migration.
    
    Practically migrate_fd_put_buffer busy-loops trying to write, as
    on many machines EWOULDBLOCK==EAGAIN (look in include/asm-generic/errno.h).
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Uri Lublin authored
    2009-05-20 09:12:57 -0500  
    Browse File »
  • kvm: work around supported cpuid ioctl() brokenness ...
    76ae317f
    KVM_GET_SUPPORTED_CPUID has been known to fail to return -E2BIG
    when it runs out of entries. Detect this by always trying again
    with a bigger table if the ioctl() fills the table.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Mark McLoughlin authored
    2009-05-20 09:12:57 -0500  
    Browse Dir »
  • remove gcc 3.x requirement from documentation ...
    e561a280
    This text is no longer accurate. After the patch is applied, the
    generated version at http://www.nongnu.org/qemu/qemu-doc.html should be
    regenerated.
    
    This patch is also a candidate for the stable branch. (The URL above is
    probably generated from the stable branch anyways, so maybe it goes
    without saying.)
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Hollis Blanchard authored
    2009-05-20 09:12:57 -0500  
    Browse Code »
  • Remove dead code ...
    3a8bae3e
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-20 03:27:26 +0400  
    Browse Code »

19 May, 2009
8 commits
  • Format per CODING_STYLE ...
    26d64a85
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-19 22:29:20 +0400  
    Browse Code »
  • Abort on attempts to allocate zero bytes ...
    a7d27b53
    http://marc.info/?t=124267873300015&r=1&w=2
    
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-19 22:29:15 +0400  
    Browse Code »
  • Unbreak out-of-tree builds ...
    20094efc
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-19 20:57:02 +0400  
    Browse File »
  • Hardware convenience library ...
    1ad2134f
    The only target dependency for most hardware is sizeof(target_phys_addr_t).
    Build these files into a convenience library, and use that instead of
    building for every target.
    
    Remove and poison various target specific macros to avoid bogus target
    dependencies creeping back in.
    
    Big/Little endian is not handled because devices should not know or care
    about this to start with.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-19 16:17:58 +0100  
    Browse File »
  • Disable >4G ram support on 32-bit targets ...
    8a637d44
    If the target only has a 32-bit physical address space then
    the code to map >4G ram breaks horribly, and causes compiler warnings.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-19 16:05:00 +0100  
    Browse Dir »
  • Only define __llseek if it is going to be used ...
    909b69cf
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-19 15:58:52 +0100  
    Browse Dir »
  • Avoid implicit truncation compiler warnings ...
    425be425
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-19 15:42:39 +0100  
    Browse Code »
  • Remove obsolete BIOS_SIZE from sysemu.h ...
    bba831e8
    BIOS_SIZE is no longer needed by vl.c, so there's no point having it in
    sysemu.h.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-19 14:52:42 +0100  
    Browse File »

18 May, 2009
5 commits
  • cris: First shot at qdev for CRIS interrupts. ...
    fd6dc90b
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-18 22:24:22 +0200  
    Browse Code »
  • etrax: Don't keep the passed irq pointer. ...
    96d7ddde
    Copy passed irq object at channel connect.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-18 21:44:10 +0200  
    Browse Code »
  • etrax: Remove unused eth irq line. ...
    678fdca8
    The ethernet blocks irq line to report errors is unimplemented in QEMU.
    Remove it for now.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-18 21:34:00 +0200  
    Browse Dir »
  • Syborg virtio bindings. ...
    340d96e7
    Implement Syborg device bindings for virtio-net.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-18 18:27:44 +0100  
    Browse Code »
  • Separate virtio PCI code ...
    53c25cea
    Split the PCI host bindings from the VRing transport implementation.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-18 18:26:33 +0100  
    Browse Dir »

17 May, 2009
2 commits
  • Only shutdown video subsytem in sdl_cleanup ...
    d8ee7665
    Depending on the order in which atexit handlers are called SDL might
    try to join on an audio thread without said thread ever being notified
    that it must stop, hence QEMU will forever block in pthread_join call.
    
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-05-17 18:26:52 +0400  
    Browse Code »
  • Consistently use uint64_t for int properties ...
    89a740e1
    I apparently failed to do this properly on the first attempt.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-05-17 14:55:55 +0100  
    Browse Dir »

16 May, 2009
9 commits
  • ETRAX-PIC: Untabify. ...
    979d98ca
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-16 12:28:33 +0200  
    Browse Code »
  • ETRAX-TIMER: qdevify. ...
    3b1fd90e
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-16 02:14:03 +0200  
    Browse Code »
  • ETRAX-TIMER: Untabify. ...
    84ceea57
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-16 02:13:58 +0200  
    Browse Code »
  • ETRAX-SER: Untabify. ...
    2a9859e7
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-16 02:13:55 +0200  
    Browse Code »
  • ETRAX-SER: qdevify. ...
    4b816985
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-16 02:13:49 +0200  
    Browse Dir »
  • ETRAX: Simplify PIC interface. ...
    73cfd29f
    Instead of exporting a custom structure to represent different
    interrupt types, just export the irq array and have the top
    elements point to the NMI lines.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-16 02:13:08 +0200  
    Browse Code »
  • support ELF_HWCAP for PPPC ...
    df84e4f3
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: malc <av1474@comtv.ru>
    Nathan Froyd authored
    2009-05-16 01:36:16 +0400  
    Browse Code »
  • linux-user: ppc signal handling ...
    bcd4933a
    Implement setup_{,rt_}frame and do_{,rt_}sigreturn for PPC 32-bit.  Use
    the same TARGET_QEMU_ESIGRETURN hack as for MIPS to avoid clobbering
    register state on a sigreturn.
    
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: malc <av1474@comtv.ru>
    Nathan Froyd authored
    2009-05-16 01:36:12 +0400  
    Browse Dir »
  • target-ppc: expose cpu capability flags ...
    c29b735c
    Do this so other pieces of code can make decisions based on the
    capabilities of the CPU we're emulating.
    
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: malc <av1474@comtv.ru>
    Nathan Froyd authored
    2009-05-16 01:36:08 +0400  
    Browse Code »

15 May, 2009
2 commits
  • ETRAX: Correct passing of kernel command line. ...
    d33fd9d1
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    Edgar E. Iglesias authored
    2009-05-15 16:53:53 +0200  
    Browse Code »
  • fix ARMv7 data processing instructions ...
    21aeb343
    ARMv7 defines a new behavior for ARM data processing instructions
    compared to earlier architecture revisions; when the destination
    register is R15, a Branch and Exchange operation is executed rather
    than a simple Branch to the target address. This patch corrects the
    behavior of the emulation for the aforementioned operations. To be
    applied after applying the previous patch in this patch set.
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Juha Riihimäki authored
    2009-05-15 03:18:42 +0100  
    Browse Dir »