summaryrefslogtreecommitdiffstats
path: root/hw
Commit message (Collapse)AuthorAgeFilesLines
* kvm: Fix framebuffer dirty log syncJan Kiszka2009-05-221-4/+1
| | | | | | | | | kvm_physical_sync_dirty_bitmap() takes the end address as second argument, not the region size. Moverover, the kvm API should not be used directly here, but cpu_physical_sync_dirty_bitmap(). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* introduce set_rate_limit function for QEMUFileGlauber Costa2009-05-221-1/+9
| | | | | | | This patch converts the current callers of qemu_fopen_ops(). Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Introduce is_default field for QEMUMachineAnthony Liguori2009-05-2110-1/+10
| | | | | | | | f80f9ec changed the order that machines are registered which had the effect of changing the default machine. This changeset introduces a new is_default field so that machine types can declare that they are the default for an architecture. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Refactor how display drivers are selectedAnthony Liguori2009-05-212-4/+4
| | | | | | | | | | | My previous commit, f92f8afebe, broke -vnc (spotted by Glauber Costa). This is because it's necessary to tell when the no special display parameters have been passed and default to SDL or VNC appropriately. This refactors the display selection logic to be less complicated which has the effect of fixing the regression mentioned above. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Compile most Xen files only onceBlue Swirl2009-05-211-0/+1
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Compile fdc, escc and SCSI controllers only onceBlue Swirl2009-05-211-2/+3
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Let the venomous poison spread to more identifiersBlue Swirl2009-05-211-0/+23
| | | | Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Convert machine registration to use module init functionsAnthony Liguori2009-05-2135-163/+318
| | | | | | This cleans up quite a lot of #ifdefs, extern variables, and other ugliness. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Remove initrd warning messageRichard W.M. Jones2009-05-201-3/+0
| | | | Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
* keep initrd in below 4g area.Glauber Costa2009-05-201-4/+5
| | | | | | | | initrd must be kept on the memory area below 4g. By not doing this, we're seeing guests break while using -initrd and values of -mem superior to 4096. Signed-off-by: Glauber Costa <glommer@redhat.com>
* Remove dead codemalc2009-05-201-14/+7
| | | | Signed-off-by: malc <av1474@comtv.ru>
* Hardware convenience libraryPaul Brook2009-05-194-3/+37
| | | | | | | | | | | | | | The only target dependency for most hardware is sizeof(target_phys_addr_t). Build these files into a convenience library, and use that instead of building for every target. Remove and poison various target specific macros to avoid bogus target dependencies creeping back in. Big/Little endian is not handled because devices should not know or care about this to start with. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Disable >4G ram support on 32-bit targetsPaul Brook2009-05-191-0/+4
| | | | | | | If the target only has a 32-bit physical address space then the code to map >4G ram breaks horribly, and causes compiler warnings. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Remove obsolete BIOS_SIZE from sysemu.hPaul Brook2009-05-198-25/+14
| | | | | | | BIOS_SIZE is no longer needed by vl.c, so there's no point having it in sysemu.h. Signed-off-by: Paul Brook <paul@codesourcery.com>
* cris: First shot at qdev for CRIS interrupts.Edgar E. Iglesias2009-05-185-47/+113
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* etrax: Don't keep the passed irq pointer.Edgar E. Iglesias2009-05-181-3/+3
| | | | | | Copy passed irq object at channel connect. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* etrax: Remove unused eth irq line.Edgar E. Iglesias2009-05-184-10/+6
| | | | | | | The ethernet blocks irq line to report errors is unimplemented in QEMU. Remove it for now. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Syborg virtio bindings.Paul Brook2009-05-182-0/+292
| | | | | | Implement Syborg device bindings for virtio-net. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Separate virtio PCI codePaul Brook2009-05-1813-299/+472
| | | | | | Split the PCI host bindings from the VRing transport implementation. Signed-off-by: Paul Brook <paul@codesourcery.com>
* Consistently use uint64_t for int propertiesPaul Brook2009-05-172-3/+3
| | | | | | I apparently failed to do this properly on the first attempt. Signed-off-by: Paul Brook <paul@codesourcery.com>
* ETRAX-PIC: Untabify.Edgar E. Iglesias2009-05-161-88/+88
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* ETRAX-TIMER: qdevify.Edgar E. Iglesias2009-05-164-39/+38
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* ETRAX-TIMER: Untabify.Edgar E. Iglesias2009-05-161-229/+229
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* ETRAX-SER: Untabify.Edgar E. Iglesias2009-05-161-93/+93
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* ETRAX-SER: qdevify.Edgar E. Iglesias2009-05-164-44/+34
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* ETRAX: Simplify PIC interface.Edgar E. Iglesias2009-05-164-48/+36
| | | | | | | | Instead of exporting a custom structure to represent different interrupt types, just export the irq array and have the top elements point to the NMI lines. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* ETRAX: Correct passing of kernel command line.Edgar E. Iglesias2009-05-152-4/+4
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Syborg (Symbian Virtual Platform) boardPaul Brook2009-05-1410-0/+2084
| | | | | | A virtual reference platform for SymbianOS development/debugging. Signed-off-by: Paul Brook <paul@codesourcery.com>
* PXA SSI qdev conversionPaul Brook2009-05-149-214/+263
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Stellaris SSI qdev conversionPaul Brook2009-05-147-80/+95
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* SSP bus frameworkPaul Brook2009-05-142-0/+93
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Stellaris I2C qdev conversionPaul Brook2009-05-141-7/+18
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* I2C cleanupPaul Brook2009-05-142-26/+0
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Remove bogus omap i2c slave codePaul Brook2009-05-141-67/+0
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* SMBus qdev conversionPaul Brook2009-05-145-51/+78
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* TOSC DAC i2c qdev voncersionPaul Brook2009-05-141-7/+22
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* TWL92230 qdev conversionPaul Brook2009-05-143-46/+30
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* WM8750 qdev coversionPaul Brook2009-05-144-21/+24
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* TMP105 qdev conversionPaul Brook2009-05-143-12/+20
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* PXA2xx I2C slave qdev conversionPaul Brook2009-05-141-13/+42
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* LM832x qdev conversionPaul Brook2009-05-143-16/+23
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* MAX7310 I2C qdev conversionPaul Brook2009-05-143-12/+19
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* SSD0303 qdev conversionPaul Brook2009-05-143-11/+17
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* I2C qdev supportPaul Brook2009-05-142-10/+67
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* MusicPal qdev conversionPaul Brook2009-05-141-63/+87
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* ARM GIC qdev conversionPaul Brook2009-05-148-124/+168
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* ARM PCI host qdev conversionPaul Brook2009-05-144-37/+62
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Virtio-console conversionPaul Brook2009-05-144-24/+17
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Virtio-balloon qdev conversionPaul Brook2009-05-143-14/+12
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
* Virtio-blk qdev conversionPaul Brook2009-05-146-18/+15
| | | | Signed-off-by: Paul Brook <paul@codesourcery.com>
OpenPOWER on IntegriCloud