ARM back-end: Add TCG not
this patch:
- implements TCG not.
Laurent
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Remove unneded ac97 indirection accessing its state
Searching for "inspiration" to convert another device to qdev, I gotac97. Once I understood a bit of qdev, found that ac97 used a not neededindirection. To protect the unaware, just fixed it.
Later, Juan....
Sparc32/64: Fix user emulator breakage
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Fix breakage of alpha, mips64, ppc64 and x86_64 targets on non-amd64 host
Replace REGX with PRIx64
Replace local ADDRX/PADDRX macros with TARGET_FMT_lx/plx
Replace always_inline with inline
We define inline as always_inline.
user: compile host-utils.c only once
Simplify 5ba6531956b9b6486560cbd13604c2238a3542dd
Thanks to Juan Quintela.
Fix desynchronization of condition code state when a memory access traps
PPC: clean up ppc405
Rely on the subpage system instead of the local version.Make most functions "static".Fix wrong parameter passed to ppc4xx_pob_reset.
Use pstrcpy to avoid OpenBSD linker warnings
bsd-user: Add generic env variable handling
Based on 04a6dfebb6b52532a1e0bd637899f1eba14e94c6.
Adds support for qemu to modify target process environmentvariables using -E and -U commandline switches. This replaceseventually the -drop-ld-preload flag....
linux-user: compile envlist.c only once
user: compile ioport-user.c only for x86
user: compile path.c only once
Also merge bsd-user/path.c and linux-user/path.c.
Fix migration for ide devices
commit 93c8cfd9e67a62711b86f4c93747566885eb7928Author: Gleb Natapov <gleb@redhat.com>Date: Sun Aug 2 11:36:47 2009 +0300
make windows notice media change
Broke save/restore by loading a new field but not saving it....
Unbreak Sparc64
EBus is a sort of ISA bus.
Unbreak Sparc32 and PPC
Convert qdev ptr type to chr, allow a NULL pointer.
Third attempt to invoke create_config properly
Second attempt failed due to $_ not being standard and as such it'sinterpretation by certain shells when they were symlinked to /bin/shand invoked as such led to unpredictable results. So instead of trying...
Fix typo
Do not use $SHELL to invoke our scripts
http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html
<quote>SHELL A pathname of the user's preferred command language interpreter. If this interpreter does not conform to the XSI Shell Command Language in the XCU specification, Shell Command Language,...
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
use C99 initializers for all audio/*
Aesthetics
Reformat to make item borders more visibleFix cases of stray tabs and vertical misalignments
Signed-off-by: malc <av1474@comtv.ru>
Use proper struct initializers and remove INIT_FIELD() macro
Use C99 initializers for audio_option
Fix virtio-blk
Reported-by: Christoph HellwigSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
qdev/prop: convert xilinx_ethlite.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
qdev/prop: convert xilinx_intc.c to helper macros.
qdev/prop: convert xilinx_timer.c to helper macros.
fix qdev_print_devinfo()
snprintf returns number of bytes needed for the output, not the numberof bytes actually written. Thus the math is wrong ...
Spotted by Markus Armbruster.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
rename "info qdrv" to "info qdm"
As requested by avi: driver != device model.
check for PR_SET_NAME being defined
Depending on what glibc/kernel headers you are compiling against,PR_SET_NAME may or may not be defined. Do the right thing ifPR_SET_NAME isn't defined and skip setting the process name.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>...
Add emacs header to Makefile.target
Signed-off-by: Anthony Liguori <aliguori@us.ibmc.om>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
qdev/prop: convert syborg_interrupt.c to helper macros.
qdev/prop: convert syborg_keyboard.c to helper macros.
qdev/prop: convert syborg_pointer.c to helper macros.
qdev/prop: convert syborg_serial.c to helper macros.
qdev/prop: convert syborg_timer.c to helper macros.
qdev/prop: convert tcx.c to helper macros.
qdev/prop: convert vga.c to helper macros.
qdev/prop: convert virtio-pci.c to helper macros.
qdev/prop: convert slavio_timer.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:Message-Id:
qdev/prop: convert smbus_eeprom.c to helper macros.
qdev/prop: convert sparc32_dma.c to helper macros.
qdev/prop: convert sun4m.c to helper macros.
qdev/prop: convert sun4u.c to helper macros.
qdev/prop: convert syborg_fb.c to helper macros.
qdev/prop: convert slavio_intctl.c to helper macros.
qdev/prop: convert pcnet.c to helper macros.
qdev/prop: convert etraxfs_pic.c to helper macros.
qdev/prop: convert i2c.c to helper macros.
qdev/prop: convert integratorcp.c to helper macros.
qdev/prop: convert iommu.c to helper macros.
qdev/prop: convert m48t59.c to helper macros.
qdev/prop: convert pci.c to helper macros.
qdev/prop: convert arm_sysctl.c to helper macros.
qdev/prop: convert armv7m.c to helper macros.
qdev/prop: convert eccmemctl.c to helper macros.
qdev/prop: convert escc.c to helper macros.
qdev/prop: add CharDriverState property.
convert gprof flags to style of rest of Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
Move libsunpath to use the same style than everything else
Add/Fix command-line checks for smbios options v2
- One type 4 table is required per cpu. Add a check for this.- Fix check for smbios file.
Changes from v1:- static designation of smbios_validate_table, and remove whitespace
Signed-off-by: Beth Kon <eak@us.ibm.com>...
net: Fix do_set_link() return type
do_set_link() returns int, but Monitor handler functions shouldalways return void.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
Fix do_commit() behavior
Commit 751c6a17042b5d011013d6963c0505d671cf708e changed the monitor's'commit' command to this behavior:
1. Any string you type as argument will cause do_commit() tocall bdrv_commit() to all devices
2. If you enter a device name, it will be the only one ignored...
Windows seems to be very stupid about cdrom media change. It pollscdrom status and if status goes ready->media not present->readyit assumes that media was changed. If "media not present" step doesn'thappen even if "medium may have changed" was seen it assumes media...
qdev/prop: macros for creating typechecked properties.
There are DEFINE_PROP_$TYPE macros foreach property type. These macros link the qdev_prop_$name struct to thetype used by that property. typeof(struct->field) is verifyed to be the...
CURL libs are used both by tools and softmmu
Add cocoa libs at Darwin selection time
CONFIG_POSIX makes more sense that not CONFIG_WIN32
remove last 3 uses of :=, everywhere else uses += or =
Consolidate audio flags in configure
We also need TARGET_<arechname> in Makefiles
use TARGET_<arch name> for selection
Disable aio in mingw32
Add libs_tools support
Libraries used by qemu-<tools>
VDE libs are used both by tools and softmmu
Move dis-* selection to configure
Use only one KVM_CFLAGS
Use one less HELPER_CFLAGS
Make slirp include dir globlal in cflags
We already include it everywhere
FMOD_CFLAGS is not set when CONFIG_FMOD is undef
AUDIO_PT is not needed
AUDIO_PT only changes LDFLAGS to include -pthread, but it change it inMakefile, and audio files are linked only on Makefile.target
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
Generate CONFIG_AUDIO_PT_INT in configure
Fold TARGET_GPROF handling in configure
Generate more conmmon CFLAGS
Added CONFIG_NEED_MMU for microblaze and cris
fix typo, there should be bsd_user there
Move alpha CFLAGS target to configure
Move ia64 QEMU_CFLAGS target to configure
this bit was already generated in configure
remove duplicated TARGET_GPROF code
\!CONFIG_USER_ONLY == CONFIG_SOFTMMU
Use this to simplify Makefile.target and remove negative logic
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
permit to add things to LDFLAGS for target
refactor linker_script common part and change quoting
permit to add things to CFLAGS per target
Fold BRLAPI_LIBS into libs_softmmu