microblaze: Conditionalize FDT features.
If libfdt is not available, disable the fdt manipulation features.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
microblaze: Add petalogix s3a1800dsp MMU linux ref-design.
This setup was designed by petalogix and is supported by upstream linux.The design targets a xilinx spartan-3a-1800 dsp board with MMU.
xilinx: Add ethlite emulation.
xilinx: Add uartlite emulation.
xilinx: Add OPB timer.
microblaze: Add CPU interrupt wrapper logic.
xilinx: Add interrupt controller.
Remove qdev irq sink handling
We have both IRQ sinks and GPIO inputs. These are in principle exactlythe same thing, so remove the former.
Signed-off-by: Paul Brook <paul@codesourcery.com>
ETRAX: Removed unused struct entry and fixed Windows build.
"struct timeval last" caused a compilation error with mingw32(missing header for struct timeval).
It is unused, so it was possible to remove it.
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>...
Add common BusState
Implement and use a common device bus state. The main side-effect isthat creating a bus and attaching it to a parent device are no longerseparate operations. For legacy code we allow a NULL parent, but thatshould go away eventually....
Fix lance segfaults
serial: fix lost character after sysrq
After creating an automated regression test to test the sysrqresponses while running a linux image in qemu, I found that thesimulated uart was eating the character right after the sysrq about75% of the time.
The problem is that the qemu sets the LSR_DR (data ready) bit on a...
Introduce reset notifier order
Add the parameter 'order' to qemu_register_reset and sort callbacks onregistration. On system reset, callbacks with lower order will beinvoked before those with higher order. Update all existing users to thestandard order 0....
usb-serial: implement break event.
Implement the serial break via usb serial.
The second data byte in ftdi status packet contains the break status.The values were already defined in usb-serial.c so it was a matter ofmaking use of the event_trigger to form a urb to send over to the host...
kvm: Fix framebuffer dirty log sync
kvm_physical_sync_dirty_bitmap() takes the end address as secondargument, not the region size. Moverover, the kvm API should not be useddirectly here, but cpu_physical_sync_dirty_bitmap().
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
introduce set_rate_limit function for QEMUFile
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>
Refactor how display drivers are selected
My previous commit, f92f8afebe, broke -vnc (spotted by Glauber Costa). Thisis because it's necessary to tell when the no special display parameters havebeen passed and default to SDL or VNC appropriately.
This refactors the display selection logic to be less complicated which has...
Introduce is_default field for QEMUMachine
f80f9ec changed the order that machines are registered which had the effect ofchanging the default machine. This changeset introduces a new is_default fieldso that machine types can declare that they are the default for an architecture....
Compile most Xen files only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Compile fdc, escc and SCSI controllers only once
Let the venomous poison spread to more identifiers
Convert machine registration to use module init functions
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 message
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
keep initrd in below 4g area.
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 -memsuperior to 4096.
Signed-off-by: Glauber Costa <glommer@redhat.com>
Remove dead code
Signed-off-by: malc <av1474@comtv.ru>
Hardware convenience library
The only target dependency for most hardware is sizeof(target_phys_addr_t).Build these files into a convenience library, and use that instead ofbuilding for every target.
Remove and poison various target specific macros to avoid bogus target...
Disable >4G ram support on 32-bit targets
If the target only has a 32-bit physical address space thenthe code to map >4G ram breaks horribly, and causes compiler warnings.
Remove obsolete BIOS_SIZE from sysemu.h
BIOS_SIZE is no longer needed by vl.c, so there's no point having it insysemu.h.
cris: First shot at qdev for CRIS interrupts.
etrax: Don't keep the passed irq pointer.
Copy passed irq object at channel connect.
etrax: Remove unused eth irq line.
The ethernet blocks irq line to report errors is unimplemented in QEMU.Remove it for now.
Syborg virtio bindings.
Implement Syborg device bindings for virtio-net.
Separate virtio PCI code
Split the PCI host bindings from the VRing transport implementation.
Consistently use uint64_t for int properties
I apparently failed to do this properly on the first attempt.
ETRAX-PIC: Untabify.
ETRAX-TIMER: qdevify.
ETRAX-TIMER: Untabify.
ETRAX-SER: Untabify.
ETRAX-SER: qdevify.
ETRAX: Simplify PIC interface.
Instead of exporting a custom structure to represent differentinterrupt types, just export the irq array and have the topelements point to the NMI lines.
ETRAX: Correct passing of kernel command line.
Syborg (Symbian Virtual Platform) board
A virtual reference platform for SymbianOS development/debugging.
Stellaris I2C qdev conversion
SSP bus framework
Stellaris SSI qdev conversion
PXA SSI qdev conversion
PL080 qdev conversion
Virtio-blk qdev conversion
Virtio-balloon qdev conversion
Virtio-console conversion
ARM PCI host qdev conversion
ARM GIC qdev conversion
MusicPal qdev conversion
I2C qdev support
SSD0303 qdev conversion
MAX7310 I2C qdev conversion
LM832x qdev conversion
PXA2xx I2C slave qdev conversion
TMP105 qdev conversion
WM8750 qdev coversion
TWL92230 qdev conversion
TOSC DAC i2c qdev voncersion
SMBus qdev conversion
Remove bogus omap i2c slave code
I2C cleanup
PCI qdev support
qdev scsi bus infrastructure
PL110 qdev conversion
PL011 qdev conversion
PL050 qdev conversion
LSI SCSI qdev conversion
PCI network qdev conversion
Virtio-net qdev conversion
Stellaris ethernet qdev conversion
PL031 qdev conversion
PL181 qdev conversion
Integrator/CP core qdev conversion
ARM timers qdev conversion
smc91c111 qdev conversion
ESP SCSI qdev conversion
PL190 qdev conversion
Versatile/PB core qdev conversion
ARM RealView sytem controller qdev conversion
Basic qdev infrastructure.
qdev child bus support
Remove any pretense that there can be more than one AudioState
Include assert.h from qemu-common.h
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
Replace gcc variadic macro extension with C99 version (missed one)
Replace gcc variadic macro extension with C99 version
Remove vga_ram_size
The vga_ram_size argument to machine init functions always has the samevalue, and is ignored by many machines (including SPARC32 which has anobsolete ifdef for VGA_RAM_SIZE).
Remove it and push VGA_RAM_SIZE into vga_int.h.
ETRAX: Correct setting of ethernet station address.
Follow coding conventions.
More structure renaming.
Push AUD_init down to devices
Now we can safely call AUD_init multiple times we can push it down toindividual audio devices, rather than having to pass it from the boardinit.
Make AUD_init failure fatal
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 toproceed without an audio backend seems pointless....
Follow coding conventions
Remove explicit struct qualifiers and rename structure types.
vga: Replace VGA_COMMON with a structure
All VGA devices share a common field subset; currently they do so bya macro which defines the common fields inline their state structures,relying on the the common state being placed at offset 0 in the structure....
register reset handler for option_roms
Currently, boot options are not preserved across a system reset.option roms can modify themselves, or can for instance restore the realint 0x19 vector after they tried to boot from it.
To properly do that, we need a reset handler registered to deal with option...
reset state for load_linux
The linux loader is just an option rom like any other, just withsome special requirements. Right now, our option rom resettingmechanism is not being applied to it. As a result, users using-kernel will not be able to successfully reboot their machines...
e1000: Do not reinit pci config space to 0
pci_register_device already mallocs the pci config space buffer filledwith zeroes.
Doing this again breaks some default config space writes likesetting the subsystem vendor id and subsystem device id.
Signed-off-by: Amit Shah <amit.shah@redhat.com>...
Remove superfluous #includes.