]> Git Repo - qemu.git/log
qemu.git
15 years agoEliminate --disable-gfx-check and make VNC default when SDL not available
Anthony Liguori [Wed, 20 May 2009 18:01:02 +0000 (13:01 -0500)]
Eliminate --disable-gfx-check and make VNC default when SDL not available

 --disable-gfx-check predates VNC server support.  It made sense back then
because the only thing you could do without SDL was use -nographic mode or
similar tricks.  Since this is a very advanced mode of operation, gfx-check
provided a good safety net for casual users.

A casual user is very likely to use VNC to interact with a guest.  In fact, it's
often frustrating to install QEMU on a server and have to specify
disable-gfx-check when you only want to use VNC.

This patch eliminates disable-gfx-check and makes SDL behave like every other
optional dependency.  If SDL is not available, instead of failing ungracefully
if no special options are specified, we default to -vnc localhost:0,to=99.
When we do default to VNC, we also print a message to tell the user that we've
done this include which port we're currently listening on.

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoDo not attempt to allocate sn_tab when there are no snapshots
malc [Thu, 21 May 2009 01:40:23 +0000 (05:40 +0400)]
Do not attempt to allocate sn_tab when there are no snapshots

This was caught by a7d27b536ffc0773028a90f14580552c0c3ddb2a which
aborted on this attempt, thanks to Alex Ivanov for report.

Signed-off-by: malc <[email protected]>
15 years agoCast pointer arguments of get/setsockopt, send to void * to keep GCC
malc [Thu, 21 May 2009 01:26:23 +0000 (05:26 +0400)]
Cast pointer arguments of get/setsockopt, send to void * to keep GCC
from producing a warning about pointer type mismatches with Winsock

Signed-off-by: malc <[email protected]>
15 years agokvm: add error message for when SMP is requested
Mark McLoughlin [Tue, 12 May 2009 11:43:19 +0000 (12:43 +0100)]
kvm: add error message for when SMP is requested

Right now, if you try e.g. '-smp 2' you just get 'failed to
initialize KVM'.

Signed-off-by: Mark McLoughlin <[email protected]>
15 years agoRemove initrd warning message
Richard W.M. Jones [Tue, 12 May 2009 07:12:05 +0000 (08:12 +0100)]
Remove initrd warning message

Signed-off-by: Richard W.M. Jones <[email protected]>
15 years agoinitialize struct sigevent before timer_create
Jean-Christophe Dubois [Sun, 17 May 2009 16:41:16 +0000 (18:41 +0200)]
initialize struct sigevent before timer_create

When qemu is run under valgrind, valgrind shows the following output
on exit:

==3648== 1 errors in context 2 of 2:
==3648== Syscall param timer_create(evp) points to uninitialised byte(s)
==3648==    at 0x54E936A: timer_create (in /lib/librt-2.9.so)
==3648==    by 0x405DCF: dynticks_start_timer (vl.c:1549)
==3648==    by 0x40A966: main (vl.c:1726)
==3648==  Address 0x7fefffb34 is on thread 1's stack
==3648==  Uninitialised value was created by a stack allocation
==3648==    at 0x405D60: dynticks_start_timer (vl.c:1534)

This patch is a simple fix to remove this potential problem.

Signed-off-by: Jean-Christophe DUBOIS <[email protected]>
15 years agoFix NULL alarm_timer pointer at exit
Jean-Christophe Dubois [Sun, 17 May 2009 16:38:39 +0000 (18:38 +0200)]
Fix NULL alarm_timer pointer at exit

This fixes a SIGSEGV error on qemu exit.

Here is the valgrind output related to this error

==3648== Process terminating with default action of signal 11 (SIGSEGV)
==3648==  Access not within mapped region at address 0x8
==3648==    at 0x40636B: host_alarm_handler (vl.c:1345)
==3648==    by 0x52D807F: (within /lib/libpthread-2.9.so)
==3648==    by 0x5C0A12E: tcsetattr (in /lib/libc-2.9.so)
==3648==    by 0x4DD601: term_exit (qemu-char.c:700)
==3648==    by 0x5B636EC: exit (in /lib/libc-2.9.so)
==3648==    by 0x5B4B5AC: (below main) (in /lib/libc-2.9.so)

This simple fix check for a valid pointer as host_alarm_handler is
also called after alarm_timer is released in the exit path.

