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
16 Jul, 2009
40 commits
  • already defined several lines before in block-obj-y ...
    3b47612b
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • Remove unused Makefile variable ...
    71c4f21f
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • use nwfpe-obj-y for consistence ...
    9c1dd99b
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • use block-nested-y for files inside block/ ...
    1a65ba76
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • Remove duplicated definition ...
    727374d9
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • fix sparc not solaris build ...
    4c050b3f
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • fix XEN Build ...
    7ed208c4
    I miss s/yes/y/ in one place
    
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Juan Quintela authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • fix for bad macaddr of e1000 in Windows 2003 server with original MS driver ...
    356c7ff4
    The sequence of reading from eeprom is "offset by one" moved because of a false
    detection of a clock cycle after an eeprom reset. Keeping the last clock value
    after a reset keeps it in sync.
    
    Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Naphtali Sprei authored
    2009-07-16 17:28:54 -0500  
    Browse Code »
  • qdev: es1370+ac97 description ...
    f3519986
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse Code »
  • qdev/compat: virtio-net-pci 0.10 compatibility. ...
    a1e0fea5
    Add vectors property, allowing to turn off msi by setting vectors=0.
    Add compat property to pc-0.10 disabling msi.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse Code »
  • qdev: print device id in "info pci". ...
    8ad12514
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse Dir »
  • qdev/compat: virtio-console-pci 0.10 compatibility. ...
    d6beee99
    Add class property to virtio-console-pci allowing to specify the PCI class.
    Add compat property to pc-0.10 to set the old PCI class.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse Code »
  • qdev: add id= support for pci nics. ...
    eb54b6dc
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse File »
  • qdev/compat: virtio-blk-pci 0.10 compatibility. ...
    ab73ff29
    Add class property to virtio-blk-pci allowing to specify the PCI class.
    Add compat property to pc-0.10 to set the old PCI class.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse Code »
  • qdev: add user-specified identifier to devices. ...
    ccb63de3
    Add id field to DeviceState.  Make "info qtree" print it.
    
    This helps users and management apps identifying devices in monitor
    output, which is especially useful with otherwise identical devices
    such as two virtio disks.
    
    This patch doesn't add a way to set the id, followup patches will do.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:53 -0500  
    Browse Code »
  • qdev/compat: add pc-0.10 machine type. ...
    96cc1810
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:52 -0500  
    Browse Code »
  • qdev: add no_user, alias and desc ...
    3320e56e
    no_user: prevent users from adding certain devices.
    desc: description of the device.
    alias: to allow user friendly shortcuts on the command line, i.e.
      -device usbmouse  instead of  -device "QEMU USB Mouse"  or
      -device lsi       instead of  -device lsi53c895a
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:52 -0500  
    Browse Code »
  • qdev/compat: compat property infrastructure. ...
    b6b61144
    This add support for switching devices into a compatibility mode
    using device properties.  Machine types can have a list of properties
    for specific devices attached to allow the easy creation of machine
    types compatible to older qemu versions.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:52 -0500  
    Browse File »
  • qdev: factor out driver search to qdev_find_info() ...
    81ebb98b
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:52 -0500  
    Browse Code »
  • cleanup: drop unused struct elements from VirtIOPCIProxy. ...
    15239b2e
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:51 -0500  
    Browse Code »
  • qdev: rework device properties. ...
    ee6847d1
    This patch is a major overhaul of the device properties.  The properties
    are saved directly in the device state struct now, the linked list of
    property values is gone.
    
    Advantages:
      * We don't have to maintain the list with the property values.
      * The value in the property list and the value actually used by
        the device can't go out of sync any more (used to happen for
        the pci.devfn == -1 case) because there is only one place where
        the value is stored.
      * A record describing the property is required now, you can't set
        random properties any more.
    
    There are bus-specific and device-specific properties.  The former
    should be used for properties common to all bus drivers.  Typical
    use case is bus addressing, i.e. pci.devfn and i2c.address.
    
    Properties have a PropertyInfo struct attached with name, size and
    function pointers to parse and print properties.  A few common property
    types have PropertyInfos defined in qdev-properties.c.  Drivers are free
    to implement their own very special property parsers if needed.
    
    Properties can have default values.  If unset they are zero-filled.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Gerd Hoffmann authored
    2009-07-16 17:28:51 -0500  
    Browse Code »
  • monitor: Add port write command ...
    f114784f
    Useful for testing hardware emulations or manipulating its state to
    stress guest drivers.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 17:28:51 -0500  
    Browse Code »
  • Initialize PS2 keyboard / mouse state on reset ...
    ef74679a
    Currently only common PS2 state is initialized, leaving keyboard and
    mouse specific state to contain stale values.
    
    Signed-off-by: Dinesh Subhraveti <dineshs@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Dinesh Subhraveti authored
    2009-07-16 17:28:51 -0500  
    Browse Code »
  • fix segfault in setting migration speed ...
    0bb05eaf
    Hi,
    
    Whoever wrote this migrate_set_speed function is totally stupid.
    
    Any failed or completed migration keeps its state to allow probing of
    migration data, but has no associated file anymore. It is, thus,
    possible to crash qemu by calling migrate_set_speed after a migration
    is finished (or failed, or cancelled), but before another one starts.
    
    This patch fixes it.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Glauber Costa authored
    2009-07-16 17:28:51 -0500  
    Browse Code »
  • Remove dead i386 assembly code from softmmu_header.h ...
    9f6839d4
    This patch removes dead i386 assembly code from softmmu_header.h.
    
    The code is conditional on ASM_SOFTMMU, which is never defined.
    Optimisation for the fast path is already handled by tcg_out_qemu_ld()
    and tcg_out_qemu_st(), so there seems to be little need for this code.
    
    Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Stuart Brady authored
    2009-07-16 17:28:50 -0500  
    Browse File »
  • qemu-io: use BDRV_O_FILE to implement the growable open option ...
    1db6947d
    Instead of doing our own check for protocols which fails because raw isn't
    formally a protocol but special cased in find_protocol specify the BDRV_O_FILE
    option to use the same code as bdrv_file_open does.
    
    While we're at it also add the missing documentation for -g to the main
    qemu-io help string.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Christoph Hellwig authored
    2009-07-16 17:28:50 -0500  
    Browse File »
  • tlb flush cleanup ...
    08738984
    Use static empty variable s_cputlb_empty_entry to clear entries,
    also reset addend member when clearing entries.
    This helps running with valgrind/memcheck
    
    Signed-off-by: igor.v.kovalenko@gmail.com
    
    --
    Kind regards,
    Igor V. Kovalenko
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Igor Kovalenko authored
    2009-07-16 17:28:50 -0500  
    Browse Code »
  • Reset HPET config register on hpet_reset ...
    7d93b1fa
    Without this, after system reset, hpet does not detect transition from
    non-legacy to legacy mode.
    
    Signed-off-by: Beth Kon <eak@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Beth Kon authored
    2009-07-16 17:28:50 -0500  
    Browse Code »
  • qemu-io: Implement bdrv_load_vmstate/bdrv_save_vmstate ...
    ca94dbc7
    The load_vmstate and save_vmstate functions are implemented as a
    variation of the normal read/write operation, enabled by the -b option.
    This is the same mechanism as is used to switch from read/write to
    pread/pwrite.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Kevin Wolf authored
    2009-07-16 17:28:50 -0500  
    Browse Code »
  • Handle vga= in -append ...
    bf4e5d92
    Here is a patch I had sent twice to the list 2 years ago.
    Hopefuly this time someone will be interested
    
    It adds support for passing vga mode to linux kernel through
    vga= option in -append
    
    Signed-off-by: Pascal Terjan <pterjan@gmail.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Pascal Terjan authored
    2009-07-16 17:28:50 -0500  
    Browse Code »
  • ioport: use uint{32, 16, 8}_t for ioport value and pio_addr_t for ioport address. ...
    07323531
    Using int for cpu_{in, out}[bwl] is inconsistent with other part
    because for address or value, uintN_t is used by other qemu part.
    At least, softmmu, CPU{Read, Write}MemoryFunc, pci, target_phys_addr_t
    and the callers of cpu_{in, out}[bwl]().
    This patch removes the inconsistency.
    
    IO port has its own address space so define pio_addr_t as uint32_t
    because PCI io space width is 32bit.
    And use uint{32, 16, 8}_t for ioport value.
    Changing signedness of value might cause subtle issue. However
    only a suspicious caller is kvm_handle_io() which is ok. And other callers
    pass unsigned value in the first place.
    
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Cc: Stuart Brady <sdbrady@ntlworld.com>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    Cc: Samuel Thibault <samuel.thibault@gnu.org>
    Cc: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-16 17:28:50 -0500  
    Browse Code »
  • ioport: remove some #ifdef DEBUG_UNUSED_IOPORT. ...
    fc7083b5
    remove some #ifdef DEBUG_UNUSED_IOPORT in ioport.c
    and use PRIx32 where appropriate
    
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-16 17:28:49 -0500  
    Browse Code »
  • raw-posix: Handle errors in raw_create ...
    1e37d059
    In qemu-iotests, some large images are created using qemu-img.
    
    Without checks for errors, qemu-img will just create an
    empty image, and later read / write tests will fail.
    
    With the patch, failures during image creation are detected
    and reported.
    
    Signed-off-by: Stefan Weil <weil@mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Stefan Weil authored
    2009-07-16 17:28:49 -0500  
    Browse Dir »
  • omit 3DNOW! CPUID bits from qemu64 CPU model ...
    09ac35ac
    Since we recently do not disable 3DNOW! support anymore, we should
    avoid setting the bits in the default qemu64 CPU model to ease
    migration. TCG does not support it anyway and even AMD deprecates
    it's usage nowadays.
    If you want to use it in KVM, use the phenom, athlon or host CPU
    model.
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Andre Przywara authored
    2009-07-16 17:28:49 -0500  
    Browse File »
  • honor -S on incoming migration ...
    89befdd1
    -S is not honored by qemu on incoming migration.  If a domain is migrated
    while paused, thus, it will start running on the remote machine; this
    is wrong.
    
    Given the trivial patch to fix this, it looks more like a thinko
    than anything else, probably dating back to the qemu-kvm merge.
    The interesting part is that the -S mechanism was in fact *used* when
    migrating (setting autostart = 0) and the incoming migration code was
    starting the VM at the end of the migration.
    
    Since I was removing the vm_start from there, I also corrected a related
    imprecision.  The code was doing a vm_stop "just in case", but we can
    be sure that the VM is not running---the vm_start call in vl.c has not
    been reached yet.  So the vm_stop is removed together with the vm_start.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Paolo Bonzini authored
    2009-07-16 17:28:49 -0500  
    Browse Code »
  • Update to a hopefully more future proof FSF address ...
    8167ee88
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 20:47:01 +0000  
    Browse Code »
  • Sparc32: convert slavio interrupt controller to qdev ...
    a1961a4b
    Also increase QDEV_MAX_IRQ.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 14:15:34 +0000  
    Browse Code »
  • Sparc32: refactor CPU init ...
    666713c0
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 13:48:20 +0000  
    Browse Code »
  • Sparc32: convert memory to qdev ...
    a350db85
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 13:48:14 +0000  
    Browse Code »
  • Sparc32: convert boot prom to qdev ...
    f48f6569
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 13:48:10 +0000  
    Browse Code »