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
32 commits
  • 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 »
  • Sparc32: convert iommu to qdev ...
    5f750b2e
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 13:47:55 +0000  
    Browse Code »
  • Sparc32: convert cs4231 to qdev ...
    fa28ec52
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 13:47:45 +0000  
    Browse File »
  • Sparc32: fix SDL zooming with TCX ...
    d3ffcafe
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-16 13:45:57 +0000  
    Browse Code »
  • Don't copy multiboot.bin into pc-bios after built ...
    24d904ea
    That dirties the working directory of the tree.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-16 08:28:14 -0500  
    Browse Dir »
  • Fix multiboot.bin build on mingw32 ...
    7aa486fe
    This combination of ld/object was suggested by Bartlomiej Celary
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-16 08:28:14 -0500  
    Browse Dir »
  • Fix non-ACPI Timer Interrupt Routing - v3 ...
    b8c0e7d7
    v1 -> v2 adds comment suggested by Ryan.
    v2 -> v3 clarifies comment and corrects entry count
    
    Signed-off-by: Beth Kon <eak@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-16 08:28:14 -0500  
    Browse File »
  • pci.c: remove unnecessary #ifdef DEBUG_PCI. ...
    d8d2e079
    remove unnecessary #ifdef DEBUG_PCI.
    
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Isaku Yamahata authored
    2009-07-16 08:28:13 -0500  
    Browse Code »
  • replace bdrv_{get, put}_buffer with bdrv_{load, save}_vmstate ...
    45566e9c
    The VM state offset is a concept internal to the image format.  Replace
    the old bdrv_{get,put}_buffer method that require an index into the
    image file that is constructed from the VM state offset and an offset
    into the vmstate with the bdrv_{load,save}_vmstate that just take an
    offset into the VM state.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Christoph Hellwig authored
    2009-07-16 08:28:13 -0500  
    Browse Code »
  • bios: Fix multiple calls into smbios_load_ex ...
    e1e8f35a
    We're marking the used entry bitmap in smbios_load_external() for each
    type we check, regardless of whether we loaded anything.  This makes
    subsequent calls behave as if we've already loaded the tables from qemu
    and can result in missing tables (ex. multiple type4 entries on an SMP
    guest).  Only mark the bitmap if we actually load something.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-16 08:28:13 -0500  
    Browse Dir »
  • gdbstub: x86: Support for setting segment registers ...
    84273177
    This allows to set segment registers via gdb also in system emulation
    mode. Basic sanity checks are applied and nothing is changed if they
    fail. But screwing up the target via this interface will never be
    complicated, so I avoided being too paranoid here.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:13 -0500  
    Browse Code »
  • gdbstub: x86: Refactor register access ...
    b1631e7a
    Clarify gdb's register set layout by using constants for
    cpu_gdb_read/write_register.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:13 -0500  
    Browse Code »
  • gdbstub: Add vCont support ...
    dd32aa10
    This patch adds support for the vCont remote gdb command. It is used by
    gdb 6.8 or better to switch the debugging focus for single-stepping
    multi-threaded targets, ie. multi-threaded application in user mode
    emulation or VCPUs in system emulation.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:13 -0500  
    Browse Code »
  • slirp: Fix default netmask to 255.255.255.0 ...
    8389e7f4
    This got broken between a13a4126 and c92ef6a2: old slirp code used
    255.255.255.0.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Regenerate BIOS and add patches for -boot option ...
    ef2039f1
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori authored
    2009-07-16 08:28:12 -0500  
    Browse File »
  • Update boot option documentation ...
    2221dde5
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Add boot menu control via command line switch ...
    95387491
    Disable the lengthy BIOS prompt for selecting a boot device by default,
    but let the user reenable it via '-boot menu=on'.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Add boot-once support ...
    e0f084bf
    This allows to specify an exceptional boot order only for the first
    startup of the guest. After reboot, qemu will switch back to the default
    order (or what was specified via 'order='). Makes installing from CD
    images and then booting the freshly set up harddisk more handy.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Add qemu_unregister_reset ...
    dda9b29f
    Will be used by '-boot once=...', and should also help in other use
    cases.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Rework reset handler management ...
    55ddfe8e
    Convert the reset handler maintenance code to TAILQ services.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Move boot_set callback backend ...
    76e30d0f
    Move registration function for the boot_set callback handler and provide
    qemu_boot_set so that it can also be used outside the monitor code.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:12 -0500  
    Browse Code »
  • Rework -boot option ...
    ef3adf68
    This patch changes the boot command line option to the canonical format
    
     -boot [order=drives][,...]
    
    where 'drives' is using the same format as the old -boot. The format
    switch allows to add the 'menu' and 'once' options in later patches. The
    old format is still understood and will be processed at least for a
    transition time.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
    2009-07-16 08:28:11 -0500  
    Browse Code »
  • Add a pc-0-10 machine type for compatibility with 0.10.x ...
    e8b2a1c6
    Add a pc-0-10 machine type to allow a pc machine to be created with
    virtio block and console devices compatibility with qemu-0.10.x.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-16 08:28:11 -0500  
    Browse Code »
  • Change default PCI class of virtio-console to PCI_CLASS_SERIAL_OTHER ...
    21d58b57
    We're using PCI_CLASS_DISPLAY_OTHER now, but qemu-kvm.git is using
    PCI_CLASS_OTHERS because:
    
      "As a PCI_CLASS_DISPLAY_OTHER, it reduces primary display somehow on
       Windows XP (possibly Windows disables acceleration since it fails
       to find a driver)."
    
    While this is valid, many versions of X will get confused by it.
    Class major number of 0 gets treated as a possibly prehistoric VGA
    device, and then the autoconfig logic gets confused trying to figure
    out whether the virtio console or the pv vga device are the real VGA.
    
    We should really set a proper class ID. 0x0780 (serial / other) seems
    most appropriate. This shouldn't require any kernel changes, the
    modalias for virtio looks like:
    
      alias:          pci:v00001AF4d*sv*sd*bc*sc*i*
    
    so won't care what the base class or subclass are.
    
    It shows up in the guest as:
    
      00:05.0 Communication controller: Qumranet, Inc. Virtio console
    
    A new qdev type is introduced to allow devices using the old class
    to be created for compatibility with qemu-0.10.x.
    
    Reported-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-16 08:28:10 -0500  
    Browse Code »
  • Change default PCI class of virtio-blk to PCI_CLASS_STORAGE_SCSI ...
    5c634ef3
    Windows virtio driver cannot pass DTM (certification) tests while the
    storage class is PCI_CLASS_STORAGE_UNKNOWN.
    
    A new qdev type is introduced to allow devices using the old class
    to be created for compatibility with qemu-0.10.x.
    
    Reported-by: Dor Laor <dlaor@redhat.com>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
    2009-07-16 08:28:10 -0500  
    Browse Dir »