Signed-off-by: Jean-Christophe DUBOIS <[email protected]>
15 years agokeep initrd in below 4g area.
Glauber Costa [Mon, 18 May 2009 20:35:58 +0000 (16:35 -0400)]
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 -mem
superior to 4096.

Signed-off-by: Glauber Costa <[email protected]>
15 years agomigrate.c: migrate_fd_put_buffer: Do not busyloop: stop writing if EWOULDBLOCK
Uri Lublin [Tue, 19 May 2009 11:08:53 +0000 (14:08 +0300)]
migrate.c: migrate_fd_put_buffer: Do not busyloop: stop writing if EWOULDBLOCK

The migration code is non-blocking, designed for live migration.

Practically migrate_fd_put_buffer busy-loops trying to write, as
on many machines EWOULDBLOCK==EAGAIN (look in include/asm-generic/errno.h).

Signed-off-by: Uri Lublin <[email protected]>
15 years agokvm: work around supported cpuid ioctl() brokenness
Mark McLoughlin [Tue, 19 May 2009 17:55:21 +0000 (18:55 +0100)]
kvm: work around supported cpuid ioctl() brokenness

KVM_GET_SUPPORTED_CPUID has been known to fail to return -E2BIG
when it runs out of entries. Detect this by always trying again
with a bigger table if the ioctl() fills the table.

Signed-off-by: Mark McLoughlin <[email protected]>
15 years agoremove gcc 3.x requirement from documentation
Hollis Blanchard [Tue, 19 May 2009 20:08:25 +0000 (15:08 -0500)]
remove gcc 3.x requirement from documentation

This text is no longer accurate. After the patch is applied, the
generated version at http://www.nongnu.org/qemu/qemu-doc.html should be
regenerated.

This patch is also a candidate for the stable branch. (The URL above is
probably generated from the stable branch anyways, so maybe it goes
without saying.)

Signed-off-by: Hollis Blanchard <[email protected]>
15 years agoRemove dead code
malc [Tue, 19 May 2009 23:25:22 +0000 (03:25 +0400)]
Remove dead code

Signed-off-by: malc <[email protected]>
15 years agoFormat per CODING_STYLE
malc [Tue, 19 May 2009 18:28:26 +0000 (22:28 +0400)]
Format per CODING_STYLE

Signed-off-by: malc <[email protected]>
15 years agoAbort on attempts to allocate zero bytes
malc [Tue, 19 May 2009 18:26:42 +0000 (22:26 +0400)]
Abort on attempts to allocate zero bytes

http://marc.info/?t=124267873300015&r=1&w=2

Signed-off-by: malc <[email protected]>
15 years agoUnbreak out-of-tree builds
malc [Tue, 19 May 2009 16:55:09 +0000 (20:55 +0400)]
Unbreak out-of-tree builds

Signed-off-by: malc <[email protected]>
15 years agoHardware convenience library
Paul Brook [Tue, 19 May 2009 15:17:58 +0000 (16:17 +0100)]
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 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 <[email protected]>
15 years agoDisable >4G ram support on 32-bit targets
Paul Brook [Tue, 19 May 2009 15:05:00 +0000 (16:05 +0100)]
Disable >4G ram support on 32-bit targets

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 <[email protected]>
15 years agoOnly define __llseek if it is going to be used
Paul Brook [Tue, 19 May 2009 14:58:52 +0000 (15:58 +0100)]
Only define __llseek if it is going to be used

Signed-off-by: Paul Brook <[email protected]>
15 years agoAvoid implicit truncation compiler warnings
Paul Brook [Tue, 19 May 2009 14:42:39 +0000 (15:42 +0100)]
Avoid implicit truncation compiler warnings

Signed-off-by: Paul Brook <[email protected]>
15 years agoRemove obsolete BIOS_SIZE from sysemu.h
Paul Brook [Tue, 19 May 2009 13:52:42 +0000 (14:52 +0100)]
Remove obsolete BIOS_SIZE from sysemu.h

BIOS_SIZE is no longer needed by vl.c, so there's no point having it in
sysemu.h.

Signed-off-by: Paul Brook <[email protected]>
15 years agocris: First shot at qdev for CRIS interrupts.
Edgar E. Iglesias [Mon, 18 May 2009 20:24:22 +0000 (22:24 +0200)]
cris: First shot at qdev for CRIS interrupts.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoetrax: Don't keep the passed irq pointer.
Edgar E. Iglesias [Mon, 18 May 2009 19:44:10 +0000 (21:44 +0200)]
etrax: Don't keep the passed irq pointer.

