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
05 Mar, 2009
11 commits
  • monitor: Simplify password input mode (Jan Kiszka) ...
    f220174d
    Drop the hack to query passwords on all monitor terminals now that they
    are requested when the user initially enters 'continue'.
    
    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@6708 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:01:05 +0000  
    Browse Code »
  • monitor: Rework early disk password inquiry (Jan Kiszka) ...
    c0f4ce77
    Reading the passwords for encrypted hard disks during early startup is
    broken (I guess for quiet a while now):
     - No monitor terminal is ready for input at this point
     - Forcing all mux'ed terminals into monitor mode can confuse other
       users of that channels
    
    To overcome these issues and to lay the ground for a clean decoupling of
    monitor terminals, this patch changes the initial password inquiry as
    follows:
     - Prevent autostart if there is some encrypted disk
     - Once the user tries to resume the VM, prompt for all missing
       passwords
     - Only resume if all passwords were accepted
    
    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@6707 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:01:01 +0000  
    Browse Code »
  • monitor: Report encrypted disks in snapshot mode (Jan Kiszka) ...
    430eb509
    If the backing file is encrypted, 'info block' currently does not report
    the disk as encrypted. Fix this by using the standard API to check disk
    encryption mode. Moreover, switch to a canonical output format.
    
    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@6706 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:00:57 +0000  
    Browse Code »
  • monitor: Use reasonable default virtual console size (Jan Kiszka) ...
    d47d13b9
    If a target uses a tiny display (like the MusicPal), the default monitor
    is currently set to the same size. Fix this by applying the same
    defaults like already used serial and virtio consoles.
    
    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@6705 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:00:53 +0000  
    Browse Code »
  • block: Introduce bdrv_get_encrypted_filename (Jan Kiszka) ...
    045df330
    Introduce bdrv_get_encrypted_filename service to allow more informative
    password prompting.
    
    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@6704 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:00:48 +0000  
    Browse Code »
  • block: Improve bdrv_iterate (Jan Kiszka) ...
    51de9760
    Make bdrv_iterate more useful by passing the BlockDriverState to the
    iterator instead of the device name.
    
    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@6703 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:00:43 +0000  
    Browse File »
  • block: Polish error handling of brdv_open2 (Jan Kiszka) ...
    51d7c00c
    Make sure that we always delete temporary disk images on error, remove
    obsolete malloc error checks and return proper error codes.
    
    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@6702 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:00:29 +0000  
    Browse Code »
  • char-mux: Use separate input buffers (Jan Kiszka) ...
    a80bf99f
    Currently, the intermediate input buffer of mux'ed character devices
    records data across all sub-devices. This has the side effect that we
    easily leak data recorded over one sub-devices to another once we switch
    the focus. Avoid data loss and confusion by defining exclusive buffers.
    
    Note: In contrast to the original author's claim, the buffering concept
    still breaks down when the fifo of the currently active sub-device is
    full. As we cannot accept futher data from this point on without risking
    to loose it, we will also miss escape sequences, just like without all
    that buffering. In short: There is no reliable escape sequence handling
    without infinite buffers or the risk of loosing some data.
    
    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@6701 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 23:00:02 +0000  
    Browse Code »
  • char: Fix initial reset (Jan Kiszka) ...
    2970a6c9
    Recent changes to the graphical console initialization broke the initial
    CHR_EVENT_RESET distribution. The reset BHs generated on char device
    initialization are now already consumed during machine init (ide init
    ... -> qemu_aio_wait -> qemu_bh_poll). Therefore, this patch moves the
    initial qemu_chr_reset calls into a separate funtion which is called
    after machine init.
    
    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@6700 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 22:59:58 +0000  
    Browse File »
  • Fix cpuid KVM crash on i386 (Lubomir Rintel) ...
    b36d24b6
    Cpuid should return into vec, not overwrite past address in count.
    Changeset 6565 broke this.
    
    Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6689 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 19:01:28 +0000  
    Browse Code »
  • lsi: add ISTAT1 register read (Ryan Harper) ...
    ecabe8cc
    SLES10 SP2 installer complains when probing a scsi disk and exits qemu
    when failing to read one of the registers.
    
    lsi_scsi: error: readb 0x15
    
    
    -- 
    Ryan Harper
    Software Engineer; Linux Technology Center
    IBM Corp., Austin, Tx
    ryanh@us.ibm.com
    
    
    
    diffstat output:
     lsi53c895a.c |    2 ++
     1 files changed, 2 insertions(+)
    
    Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
    ---
    Subject: [PATCH] lsi: add ISTAT1 register read
    From: Ryan Harper <ryanh@us.ibm.com>
    Cc: kvm@vger.kernel.org
    
    SLES10 SP2 installer complains when probing a scsi disk and exits qemu when
    failing to read one of the registers.
    
    lsi_scsi: error: readb 0x15
    
    Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6688 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-05 19:01:21 +0000  
    Browse Code »

