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
10 Jul, 2009
3 commits
  • qemu-io: add flag to mark files growable ...
    9c4bab26
    Add a -g flag to the open command and the main qemu-io command line to
    allow opening a file growable.  This is only allowed for protocols,
    mirroring the limitation exposed through bdrv_file_open.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Kevin Wolf <kwolf@redhat.com>
    Christoph Hellwig authored
    2009-07-10 12:25:36 -0500  
    Browse Code »
  • qemu-io: better input validation for vector-based commands ...
    cf57298a
    Fix up a couple of issues with validating the input of the various
    length arguments for the vectored I/O commands:
    
     - do the alignment check on each length instead the always 0 count argument
     - use a long long varibale for the cvtnum return value so that we can check
       wether it wasn't a number
     - check for a too large argument instead of truncating it
    
    Also refactor it into a common helper for all four calers and avoid parsing
    the numbers twice.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Kevin Wolf <kwolf@redhat.com>
    Christoph Hellwig authored
    2009-07-10 12:25:36 -0500  
    Browse Code »
  • qemu-io: small cleanups for the aio code ...
    230d4fa4
    Address a couple of review comments from Kevin.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Christoph Hellwig authored
    2009-07-10 12:25:36 -0500  
    Browse Code »

09 Jul, 2009
34 commits
  • Disable kqemu by default at run time ...
    52249f0f
     -no-kqemu -> -enable-kqemu
    
    kqemu is still present at compile time by default
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-09 17:28:08 -0500  
    Browse Code »
  • Make sure to only vm_start() a failed migration if we were running to begin ...
    eeb34af9
    with.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-09 16:58:08 -0500  
    Browse Code »
  • Allow setting qemu process name v2 ...
    1889465a
    Set the Linux process name to the name argument specified with name. I find
    this useful to see which guests are taking CPU time in top.
    
    This doesn't affect ps, which checks argv[0], but rewriting the
    environment uses much more code, so I only used this simple way.
    
    v2: Use separate process= argument, no prefixes.
    
    Signed-off-by: Andi Kleen <ak@linux.intel.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Andi Kleen authored
    2009-07-09 16:58:08 -0500  
    Browse Code »
  • configure: Append extra cflags and ldflags ...
    e3fc14c3
    In order to allow overriding flags that are set by configure, we have to
    append them instead of prepending as it is done so far.
    
    v2: Clarify documentation.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-09 16:58:08 -0500  
    Browse Code »
  • qemu: remove control vector save ...
    dca61621
    control vector is saved/restored by virtio-pci,
    it does not belong in virtio.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Michael S. Tsirkin authored
    2009-07-09 16:58:08 -0500  
    Browse Dir »
  • fix segfault in msix_save ...
    9a3e12c8
    This fixes segfault reported by Kevin Wolf,
    and simplifies the code in msix_save.
    
    Reported-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Michael S. Tsirkin authored
    2009-07-09 16:58:08 -0500  
    Browse Code »
  • Unregister savevm callback in eeprom93xx_free() ...
    391354f1
    Otherwise if you hot remove an eepro100 NIC and then migrate,
    you get:
    
      Unknown savevm section or instance 'eeprom' 0
    
    on the destination side.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-09 16:58:08 -0500  
    Browse Dir »
  • Don't leak VLANClientState on PCI hot remove ...
    ae50b274
    destroy_nic() requires that NICInfo::private by a PCIDevice pointer,
    but then goes on to require that the same pointer matches
    VLANClientState::opaque.
    
    That is no longer the case for virtio-net since qdev and wasn't
    previously the case for rtl8139, ne2k_pci or eepro100.
    
    Make the situation a lot more clear by maintaining a VLANClientState
    pointer in NICInfo.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-09 16:58:07 -0500  
    Browse Code »
  • Don't abort if TUNSETSNDBUF fails where no sndbuf= arg is supplied ...
    d026fb6d
    If no tap,sndbuf= arg is supplied, we use a default value. If
    TUNSETSNDBUF fails in this case, we should not abort.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-09 16:58:07 -0500  
    Browse Code »
  • Substitute O_DSYNC with O_SYNC or O_FSYNC when needed. ...
    1c27a8b3
    Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    G 3 authored
    2009-07-09 16:58:07 -0500  
    Browse Dir »
  • Allow adjustment of http block device's readahead size, via a new ...
    c76f4952
    ":readahead=###:" suffix.
    
    Signed-off-by: Nolan Leake <nolan <at> sigbus.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Nolan authored
    2009-07-09 16:06:40 -0500  
    Browse Code »
  • consolidate user cpu_{in, out}[bwl] into ioport-user.c ...
    5f650495
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-09 16:06:40 -0500  
    Browse Code »
  • ioport: consolidate duplicated logic in register_ioport_{read, write}(). ...
    23e0affd
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-09 16:06:39 -0500  
    Browse Code »
  • use constant IOPORTS_MASK instead of 0xffff. ...
    d56dd6cf
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-09 16:06:39 -0500  
    Browse Code »
  • split out ioport related stuffs from vl.c into ioport.c. ...
    32993977
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-09 16:06:38 -0500  
    Browse Code »
  • Replace signrom with shell script v3 ...
    89e671e3
    In order to not execute code we just compiled, let's replace signrom
    with a shell script that does the same thing while staying compatible
    to pretty much every system available.
    
    This should make cross-compilation for windows easier.
    
    aliguori: fix build when objdir != srcdir
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Alexander Graf authored
    2009-07-09 16:06:38 -0500  
    Browse File »
  • Revert "support colon in filenames" ...
    1cec71e3
    This reverts commit 707c0dbc.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-09 16:06:38 -0500  
    Browse Dir »
  • Fix build for ESD audio ...
    c6a5a71a
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-09 16:06:37 -0500  
    Browse File »
  • qcow2: Make cache=writethrough default ...
    0aa217e4
    The performance of qcow2 has improved meanwhile, so we don't need to
    special-case it any more. Switch the default to write-through caching
    like all other block drivers.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Kevin Wolf authored
    2009-07-09 16:06:37 -0500  
    Browse File »
  • net: set a default value for sndbuf= ...
    fc5b81d1
    On reflection, perhaps it does make sense to set a default value for
    the sndbuf= tap parameter.
    
    For best effect, sndbuf= should be set to just below the capacity of
    the physical NIC.
    
    Setting it higher will cause packets to be dropped before the limit
    is hit. Setting it much lower will not cause any problems unless
    you set it low enough such that the guest cannot queue up new packets
    before the NIC has emptied its queue.
    
    In Linux, txqueuelen=1000 by default for ethernet NICs. Given a 1500
    byte MTU, 1Mb is a good choice for sndbuf.
    
    If it turns out that txqueuelen is actually much lower than this, then
    sndbuf is essentially disabled. In the event that txqueuelen is much
    higher, it's unlikely that the NIC will be able to empty a 1Mb queue.
    
    Thanks to Herbert Xu for this logic.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Cc: Herbert Xu <herbert.xu@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-09 16:06:37 -0500  
    Browse Code »
  • configure: detect xen with --extra-cflags / --extra-ldflags ...
    df7a607b
    Attached patch lets configure find xen headers and xen libs
    when called with --extra-cflags and --extra-ldflags options.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Christoph Egger authored
    2009-07-09 16:06:36 -0500  
    Browse Code »
  • QEMU: MCE: Add MCE simulation to qemu/tcg ...
    79c4f6b0
    - MCE features are initialized when VCPU is intialized according to CPUID.
    - A monitor command "mce" is added to inject a MCE.
    - A new interrupt mask: CPU_INTERRUPT_MCE is added to inject the MCE.
    
    aliguori: fix build for linux-user
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Huang Ying authored
    2009-07-09 16:04:53 -0500  
    Browse Code »
  • Merge commit 'linux-user/linux-user-for-upstream' into tmp-staging
    2152390d
    Anthony Liguori authored
    2009-07-09 15:09:27 -0500  
    Browse Code »
  • MIPS signal handling fix ...
    94c5495d
    Add explicit padding to MIPS signal frame structures.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-07-09 18:40:15 +0100  
    Browse Code »
  • Enable MIPS NPTL ...
    f04dc72f
    Enable NPTL support for MIPS usermode emulation.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-07-09 17:56:24 +0100  
    Browse Code »
  • MIPS atomic instructions ...
    590bc601
    Implement MIPS ll/sc instructions using atomic compare+exchange.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-07-09 17:45:17 +0100  
    Browse Dir »
  • MIPS usermode TLS register ...
    ff867ddc
    Implement cpu_set_tls for MIPS.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-07-09 15:07:57 +0100  
    Browse Code »
  • Fix MIPS sys_clone ...
    18113962
    The clone syscall takes 6 args.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Paul Brook authored
    2009-07-09 13:11:52 +0100  
    Browse Dir »
  • qdev: convert ac97. ...
    d88a76d1
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Gerd Hoffmann authored
    2009-07-09 13:07:03 +0100  
    Browse Code »
  • qdev: convert es1370. ...
    6806e595
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Gerd Hoffmann authored
    2009-07-09 13:07:03 +0100  
    Browse Code »
  • qdev/pci: misc fixes. ...
    16eaedf2
    * fix secondary bus setup.
     * use base->name instead of "FIXME" for device name.
       Yes, the device name is redundant.  Only for drivers converted
       to qdev already though.  Once all drivers are converted we can
       and should kill it.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Gerd Hoffmann authored
    2009-07-09 13:07:03 +0100  
    Browse Dir »
  • qdev: remove DeviceType ...
    042f84d0
    The only purpose DeviceType serves is creating a linked list of
    DeviceInfo structs.  This removes DeviceType and add a next field to
    DeviceInfo instead, so the DeviceInfo structs can be changed that way.
    Elimitates a pointless extra level of indirection.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Gerd Hoffmann authored
    2009-07-09 13:07:03 +0100  
    Browse Code »
  • qdev: replace bus_type enum with bus_info struct. ...
    10c4c98a
    BusInfo is filled with name and size (pretty much like I did for
    DeviceInfo as well).  There is also a function pointer to print
    bus-specific device information to the monitor.  sysbus is hooked
    up there, I've also added a print function for PCI.
    
    Device creation is slightly modified as well:  The device type search
    loop now also checks the bus type while scanning the list instead of
    complaining thereafter in case of a mismatch.  This effectively gives
    each bus a private namespace for device names.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    Gerd Hoffmann authored
    2009-07-09 13:07:03 +0100  
    Browse Code »
  • qdev: update pci device registration. ...
    0aab0d3a
    Makes pci_qdev_register take a PCIDeviceInfo struct instead of a bunch
    of parameters.  Also adds config_read and config_write callbacks to
    PCIDeviceInfo, so drivers needing these can be converted to the qdev
    device API too.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Gerd Hoffmann authored
    2009-07-09 13:07:02 +0100  
    Browse Code »

08 Jul, 2009
3 commits
  • Remove SDL/ prefix
    e2b19c85
    malc authored
    2009-07-08 18:25:37 +0400  
    Browse File »
  • Add out of memory and zero size argument checks to be consistent with ...
    d644f8be
    the qemu_malloc routines
    malc authored
    2009-07-08 18:24:05 +0400  
    Browse Code »
  • getrlimit conversion mix-up ...
    666bcd91
    Fixes getrlimit implementation that overwrote the result of the syscall
    instead of converting it
    
    Signed-off-by: Ulrich Hecht <uli@suse.de>
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Ulrich Hecht authored
    2009-07-08 17:02:28 +0300  
    Browse Code »