Copy passed irq object at channel connect.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoetrax: Remove unused eth irq line.
Edgar E. Iglesias [Mon, 18 May 2009 19:34:00 +0000 (21:34 +0200)]
etrax: Remove unused eth irq line.

The ethernet blocks irq line to report errors is unimplemented in QEMU.
Remove it for now.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoSyborg virtio bindings.
Paul Brook [Mon, 18 May 2009 15:45:48 +0000 (16:45 +0100)]
Syborg virtio bindings.

Implement Syborg device bindings for virtio-net.

Signed-off-by: Paul Brook <[email protected]>
15 years agoSeparate virtio PCI code
Paul Brook [Mon, 18 May 2009 13:51:59 +0000 (14:51 +0100)]
Separate virtio PCI code

Split the PCI host bindings from the VRing transport implementation.

Signed-off-by: Paul Brook <[email protected]>
15 years agoOnly shutdown video subsytem in sdl_cleanup
malc [Sun, 17 May 2009 14:26:05 +0000 (18:26 +0400)]
Only shutdown video subsytem in sdl_cleanup

Depending on the order in which atexit handlers are called SDL might
try to join on an audio thread without said thread ever being notified
that it must stop, hence QEMU will forever block in pthread_join call.

Signed-off-by: malc <[email protected]>
15 years agoConsistently use uint64_t for int properties
Paul Brook [Sun, 17 May 2009 13:55:55 +0000 (14:55 +0100)]
Consistently use uint64_t for int properties

I apparently failed to do this properly on the first attempt.

Signed-off-by: Paul Brook <[email protected]>
15 years agoETRAX-PIC: Untabify.
Edgar E. Iglesias [Sat, 16 May 2009 10:28:33 +0000 (12:28 +0200)]
ETRAX-PIC: Untabify.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoETRAX-TIMER: qdevify.
Edgar E. Iglesias [Sat, 16 May 2009 00:08:16 +0000 (02:08 +0200)]
ETRAX-TIMER: qdevify.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoETRAX-TIMER: Untabify.
Edgar E. Iglesias [Fri, 15 May 2009 23:46:26 +0000 (01:46 +0200)]
ETRAX-TIMER: Untabify.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoETRAX-SER: Untabify.
Edgar E. Iglesias [Fri, 15 May 2009 23:44:24 +0000 (01:44 +0200)]
ETRAX-SER: Untabify.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoETRAX-SER: qdevify.
Edgar E. Iglesias [Fri, 15 May 2009 23:40:46 +0000 (01:40 +0200)]
ETRAX-SER: qdevify.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agoETRAX: Simplify PIC interface.
Edgar E. Iglesias [Fri, 15 May 2009 22:23:15 +0000 (00:23 +0200)]
ETRAX: Simplify PIC interface.

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 <[email protected]>
15 years agosupport ELF_HWCAP for PPPC
Nathan Froyd [Tue, 12 May 2009 19:26:59 +0000 (12:26 -0700)]
support ELF_HWCAP for PPPC

Signed-off-by: Nathan Froyd <[email protected]>
Signed-off-by: malc <[email protected]>
15 years agolinux-user: ppc signal handling
Nathan Froyd [Wed, 13 May 2009 02:13:18 +0000 (19:13 -0700)]
linux-user: ppc signal handling

Implement setup_{,rt_}frame and do_{,rt_}sigreturn for PPC 32-bit.  Use
the same TARGET_QEMU_ESIGRETURN hack as for MIPS to avoid clobbering
register state on a sigreturn.

Signed-off-by: Nathan Froyd <[email protected]>
Signed-off-by: malc <[email protected]>
15 years agotarget-ppc: expose cpu capability flags
Nathan Froyd [Tue, 12 May 2009 19:26:57 +0000 (12:26 -0700)]
target-ppc: expose cpu capability flags

Do this so other pieces of code can make decisions based on the
capabilities of the CPU we're emulating.

Signed-off-by: Nathan Froyd <[email protected]>
Signed-off-by: malc <[email protected]>
15 years agoETRAX: Correct passing of kernel command line.
Edgar E. Iglesias [Fri, 15 May 2009 14:53:53 +0000 (16:53 +0200)]
ETRAX: Correct passing of kernel command line.

