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
24 Jan, 2009
11 commits
  • target-ppc: Add Altivec register read/write using XML ...
    b4f8d821
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6424 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:08:09 +0000  
    Browse Dir »
  • target-ppc: Add float register read/write using XML ...
    24951522
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6423 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:08:00 +0000  
    Browse Dir »
  • target-ppc: Include gdbstub.h ...
    4e47ea67
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6422 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:07:50 +0000  
    Browse Dir »
  • target-ppc: Change core powerpc gdbstub bits to be XML-aware ...
    e571cb47
    Define GDB_CORE_XML and hack things similarly to ARM so that despite the
    FP registers coming in between the GPRs and some status registers,
    everything works out OK no matter which kind of GDB we're communicating
    with.
    
    It matters whether we're built to target 64-bit or 32-bit cores.  I
    think there are still problems if we are debugging 32-bit programs on a
    built-for-64-bit QEMU (QEMU will always send 64-bit registers), but I
    don't know if there's a good way around that at the time being.
    
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6421 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:07:42 +0000  
    Browse Code »
  • target-ppc: Add XML files for PowerPC registers ...
    c8b3532d
    These files are nearly identical to the XML files provided with GDB.
    The only difference is that power-{fpu,spe}.xml do not assign register
    numbers; the internal QEMU machinery takes care of that.
    
    Define gdb_xml_files for ppc targets in configure as well.
    
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6420 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:07:34 +0000  
    Browse File »
  • mips: limit RAM size to 256MB on malta and qemu boards ...
    0ccff151
    This avoid crash when a bigger RAM size is requested (the devices are
    mapped at 0x01000000).
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6419 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:07:25 +0000  
    Browse Code »
  • target-ppc: change the default RAM size to 128MB like other targets ...
    fc2e7aa3
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6418 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-24 15:07:09 +0000  
    Browse Code »
  • Fix format warnings ...
    4f94dc64
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6417 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-24 14:38:06 +0000  
    Browse Code »
  • Floppy: Properly handle Sense Interrupt Status after FDC Reset ...
    f2d81b33
    Original text below.
    
    Attached is a patch that changes how the emulated floppy controller replies to Sense Interrupt Status commands immediately after a controller reset. The specs state that after a Reset the 82078 goes into polling mode which needs four Sense Interrupt Status commands to be issued afterwards to clear the status of each drive. Currently we always respond to Sense Interrupt Status with a SEEK END instead of POLLING. This causes a problem with the SCO Openserver installer which is expects a POLLING state after reset. This patch returns a POLLING status for four Sense Interrupt Status requests immediately after a controller reset. This approach mirrors the way Bochs handles this situation. With the attached patch applied Openserver gets further when trying to load storage drivers from the floppy disk (blocked by another issue, patch on its way). I have successfully tested the floppy drive on the following OSs after applying this patch: Windows 98, Windows XP SP2, Linux x86 (SysRescCD 1.1.3 and Ubuntu 8.10).
    
    Justin
    
    Changelog:
    
    Properly handle Sense Interrupt Status after FDC Reset
    
    Signed-off-by: Justin Chevrier <theburner1@yahoo.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6416 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-24 12:09:52 +0000  
    Browse Code »
  • Fix kernel_size and initrd_size sign (Francois Revol) ...
    7373048c
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6415 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-24 12:00:23 +0000  
    Browse Code »
  • Rename sigev_signo to avoid FreeBSD problems (Juergen Lock) ...
    55f11ca3
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6414 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-24 11:54:21 +0000  
    Browse Code »

23 Jan, 2009
2 commits
  • fix endianness problem sharing the videoram buffer ...
    0da2ea1b
    [ The following text is in the "UTF-8" character set. ]
    
        [ Your display is set for the "koi8-r" character set.  ]
    
        [ Some characters may be displayed incorrectly. ]
    
    This patch fixes vga rendering when the guest endianness differs from
    the host endianness: in this case we can only share the buffer if the
    bpp is 32 and we must change the pixelformat accordingly.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6413 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-23 19:56:19 +0000  
    Browse File »
  • linux-user: add qemu_realloc() implementation to unbreak the build (Gerd Hoffman) ...
    1a6f0dbc
    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@6412 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-23 15:02:20 +0000  
    Browse Dir »

