summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PL050 qdev conversionPaul Brook2009-05-145-17/+34
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* PL011 qdev conversionPaul Brook2009-05-146-40/+50
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* PL110 qdev conversionPaul Brook2009-05-145-19/+30
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* qdev scsi bus infrastructurePaul Brook2009-05-142-0/+23
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* PCI qdev supportPaul Brook2009-05-142-7/+56
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* qdev child bus supportPaul Brook2009-05-142-0/+36
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Basic qdev infrastructure.Paul Brook2009-05-149-2/+512
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Move block drivers into their own directoryAnthony Liguori2009-05-1415-8/+9
| | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Convert block infrastructure to use new module init functionalityAnthony Liguori2009-05-1416-60/+141
| | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Constructor supportAnthony Liguori2009-05-146-17/+145
| | | | | | | | | Allow devices/drivers to register themselves via constructors. Destructors are not needed (can be registered from a constructor) and "priority" has been renamed and changed to an enum for clarity. Signed-off-by: Paul Brook <paul@codesourcery.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Add a --disable-docs to configure to allow doc build to be disabledAnthony Liguori2009-05-141-4/+5
| | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Remove duplicate block objects.Paul Brook2009-05-141-8/+0
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Remove any pretense that there can be more than one AudioStatemalc2009-05-1416-103/+80
|
* Remove redundant pcnet.oPaul Brook2009-05-131-1/+1
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Add tool_osdep.cPaul Brook2009-05-133-3/+10
| | | | | | | | | | osdep.c is built in both as a toplevel target independant object, and as a per-target object because of kqemu dependencies. Under some circumstances make picks up the wrong one. Build the former as tool-osdep to avoid this conflict. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Include assert.h from qemu-common.hPaul Brook2009-05-1328-28/+1
| | | | | | | Include assert.h from qemu-common.h and remove other direct uses. cpu-all.h still need to include it because of the dyngen-exec.h hacks Signed-off-by: Paul Brook <paul@codesourcery.com>
* Replace gcc variadic macro extension with C99 version (missed one)Blue Swirl2009-05-131-3/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Replace gcc variadic macro extension with C99 versionBlue Swirl2009-05-1370-268/+268
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Fix kqemu build failure.Paul Brook2009-05-131-1/+1
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Remove vga_ram_sizePaul Brook2009-05-1342-133/+126
| | | | | | | | | | The vga_ram_size argument to machine init functions always has the same value, and is ignored by many machines (including SPARC32 which has an obsolete ifdef for VGA_RAM_SIZE). Remove it and push VGA_RAM_SIZE into vga_int.h. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Fix typo that leads to out of bounds array access on big endian systemsmalc2009-05-131-1/+1
|
* ETRAX: Correct setting of ethernet station address.Edgar E. Iglesias2009-05-131-2/+2
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Follow coding conventions.Paul Brook2009-05-121-6/+6
| | | | | | More structure renaming. Signed-off-by: Paul Brook <paul@codesourcery.com>
* CRIS: Fix bmi.Edgar E. Iglesias2009-05-121-1/+2
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Push AUD_init down to devicesPaul Brook2009-05-1223-102/+46
| | | | | | | | Now we can safely call AUD_init multiple times we can push it down to individual audio devices, rather than having to pass it from the board init. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Make AUD_init failure fatalPaul Brook2009-05-126-50/+35
| | | | | | | | | | | | Failure to initialize the audio subsystem is not handled consistently. Where it is handled it has guest visible effects, which is wrong. We already have a "nosound" audio driver as a last resort, so trying to proceed without an audio backend seems pointless. Also protect against multiple calls to AUD_init so that this can be pushed down into individual devices. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Update docs on dynamic condition code calculationBlue Swirl2009-05-101-3/+5
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert mulsccBlue Swirl2009-05-101-131/+2
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert udiv/sdivBlue Swirl2009-05-102-19/+31
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert tagged opsBlue Swirl2009-05-102-129/+85
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert subxBlue Swirl2009-05-102-31/+50
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert subBlue Swirl2009-05-102-37/+83
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert logical operations and umul/smulBlue Swirl2009-05-102-24/+43
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert addxBlue Swirl2009-05-102-31/+50
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert addBlue Swirl2009-05-102-21/+99
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Use dynamical computation for condition codesBlue Swirl2009-05-105-24/+196
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Follow coding conventionsPaul Brook2009-05-1056-862/+864
| | | | | | Remove explicit struct qualifiers and rename structure types. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Workaround compiler warnings at -O1Paul Brook2009-05-091-2/+6
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Fixe ARM NEON vrshl.Paul Brook2009-05-091-2/+2
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Add m68k_cpu_list()Laurent Vivier2009-05-092-0/+12
| | | | | | | | | | | | This patch adds to m68k target the missing m68k_cpu_list(): $ ./m68k-softmmu/qemu-system-m68k -cpu ? m5206 m5208 cfv4e any Signed-off-by: Laurent Vivier <laurent@vivier.eu>
* Fix in file qemu-sockets.cvibi2009-05-081-30/+32
| | | | | | | | | 1) Changed usage of malloc,free,strdup to qemu_malloc,qemu_free,qemu_strdup 2) Some coding style fixes (based on CODING_STYLE document) 3) Free struct addrinfo *res after failure of listen Signed-off-by: vibi <vibi_sreenivasan@cms.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* vga: Replace VGA_COMMON with a structureAvi Kivity2009-05-085-472/+472
| | | | | | | | | | | | | | All VGA devices share a common field subset; currently they do so by a macro which defines the common fields inline their state structures, relying on the the common state being placed at offset 0 in the structure. This makes refactoring the code difficult and requires a lot of error prone casts. Replace the macro by a new VGACommonState structure, and the casts by regular field access and container_of() for upcasts. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Improve block range checksKevin Wolf2009-05-081-1/+6
| | | | | | | | | This patch makes the range checks for block requests more strict: It fixes a potential integer overflow and checks for negative offsets. Also, it adds the check for compressed writes. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Remove noisy printf when KVM masks CPU featuresAnthony Liguori2009-05-081-1/+0
| | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* fix asynchronous ioctlsChristoph Hellwig2009-05-081-1/+10
| | | | | | | | posix_aio_read expect aio requests to return the number of bytes requests to be successfull, so we need to fake this up for ioctls. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* kvm: Trim cpu features not supported by kvmAvi Kivity2009-05-081-0/+30
| | | | | | | | Remove cpu features that are not supported by kvm from the cpuid features reported to the guest. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Fix x86 feature modifications for features that set multiple bitsAvi Kivity2009-05-081-5/+8
| | | | | | | | | | | | QEMU allows adding or removing cpu features by using the syntax '-cpu +feature' or '-cpu -feature'. Some cpuid features cause more than one bit to be set or cleared; but QEMU stops after just one bit has been modified, causing the feature bits to be inconsistent. Fix by allowing all feature bits corresponding to a given name to be set. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Make x86 cpuid feature names available in file scopeAvi Kivity2009-05-081-27/+28
| | | | | | | To be used later. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* kvm: Add support for querying supported cpu featuresAvi Kivity2009-05-082-0/+83
| | | | | | | | kvm does not support all cpu features; add support for dunamically querying the supported feature set. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Introduce kvm_check_extension to check if KVM extensions are supportedAnthony Liguori2009-05-082-17/+24
| | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud