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 Mar, 2009
20 commits
  • Add missing file ...
    2e7d200b
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6850 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 16:27:31 +0000  
    Browse Code »
  • Update changelog ...
    82e52676
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6849 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 16:22:41 +0000  
    Browse File »
  • qemu:virtio-net: Check return size on the correct sg list (Alex Williamson) ...
    c6bb9a32
    When checking that the size of the control virtqueue return field
    is sufficient, use the correct sg list.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6845 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:04:02 +0000  
    Browse Code »
  • make qemu_announce_self handle non contiguous net tables (Marcelo Tosatti) ...
    3450df30
    
    With hotplug nd_table might contain holes.
    
    Noticed by Eduardo Habkost.
    
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6844 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:03:58 +0000  
    Browse Code »
  • Replace asprintf() with snprintf() in vnc.c ("Daniel P. Berrange") ...
    457772e6
    As previously discussed, this patch removes the non-portable use of
    asprintf(), replacing it with malloc+snprintf instead
    
       Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6843 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:03:27 +0000  
    Browse Code »
  • monitor: Provide empty command as final history entry (Jan Kiszka) ...
    5b0d2727
    Provide an empty line as last entry in command line history, just like
    bash e.g. does.
    
    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@6842 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:28 +0000  
    Browse Code »
  • Add and use remaining #defines for PCI device IDs (Stuart Brady) ...
    a770dc7e
    This patch adds and uses #defines for the remaining hardcoded PCI
    device IDs.  It also moves definitions taken from linux/pci_ids.h
    into a separate header (hw/pci_ids.h), removes the 'RTL' from
    PCI_DEVICE_ID_REALTEK_RTL8029, and renames PCI_DEVICE_ID_FSL_E500
    to PCI_DEVICE_ID_MPC8533E to match Linux's definition.
    
    Changes in v2:
     * Don't use C99-style comments
     * Move definitions from linux/pci_ids.h into a separate header
     * Rename PCI_DEVICE_ID_FSL_E500 to PCI_DEVICE_ID_MPC8533E
    
    Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6841 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:23 +0000  
    Browse Code »
  • remove is_graphic_console from vga.c (Stefano Stabellini) ...
    b8c18e4c
    Hi all,
    since vga_draw_graphic is only called by vga_hw_update when the console
    associated with the graphic card is active, we don't need to check if
    the current console is active using is_graphic_console.
    
    I suspect I introduced these checks when the console switching mechanism
    didn't work as it does now.
    
    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@6840 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:18 +0000  
    Browse Code »
  • DisplayAllocator interface (Stefano Stabellini) ...
    7b5d76da
    Hi all,
    this patch adds a DisplayAllocator interface that allows display
    frontends (sdl in particular) to provide a preallocated display buffer
    for the graphical backend to use.
    
    Whenever a graphical backend cannot use
    qemu_create_displaysurface_from because its own internal pixel format
    cannot be exported directly (text mode or graphical mode with color
    depth 8 or 24), it creates another display buffer in memory using
    qemu_create_displaysurface and does the conversion.
    This new buffer needs to be blitted into the sdl surface buffer every time
    we need to update portions of the screen.
    We can avoid this using the DisplayAllocator interace: sdl provides its
    own implementation of qemu_create_displaysurface, giving back the sdl
    surface buffer directly (as we used to do before the DisplayState
    changes).
    Since the buffer returned by sdl could be in bgr format we need to put
    back in the handlers of that case.
    
    This approach is good if the two following conditions are true:
    
    1) the sdl surface is a software surface that resides in main memory;
    
    2) the host display color depth is either 16 or 32 bpp.
    
    If first condition is false we can have bad performances using sdl
    and vnc together.
    If the second condition is false performances are certainly not going to
    improve but they shouldn't get worse either.
    
    The first condition is always true, at least on linux/X11 systems; but I
    believe is true also on other platforms.
    The second condition is true in the vast majority of the cases.
    
    This patch should also have the good side effect of solving the sdl
    2D slowness malc was reporting on MacOS, because SDL_BlitSurface is not
    going to be called anymore when the guest is in text mode or 24bpp.
    However the root problem is still present so I suspect we may
    still see some slowness on MacOS when the guest is in 32 or 16 bpp.
    
    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@6839 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 15:02:13 +0000  
    Browse File »
  • tcg/x86_64: add bswap16_i{32,64} and bswap32_i64 ops ...
    86dbdd40
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6838 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:55 +0000  
    Browse Dir »
  • tcg/x86: add bswap16_i32 ops ...
    5d40cd63
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6837 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:49 +0000  
    Browse Code »
  • target-i386: use the new bswap* TCG ops ...
    8777643e
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6836 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:41 +0000  
    Browse Code »
  • target-ppc: use the new bswap* TCG ops ...
    fa3966a3
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6835 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:34 +0000  
    Browse Code »
  • tcg: update README wrt recent bswap changes ...
    4ad4ce16
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6834 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:26 +0000  
    Browse Dir »
  • tcg: add _tl aliases to bswap16/32/64 TCG ops ...
    911d79ba
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6833 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:19 +0000  
    Browse Code »
  • tcg: add bswap16_i64 and bswap32_i64 TCG ops ...
    9a5c57fd
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6832 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:12 +0000  
    Browse Dir »
  • tcg: optimize tcg_gen_bswap16_i32 ...
    dfa1a3f1
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6831 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:35:03 +0000  
    Browse Dir »
  • tcg: allow bswap16_i32 to be implemented by TCG backends ...
    84aafb06
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6830 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:34:56 +0000  
    Browse File »
  • tcg: rename bswap_i32/i64 functions ...
    66896cb8
    Rename bswap_i32 into bswap32_i32 and bswap_i64 into bswap64_i64
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6829 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-13 09:34:48 +0000  
    Browse File »
  • Fix regression introduced by r6824 ...
    537a1d4b
    The changes introduced by r6824 broke a subtle, and admittedly obscure, aspect
    of the block API.  While bdrv_{pread,pwrite} return the number of bytes read
    or written upon success, bdrv_{read,write} returns a zero upon success.
    
    When using bdrv_pread for bdrv_read, special care must be taken to handle this
    case.
    
    This fixes certain guest images (notably linux-0.2 provided on the qemu
    website).
    
    Reported-by: malc <av1474@comtv.ru>
    Reported-by: Herve Poussineau <hpoussin@reactos.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6828 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-13 03:12:03 +0000  
    Browse Code »