22 Jan, 2009
19 commits
  • Fix NAME2/FIELD2 warnings ...
    832e9079
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6411 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-22 22:09:55 +0000  
    Browse Dir »
  • Stop VM on error in virtio-blk. (Gleb Natapov) ...
    869a5c6d
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6410 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 19:52:25 +0000  
    Browse Dir »
  • Stop VM on error in scsi-disk (Gleb Natapov) ...
    ea8a5d7f
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6409 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 19:52:21 +0000  
    Browse File »
  • qemu-img: info: show highest_alloc and num_free_bytes if exist (Uri Lublin) ...
    7e739a58
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6408 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 18:57:38 +0000  
    Browse File »
  • qcow2 format: keep 'num_free_bytes', and show it upon 'info blockstats' (Uri Lublin) ...
    1987530f
    'num_free_bytes' is the number of non-allocated bytes below highest-allocation.
    It's useful, together with the highest-allocation, to figure out how
    fragmented the image is, and how likely it will run out-of-space soon.
    
    For example when the highest allocation is high (almost end-of-disk), but 
    many bytes (clusters) are free, and can be re-allocated when neeeded, than
    we know it's probably not going to reach end-of-disk-space soon.
    
    Added bookkeeping to block-qcow2.c
    Export it using BlockDeviceInfo
    Show it upon 'info blockstats' if BlockDeviceInfo exists
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6407 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 18:57:34 +0000  
    Browse Code »
  • info blockstats: show highest_allocated if exists (Uri Lublin) ...
    a7cbfae0
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6406 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 18:57:30 +0000  
    Browse Code »
  • block-qcow2: export highest_allocated through BlockDriverInfo and get_info() (Uri Lublin) ...
    c4218205
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6405 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 18:57:26 +0000  
    Browse Dir »
  • block-qcow2: keep highest allocated byte (Uri Lublin) ...
    5d4cbd78
    We want to know the highest written offset for qcow2 images.
    This gives a pretty good (and easy to calculate) estimation to how
    much more allocation can be done for the block device.
    
    It can be usefull for allocating more diskspace for that image
    (if possible, e.g. lvm) before we run out-of-disk-space
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6404 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 18:57:22 +0000  
    Browse Code »
  • Fix warning in ide.c ...
    f18be901
    The vm state handler needed updating after the recent vm state change
    notification refactoring.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6403 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 18:39:53 +0000  
    Browse Code »
  • Rework vm_state_change notifiers (Jan Kiszka) ...
    9781e040
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6402 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 17:15:29 +0000  
    Browse Code »
  • Extend gitignore (Jan Kiszka) ...
    5c047c0d
    Exclude objects in the root directory and temporary stgit files.
    
    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@6401 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 17:15:25 +0000  
    Browse Code »
  • install man-pages as non-executables (Andre Przywara) ...
    6473e68f
    make install-doc omits an explicit permission mask for the man-pages. This
    defaults to have the executable bits set. Adding "-m 644" (for rw-r--r--)
    fixes that.
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6400 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 17:15:21 +0000  
    Browse Code »
  • monitor-mux: fix timestamp prefixes (Jan Kiszka) ...
    a4bb1db8
    rt_clock returns milliseconds. Fix mux'ed monitor terminal timestamps
    accordingly.
    
    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@6399 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 17:15:16 +0000  
    Browse Code »
  • Convert IDE to directly access guest memory (Avi Kivity) ...
    7aea4412
    Instead of copying to a temporary buffer, map guest memory for IDE DMA
    transactions.
    
    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@6398 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 16:59:28 +0000  
    Browse Code »
  • Vectored block device API (Avi Kivity) ...
    3b69e4b9
    Most devices that are capable of DMA are also capable of scatter-gather.
    With the memory mapping API, this means that the device code needs to be
    able to access discontiguous host memory regions.
    
    For block devices, this translates to vectored I/O.  This patch implements
    an aynchronous vectored interface for the qemu block devices.  At the moment
    all I/O is bounced and submitted through the non-vectored API; in the future
    we will convert block devices to natively support vectored I/O wherever
    possible.
    
    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@6397 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 16:59:24 +0000  
    Browse File »
  • I/O vector helpers (Avi Kivity) ...
    44e3ee8a
    In general, it is not possible to predict the size of of an I/O vector since
    a contiguous guest region may map to a disconiguous host region.  Add some
    helpers to manage I/O vector growth.
    
    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@6396 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 16:59:20 +0000  
    Browse File »
  • Add map client retry notification (Avi Kivity) ...
    ba223c29
    The target memory mapping API may fail if the bounce buffer resources
    are exhausted.  Add a notification mechanism to allow clients to retry
    the mapping operation when resources become available again.
    
    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@6395 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 16:59:16 +0000  
    Browse Code »
  • Add target memory mapping API (Avi Kivity) ...
    6d16c2f8
    Devices accessing large amounts of memory (as with DMA) will wish to obtain
    a pointer to guest memory rather than access it indirectly via
    cpu_physical_memory_rw().  Add a new API to convert target addresses to
    host pointers.
    
    In case the target address does not correspond to RAM, a bounce buffer is
    allocated.  To prevent the guest from causing the host to allocate unbounded
    amounts of bounce buffer, this memory is limited (currently to one page).
    
    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@6394 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 16:59:11 +0000  
    Browse Code »
  • Fix build with --disable-sdl ...
    d268de04
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6393 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-22 16:18:33 +0000  
    Browse Code »

