aboutsummaryrefslogtreecommitdiff
path: root/hw
AgeCommit message (Collapse)AuthorFilesLines
2009-05-22kvm: Fix framebuffer dirty log syncJan Kiszka1-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>
2009-05-22introduce set_rate_limit function for QEMUFileGlauber Costa1-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>
2009-05-21Introduce is_default field for QEMUMachineAnthony Liguori10-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>
2009-05-21Refactor how display drivers are selectedAnthony Liguori2-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>
2009-05-21Compile most Xen files only onceBlue Swirl1-0/+1
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-05-21Compile fdc, escc and SCSI controllers only onceBlue Swirl1-2/+3
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-05-21Let the venomous poison spread to more identifiersBlue Swirl1-0/+23
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-05-21Convert machine registration to use module init functionsAnthony Liguori35-163/+318
This cleans up quite a lot of #ifdefs, extern variables, and other ugliness. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-20Remove initrd warning messageRichard W.M. Jones1-3/+0
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2009-05-20keep initrd in below 4g area.Glauber Costa1-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>
2009-05-20Remove dead codemalc1-14/+7
Signed-off-by: malc <av1474@comtv.ru>
2009-05-19Hardware convenience libraryPaul Brook4-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>
2009-05-19Disable >4G ram support on 32-bit targetsPaul Brook1-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>
2009-05-19Remove obsolete BIOS_SIZE from sysemu.hPaul Brook8-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>
2009-05-18cris: First shot at qdev for CRIS interrupts.Edgar E. Iglesias5-47/+113
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-18etrax: Don't keep the passed irq pointer.Edgar E. Iglesias1-3/+3
Copy passed irq object at channel connect. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-18etrax: Remove unused eth irq line.Edgar E. Iglesias4-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>
2009-05-18Syborg virtio bindings.Paul Brook2-0/+292
Implement Syborg device bindings for virtio-net. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-18Separate virtio PCI codePaul Brook13-299/+472
Split the PCI host bindings from the VRing transport implementation. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-17Consistently use uint64_t for int propertiesPaul Brook2-3/+3
I apparently failed to do this properly on the first attempt. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-16ETRAX-PIC: Untabify.Edgar E. Iglesias1-88/+88
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-16ETRAX-TIMER: qdevify.Edgar E. Iglesias4-39/+38
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-16ETRAX-TIMER: Untabify.Edgar E. Iglesias1-229/+229
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-16ETRAX-SER: Untabify.Edgar E. Iglesias1-93/+93
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-16ETRAX-SER: qdevify.Edgar E. Iglesias4-44/+34
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-16ETRAX: Simplify PIC interface.Edgar E. Iglesias4-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>
2009-05-15ETRAX: Correct passing of kernel command line.Edgar E. Iglesias2-4/+4
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-14Syborg (Symbian Virtual Platform) boardPaul Brook10-0/+2084
A virtual reference platform for SymbianOS development/debugging. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14PXA SSI qdev conversionPaul Brook9-214/+263
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Stellaris SSI qdev conversionPaul Brook7-80/+95
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14SSP bus frameworkPaul Brook2-0/+93
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Stellaris I2C qdev conversionPaul Brook1-7/+18
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14I2C cleanupPaul Brook2-26/+0
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Remove bogus omap i2c slave codePaul Brook1-67/+0
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14SMBus qdev conversionPaul Brook5-51/+78
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14TOSC DAC i2c qdev voncersionPaul Brook1-7/+22
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14TWL92230 qdev conversionPaul Brook3-46/+30
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14WM8750 qdev coversionPaul Brook4-21/+24
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14TMP105 qdev conversionPaul Brook3-12/+20
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14PXA2xx I2C slave qdev conversionPaul Brook1-13/+42
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14LM832x qdev conversionPaul Brook3-16/+23
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14MAX7310 I2C qdev conversionPaul Brook3-12/+19
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14SSD0303 qdev conversionPaul Brook3-11/+17
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14I2C qdev supportPaul Brook2-10/+67
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14MusicPal qdev conversionPaul Brook1-63/+87
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14ARM GIC qdev conversionPaul Brook8-124/+168
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14ARM PCI host qdev conversionPaul Brook4-37/+62
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Virtio-console conversionPaul Brook4-24/+17
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Virtio-balloon qdev conversionPaul Brook3-14/+12
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Virtio-blk qdev conversionPaul Brook6-18/+15
Signed-off-by: Paul Brook <paul@codesourcery.com>