Signed-off-by: Edgar E. Iglesias <[email protected]>
15 years agofix ARMv7 data processing instructions
Juha Riihimäki [Wed, 6 May 2009 06:16:12 +0000 (09:16 +0300)]
fix ARMv7 data processing instructions

ARMv7 defines a new behavior for ARM data processing instructions
compared to earlier architecture revisions; when the destination
register is R15, a Branch and Exchange operation is executed rather
than a simple Branch to the target address. This patch corrects the
behavior of the emulation for the aforementioned operations. To be
applied after applying the previous patch in this patch set.

Signed-off-by: Juha Riihimäki <[email protected]>
Signed-off-by: Paul Brook <[email protected]>
15 years agofix ARMv7 data processing instructions
Juha Riihimäki [Wed, 6 May 2009 06:15:38 +0000 (09:15 +0300)]
fix ARMv7 data processing instructions

Modernize parts of target-arm/translate.c in preparation for the
modifications in the subsequent patch in this patch set. This is done
in order to avoid writing new code to target-arm/translate.c that
would use deprecated methods and/or variables.

Signed-off-by: Juha Riihimäki <[email protected]>
Signed-off-by: Paul Brook <[email protected]>
15 years agoFix module initialization when more than 1 class is in use
Anthony Liguori [Thu, 14 May 2009 22:57:31 +0000 (17:57 -0500)]
Fix module initialization when more than 1 class is in use

Now that we're using enums for module types, it makes no sense to bother keeping
a list of module types when we know exactly how many they are.

Switching to an array simplifies the code and eliminates the aforementioned bug.

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoSyborg (Symbian Virtual Platform) board
Paul Brook [Thu, 14 May 2009 22:11:09 +0000 (23:11 +0100)]
Syborg (Symbian Virtual Platform) board

A virtual reference platform for SymbianOS development/debugging.

Signed-off-by: Paul Brook <[email protected]>
15 years agoFix warning on WIN32
Anthony Liguori [Thu, 14 May 2009 21:57:03 +0000 (16:57 -0500)]
Fix warning on WIN32

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoFix build on Solaris and WIN32
Anthony Liguori [Tue, 12 May 2009 14:55:27 +0000 (09:55 -0500)]
Fix build on Solaris and WIN32

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoPXA SSI qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:09 +0000 (22:35 +0100)]
PXA SSI qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoStellaris SSI qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:09 +0000 (22:35 +0100)]
Stellaris SSI qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoSSP bus framework
Paul Brook [Thu, 14 May 2009 21:35:09 +0000 (22:35 +0100)]
SSP bus framework

Signed-off-by: Paul Brook <[email protected]>
15 years agoStellaris I2C qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:09 +0000 (22:35 +0100)]
Stellaris I2C qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoI2C cleanup
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
I2C cleanup

Signed-off-by: Paul Brook <[email protected]>
15 years agoRemove bogus omap i2c slave code
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
Remove bogus omap i2c slave code

Signed-off-by: Paul Brook <[email protected]>
15 years agoSMBus qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
SMBus qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoTOSC DAC i2c qdev voncersion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
TOSC DAC i2c qdev voncersion

Signed-off-by: Paul Brook <[email protected]>
15 years agoTWL92230 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
TWL92230 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoWM8750 qdev coversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
WM8750 qdev coversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoTMP105 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
TMP105 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPXA2xx I2C slave qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
PXA2xx I2C slave qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoLM832x qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
LM832x qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoMAX7310 I2C qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
MAX7310 I2C qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoSSD0303 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
SSD0303 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoI2C qdev support
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
I2C qdev support

Signed-off-by: Paul Brook <[email protected]>
15 years agoMusicPal qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
MusicPal qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoARM GIC qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
ARM GIC qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoARM PCI host qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
ARM PCI host qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoVirtio-console conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
Virtio-console conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoVirtio-balloon qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
Virtio-balloon qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoVirtio-blk qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
Virtio-blk qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL080 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:08 +0000 (22:35 +0100)]
PL080 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoARM RealView sytem controller qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
ARM RealView sytem controller qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoVersatile/PB core qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
Versatile/PB core qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL190 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PL190 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoESP SCSI qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
ESP SCSI qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agosmc91c111 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
smc91c111 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoARM timers qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
ARM timers qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoIntegrator/CP core qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
Integrator/CP core qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL181 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PL181 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL031 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PL031 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoStellaris ethernet qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
Stellaris ethernet qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoVirtio-net qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
Virtio-net qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPCI network qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PCI network qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoLSI SCSI qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
LSI SCSI qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL050 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PL050 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL011 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PL011 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoPL110 qdev conversion
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PL110 qdev conversion