21 Jan, 2009
8 commits
  • Add BIOS fixes from KVM tree ...
    9a717b55
    See each patch for individual Signed-off-by's/commit logs
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6392 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 21:46:20 +0000  
    Browse File »
  • Fix nographic mode and VNC ...
    9043b62d
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6391 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-21 19:28:13 +0000  
    Browse Code »
  • re-fix screendump (Stefano Stabellini) ...
    f497f140
    Removing the assumption about a single graphic console made
    get_graphic_console return NULL when called by vga_screen_dump.
    In this case returning NULL is correct but since NULL is not handled in
    qemu_console_resize it causes a segmentation fault.
    Just returning immediately from qemu_console_resize is sufficient to fix the
    problem.
    
    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@6390 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 19:18:00 +0000  
    Browse File »
  • fix curses interface (Stefano Stabellini) ...
    68f00996
    Hi all,
    this patch fixes the curses interface: when we switch from one console
    to another we need to change the displaystate width and height even
    though in the curses case the backing buffer remains of the same size.
    I am also putting back the call to text_console_resize in
    text_console_invalidate so that resizeable text consoles can be properly
    handled.
    
    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@6389 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 18:59:12 +0000  
    Browse File »
  • Stop VM on ENOSPC error. (Gleb Natapov) ...
    428c5705
    This version of the patch adds new option "werror" to -drive flag.
    Possible values are:
    
    report    - report errors to a guest as IO errors
    ignore    - continue as if nothing happened
    stop      - stop VM on any error and retry last command on resume
    enospc    - stop vm on ENOSPC error and retry last command on resume
                all other errors are reported to a guest.
    
    Default is "report" to maintain current behaviour.
    
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6388 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 18:59:04 +0000  
    Browse Code »
  • Adds null check for DisplayStatus (Stefano Stabellini) ...
    7da03b1d
    Allocate a DisplaySurface in dumb_display_init if none else does it.
    The DisplaySurface will be used for the qemu monitor, serial and
    parallel ports, etc.
    
    Signed-off-by: Andrew May  <acmay@acmay.homeip.net>
    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@6387 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 18:58:51 +0000  
    Browse Code »
  • cirrus: unify unmapping of vram (Jan Kiszka) ...
    7cff316e
    Switc vram unmapping in map_linear_vram to the simpler pattern used by
    unmap_linear_vram.
    
    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@6386 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 18:31:42 +0000  
    Browse Dir »
  • cirrus: cleanup reset handler (Jan Kiszka) ...
    fefe54e3
    We should not re-register the cirrus io-memory regions on each reset.
    Moreover, this patch removes some dead code and pushes other static
    field initializations from reset to init_common.
    
    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@6385 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-21 18:31:35 +0000  
    Browse Code »