04 Mar, 2009
5 commits
  • Add version information for 0.10.0 release. ...
    b4171e4b
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6685 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-04 22:47:59 +0000  
    Browse Code »
  • Fix "info registers" under kvm. ...
    ff3c01ca
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6684 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2009-03-04 21:00:07 +0000  
    Browse File »
  • Update cocoa.m to match new DisplayState code (Samuel Benson) ...
    9794f74f
    Version 2 does as follows:
    
    [1]: Corrects endianness on issues by using native BGR to RGB conversion
    [2]: Uses DisplayState accessors for obtaining graphics context information,
         which
    [3]: Removes now unused variables, and
    [4]: Allows reading of varying color modes (32bit/24/16), and converting to
         native colorspace
    [5]: Attempts to keep itself centered on screen (as opposed to bottom right,
         which immediately goes off screen after bios load) on context changes
        (window resizes)
    
    Testing working on i386 (gentoo, Windows 2000) and PPC (debian) guests on PPC
    and x86 Macs.
    
    In regards to [4], Windows 2000 displays fine on quick tests, but on the lowest
    setting I could test, 16bit color depth at 4bpp, colors are slightly off. I
    used gentoo install-x86-minimal-2008.0 in framebuffer mode to test above
    setting; the usual grey text is now blue, and Tux appears to be BGR shifted. I
    do not know if previous code worked at such a low color setting.
    
    Signed-off-by: Samuel Benson <qemu_ml@digitalescape.info> 
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6683 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-04 19:25:22 +0000  
    Browse Code »
  • The different VFP variants will never occur at the same time, and giving them ...
    e53bd703
    different names confuses GDB, so use org.gnu.gdb.arm.vfp for all of them.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6682 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-03-04 12:18:15 +0000  
    Browse Dir »
  • DB-DMA IDE asynchronous I/O ...
    862c9280
    Signed-off-by: Laurent Vivier <Laurent@vivier.eu>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6681 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-04 07:20:40 +0000  
    Browse Code »

03 Mar, 2009
13 commits
  • Fix slavio_intctl.c compile errors (Robert Reif) ...
    3c4cf535
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6680 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-03 20:11:43 +0000  
    Browse File »
  • CRIS: Avoid endless loops for unstested CRIS cpu-state load/save. ...
    d488ddd8
    Fix several endless loops.
    
    Signed-off-by: Stefan Weil <weil@mail.berlios.de>
    Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6679 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2009-03-03 18:07:11 +0000  
    Browse Dir »
  • Fix SDL on evdev hosts (Anthony Liguori) ...
    5368a422
    This patch corrects SDL support on X11 hosts using evdev.  It's losely based
    on the previous patch by Dustin Kirkland and the evdev support code in gtk-vnc
    written by Daniel Berrange.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6678 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-03 17:37:21 +0000  
    Browse File »
  • Fix CVE-2008-0928 - insufficient block device address range checking (Anthony Liguori) ...
    71d0770c
    Introduce a growable flag that's set by bdrv_file_open().  Block devices should
    never be growable, only files that are being used by block devices.
    
    I went through Fabrice's early comments about the patch that was first applied.
    While I disagree with that patch, I also disagree with Fabrice's suggestion.
    
    There's no good reason to do the checks in the block drivers themselves.  It
    just increases the possibility that this bug could show up again.  Since we're
    calling bdrv_getlength() to determine the length, we're giving the block drivers
    a chance to chime in and let us know what range is valid.
    
    Basically, this patch makes the BlockDriver API guarantee that all requests are
    within 0..bdrv_getlength() which to me seems like a Good Thing.
    
    What do others think?
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6677 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-03 17:37:16 +0000  
    Browse Code »
  • DB-DMA cleanup ...
    b42ec42d
    Signed-off-by: Laurent Vivier <Laurent@vivier.eu>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6676 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 09:14:10 +0000  
    Browse Code »
  • SH4: Fixed last UTLB unused and URB/URC management ...
    927e3a4e
    Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6675 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 09:14:01 +0000  
    Browse Code »
  • fix SIGSEGV when USE_KQEMU is defined ...
    d905dba4
    Signed-off-by: Alex Ivanov <void@aleksoft.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6674 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:28:26 +0000  
    Browse Code »
  • sh4: r2d fix no ide/net case ...
    ab2da564
    Fix invalid access/crash when there is no IDE device or NET device.
    
    Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
    Tested-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6673 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:23:17 +0000  
    Browse File »
  • SH4: Fixed last UTLB unused ...
    45f4d016
    Version 2 of the patch.
    
    Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6672 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:14:43 +0000  
    Browse Dir »
  • SH4: Fixed last UTLB unused ...
    fb104582
    With my previous patch (the one monitoring tlb), I found that the last
    TLB entry was never use. Here a little fix.
    
    Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6671 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:12:34 +0000  
    Browse Dir »
  • SH4: Added monitoring of TLBs ...
    7c664e2f
    This patch might interest some people trying (as I try to do) to fix
    some tlbs for kernel/user space data sharing.
    
    Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6670 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:12:22 +0000  
    Browse Code »
  • target-ppc: improve mfcr/mtcrf ...
    0cfe11ea
    - use ctz32 instead of ffs - 1
    - small optimisation of mtcrf
    - add the name of both opcodes
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6669 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:12:14 +0000  
    Browse Dir »
  • clean build: Fix remaining sh4 warnings ...
    ef7ec1c1
    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@6668 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-03 06:12:03 +0000  
    Browse File »