12 Mar, 2009
6 commits
  • From 67e94ae77f8de4d5d822917f1723cefa7ebfb64d Mon Sep 17 00:00:00 2001 ...
    610626af
    From: Xiantao Zhang <xiantao.zhang@intel.com>
    Date: Tue, 3 Mar 2009 13:33:13 +0800
    Subject: [PATCH] Split ioapic logic from the current apic.
    
    Add a new ioapic.c to hold ioapic's logic, and also
    make it work for ia64.
    
    Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
    ---
     Makefile.target |    2 +-
     hw/apic.c       |  237 +++----------------------------------------------
     hw/ioapic.c     |  263 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
     hw/pc.h         |    5 +-
     4 files changed, 281 insertions(+), 226 deletions(-)
     create mode 100644 hw/ioapic.c
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6827 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 20:25:12 +0000  
    Browse Code »
  • monitor: sync from kvm state before generating output (Jan Kiszka) ...
    d154615d
    Ported from the KVM tree: Synchronize the qemu cpu state with kvm's
    before invoking various monitor info commands (like 'info registers').
    
    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@6826 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 20:12:57 +0000  
    Browse Code »
  • Guest debugging support for KVM (Jan Kiszka) ...
    e22a25c9
    This is a backport of the guest debugging support for the KVM
    accelerator that is now part of the KVM tree. It implements the reworked
    KVM kernel API for guest debugging (KVM_CAP_SET_GUEST_DEBUG) which is
    not yet part of any mainline kernel but will probably be 2.6.30 stuff.
    So far supported is x86, but PPC is expected to catch up soon.
    
    Core features are:
     - unlimited soft-breakpoints via code patching
     - hardware-assisted x86 breakpoints and watchpoints
    
    Changes in this version:
     - use generic hook cpu_synchronize_state to transfer registers between
       user space and kvm
     - push kvm_sw_breakpoints into KVMState
    
    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@6825 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 20:12:48 +0000  
    Browse Code »
  • Drop internal bdrv_pread()/bdrv_pwrite() APIs (Avi Kivity) ...
    eda578e5
    Now that scsi generic no longer uses bdrv_pread() and bdrv_pwrite(), we can
    drop the corresponding internal APIs, which overlap bdrv_read()/bdrv_write()
    and, being byte oriented, are unnatural for a block device.
    
    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@6824 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 19:57:16 +0000  
    Browse Code »
  • Add internal scsi generic block API (Avi Kivity) ...
    04eeb8b6
    Add an internal API for the generic block layer to send scsi generic commands
    to block format driver.  This means block format drivers no longer need
    to consider overloaded nb_sectors parameters.
    
    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@6823 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 19:57:12 +0000  
    Browse File »
  • Add specialized block driver scsi generic API (Avi Kivity) ...
    7d780669
    When a scsi device is backed by a scsi generic device instead of an
    ordinary host block device, the block API is abused in a couple of annoying
    ways:
    
     - nb_sectors is negative, and specifies a byte count instead of a sector count
     - offset is ignored, since scsi-generic is essentially a packet protocol
    
    This overloading makes hacking the block layer difficult.  Remove it by
    introducing a new explicit API for scsi-generic devices.  The new API
    is still backed by the old implementation, but at least the users are
    insulated.
    
    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@6822 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-12 19:57:08 +0000  
    Browse Code »