Signed-off-by: Paul Brook <[email protected]>
15 years agoqdev scsi bus infrastructure
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
qdev scsi bus infrastructure

Signed-off-by: Paul Brook <[email protected]>
15 years agoPCI qdev support
Paul Brook [Thu, 14 May 2009 21:35:07 +0000 (22:35 +0100)]
PCI qdev support

Signed-off-by: Paul Brook <[email protected]>
15 years agoqdev child bus support
Paul Brook [Thu, 14 May 2009 21:35:06 +0000 (22:35 +0100)]
qdev child bus support

Signed-off-by: Paul Brook <[email protected]>
15 years agoBasic qdev infrastructure.
Paul Brook [Thu, 14 May 2009 21:35:06 +0000 (22:35 +0100)]
Basic qdev infrastructure.

Signed-off-by: Paul Brook <[email protected]>
15 years agoMove block drivers into their own directory
Anthony Liguori [Sat, 9 May 2009 22:14:19 +0000 (17:14 -0500)]
Move block drivers into their own directory

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoConvert block infrastructure to use new module init functionality
Anthony Liguori [Sat, 9 May 2009 22:03:42 +0000 (17:03 -0500)]
Convert block infrastructure to use new module init functionality

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoConstructor support
Anthony Liguori [Thu, 14 May 2009 18:29:53 +0000 (19:29 +0100)]
Constructor support

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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
15 years agoAdd a --disable-docs to configure to allow doc build to be disabled
Anthony Liguori [Thu, 14 May 2009 13:25:04 +0000 (08:25 -0500)]
Add a --disable-docs to configure to allow doc build to be disabled

Signed-off-by: Anthony Liguori <[email protected]>
15 years agoRemove duplicate block objects.
Paul Brook [Wed, 13 May 2009 23:51:33 +0000 (00:51 +0100)]
Remove duplicate block objects.

Signed-off-by: Paul Brook <[email protected]>
15 years agoRemove any pretense that there can be more than one AudioState
malc [Wed, 13 May 2009 23:11:35 +0000 (03:11 +0400)]
Remove any pretense that there can be more than one AudioState

15 years agoRemove redundant pcnet.o
Paul Brook [Wed, 13 May 2009 21:35:13 +0000 (22:35 +0100)]
Remove redundant pcnet.o

Signed-off-by: Paul Brook <[email protected]>
15 years agoAdd tool_osdep.c
Paul Brook [Wed, 13 May 2009 21:21:47 +0000 (22:21 +0100)]
Add tool_osdep.c

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 <[email protected]>
15 years agoInclude assert.h from qemu-common.h
Paul Brook [Wed, 13 May 2009 19:51:49 +0000 (20:51 +0100)]
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

Signed-off-by: Paul Brook <[email protected]>
15 years agoReplace gcc variadic macro extension with C99 version (missed one)
Blue Swirl [Wed, 13 May 2009 18:09:29 +0000 (18:09 +0000)]
Replace gcc variadic macro extension with C99 version (missed one)

Signed-off-by: Blue Swirl <[email protected]>
15 years agoReplace gcc variadic macro extension with C99 version
Blue Swirl [Wed, 13 May 2009 17:53:17 +0000 (17:53 +0000)]
Replace gcc variadic macro extension with C99 version

Signed-off-by: Blue Swirl <[email protected]>
15 years agoFix kqemu build failure.
Paul Brook [Wed, 13 May 2009 17:08:17 +0000 (18:08 +0100)]
Fix kqemu build failure.

Signed-off-by: Paul Brook <[email protected]>
15 years agoRemove vga_ram_size
Paul Brook [Wed, 13 May 2009 16:56:25 +0000 (17:56 +0100)]
Remove vga_ram_size

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 <[email protected]>
15 years agoFix typo that leads to out of bounds array access on big endian systems
malc [Wed, 13 May 2009 11:18:48 +0000 (15:18 +0400)]
Fix typo that leads to out of bounds array access on big endian systems

This page took 0.06797 seconds and 4 git commands to generate.