02 Mar, 2009
9 commits
  • Fix mtcrf/mfcr ...
    8dd640e4
    Noticed by Alexander Graf
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6667 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-03-02 22:39:39 +0000  
    Browse Dir »
  • SH: Implement MOVCO.L and MOVLI.L ...
    66c7c806
    * target-sh4/cpu.h (struct CPUSH4State): New field ldst.
    * target-sh4/translate.c (cpu_ldst): New.
      (sh4_translate_init): Initialize cpu_ldst.
      (_decode_opc): Support MOVCO.L and MOVLI.L.
    
    (Vladimir Prus)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6666 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 17:13:21 +0000  
    Browse Dir »
  • Set mime-type of pc-bios/mpc8544ds.dtb to application/octet-stream ...
    c7eb95e1
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6665 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 17:10:47 +0000  
    Browse Code »
  • kvm/powerpc: flat device tree files for MPC8544DS ...
    bd5e6632
    mpc8544ds.dts is copied from kerenl.
    Non-supported devices has been removed.
    
    Signed-off-by: Liu Yu <yu.liu@freescale.com>
    Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6664 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 16:42:49 +0000  
    Browse Code »
  • kvm/powerpc: Add MPC8544DS board support ...
    1db09b84
    This patch add an emulation of MPC8544DS board.
    It can work on All E500 platforms.
    
    Signed-off-by: Liu Yu <yu.liu@freescale.com>
    Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6663 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 16:42:42 +0000  
    Browse Code »
  • kvm/powerpc: Add irq support for E500 core ...
    9fdc60bf
    Signed-off-by: Liu Yu <yu.liu@freescale.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6662 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 16:42:32 +0000  
    Browse Code »
  • kvm/powerpc: Add freescale pci controller's support ...
    74c62ba8
    This patch add the emulation of freescale's pci controller for MPC85xx platform.
    
    Signed-off-by: Liu Yu <yu.liu@freescale.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6661 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 16:42:23 +0000  
    Browse Code »
  • hw/openpic: define list in mpic_init() const ...
    dfebf62b
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6660 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 16:42:14 +0000  
    Browse Code »
  • kvm/powerpc: Enable MPIC for E500 platform. ...
    b7169916
    MPIC and OpenPIC have very similar design.
    So a lot of code can be reused.
    
    Signed-off-by: Liu Yu <yu.liu@freescale.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6659 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-02 16:42:04 +0000  
    Browse Code »

01 Mar, 2009
1 commit
  • Update to OpenBIOS 1.0 ...
    72249e34
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6658 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-01 20:18:09 +0000  
    Browse Code »

28 Feb, 2009
1 commit
  • Flush stdout after printing usage() ...
    2d18e637
    Fixes qemu-arm|grep cpu - with _exit() getting output from qemu --help
    is a bit random. Since no atexit() handlers are registered for user mode
    emulation, just use exit() instead.
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6657 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-02-28 20:14:00 +0000  
    Browse Dir »