15 Jul, 2009
5 commits
  • Sparc32: convert sparc32_dma to qdev ...
    6f6260c7
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-15 20:45:19 +0000  
    Browse Code »
  • Avoid SIGSEGV when dumping cpu state without enabled logging ...
    430c7ec7
    Signed-off-by: malc <av1474@comtv.ru>
    malc authored
    2009-07-15 21:03:34 +0400  
    Browse Code »
  • Convert fdc to qdev ...
    f64ab228
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-15 14:41:54 +0000  
    Browse Code »
  • Sparc32: convert slavio timers to qdev ...
    c70c59ee
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-15 08:53:09 +0000  
    Browse Dir »
  • Sparc32/PPC: convert escc to qdev ...
    6c319c82
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-15 08:51:32 +0000  
    Browse Dir »

13 Jul, 2009
3 commits
  • Sparc32: convert slavio_misc to qdev ...
    2582cfa0
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-13 16:51:27 +0000  
    Browse Code »
  • Sparc32: convert idreg to qdev ...
    325f2747
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Blue Swirl authored
    2009-07-13 16:11:08 +0000  
    Browse Dir »
  • target-ppc: enable PPC_MFTB for 44x ...
    f4078236
    According to PPC440 user manual, PPC 440 supports ``mftb'' even it's a
    preserved instruction:
    
    PPC440_UM2013.pdf, p.445, table A-3
    
    when I compile a kernel (2.6.30, bamboo_defconfig/440EP &
    canyonlands/460EX), I can see ``mftb'' by using ppc-xxx-objdump
    vmlinux
    
    I have also checked the ppc 440x[456], 460S, 464, they also should support mftb.
    
    The following patch enable mftb for all ppc 440 variants, including:
    440EP, 440GP, 440x4, 440x5 and 460
    
    Signed-off-by: Baojun Wang <wangbj@gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    Baojun Wang authored
    2009-07-13 01:58:12 +0200  
    Browse Dir »