11 Mar, 2009
7 commits
  • Revert r6404 ...
    943984c7
    This series is broken by design as it requires expensive IO operations at
    open time causing very long delays when starting a virtual machine for the
    first time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6816 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-11 20:05:37 +0000  
    Browse Dir »
  • Revert r6405 ...
    b7ea8c26
    This series is broken by design as it requires expensive IO operations at
    open time causing very long delays when starting a virtual machine for the
    first time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6815 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-11 20:05:33 +0000  
    Browse Code »
  • Revert r6406 ...
    ebf53fcd
    This series is broken by design as it requires expensive IO operations at
    open time causing very long delays when starting a virtual machine for the
    first time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6814 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-11 20:05:29 +0000  
    Browse Code »
  • Revert r6407 ...
    70240ca6
    This series is broken by design as it requires expensive IO operations at
    open time causing very long delays when starting a virtual machine for the
    first time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6813 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-11 20:05:25 +0000  
    Browse Dir »
  • Revert r6408 ...
    fc197934
    This series is broken by design as it requires expensive IO operations at
    open time causing very long delays when starting a virtual machine for the
    first time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6812 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-11 20:05:20 +0000  
    Browse Code »
  • tcg: move {not,neg}_i{32,64} definitions at the right place ...
    0dd0dd55
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6811 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-11 11:00:49 +0000  
    Browse Dir »
  • tcg: fix commit r6805 ...
    e5105083
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6810 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-11 02:57:30 +0000  
    Browse Dir »

10 Mar, 2009
7 commits
  • Clean build: Add bt-host.h ...
    5ef4efa4
    Silence compiler warning by providing proper CONFIG_BLUEZ-independent
    header for the bt-host API.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6809 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-10 21:43:35 +0000  
    Browse File »
  • tcg-arm: fix qemu_ld64 ...
    419bafa5
    Emulating fldl on arm doesn't seem to work too well. It's the way
    qemu_ld64 is translated to arm instructions.
    
            tcg_out_ld32_12(s, COND_AL, data_reg, addr_reg, 0);
            tcg_out_ld32_12(s, COND_AL, data_reg2, addr_reg, 4);
    
    Consider case where data_reg==0, data_reg2==1, and addr_reg==0. First load
    overwrited addr_reg. So let's put an if (data_ref==addr_reg).
    
    (Pablo Virolainen)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6808 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-10 21:43:25 +0000  
    Browse Code »
  • tcg: update TODO ...
    506bfcbb
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6807 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-10 19:37:56 +0000  
    Browse Code »
  • tcg/x86: add not/neg/extu/bswap/rot i32 ops ...
    9619376c
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6806 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-10 19:37:46 +0000  
    Browse File »
  • tcg: optimize logical operations ...
    7fc81051
    Simplify nand/nor/eqv and move their optimizations to and/or/xor
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6805 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-10 19:37:39 +0000  
    Browse File »
  • target-ppc: fix commit r6789 ...
    515e2f7e
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6804 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-10 19:37:28 +0000  
    Browse Code »
  • musicpal: Reorganize IO memory handling (Jan Kiszka) ...
    718ec0be
    The new MMIO interface requires non-overlapping slots. Reorganize the
    musicpal accordingly, fixing a regression for the Ethernet emulation.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6803 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-03-10 19:25:13 +0000  
    Browse Dir »