Add fdt to new feature convention
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add xen to new feature convention
Add kvm to new feature convention
Extra error message is only given if --enable-kvm was given
Add sparse to new feature convention
Once there, move to a proper test to see if we are going to use it or not
add file descriptor migration
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Cc: Chris Lalancette <clalance@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
extend -smp parsing to include cores= and threads= options
For injecting multi-core and multi-threading CPU topology into guestsextend the -smp syntax to accommodate cores and threads specification.Syntax: -smp smp_value[,cores=nr_cores][,threads=nr_threads]\...
push CPUID level to 4 to allow Intel multicore decoding
Intel CPUs store the number of cores in CPUID leaf 4. So pushthe maxleaf value to 4 to allow the guests access to this leaf.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Rename build_docs to docs
All other features are named foo and enabled with --enable-foo.
Add sdl to new feature convention
Add vnc_tls to new feature convencion
Add vnc_sasl to new feature convencion
Add curses to new feature convencion
Add curl to new feature convencion
Add nptl to new feature convencion
Add bluez to new feature convencion
Once there, remove extra check for package and output if bluez was found or not as the other features
Add build_docs to new feature convention
Make vnc configure options less verbose.
Rest of libraries don't print themselves
Use the same structure for list of libs in curses and pthread
Add feature configure help
Add error message for feature not found
Add brlapi to new feature convencion
Add vde to new feature convencion
Remove a hack introduced by d19076faca944c31bb051b95d285e75ec67902f7
Work by Blue Swirl culminating with 5c55ff99fa88158871d5b9f619c485deae5f3d5bmade it unnecessary.
Fix dsound typos
Dsound currently does not compile due to the typos in the code. Thispatch makes it compile again.{PATCH}
Signed-off-by: Alex Ivanov <void@aleksoft.net>Signed-off-by: malc <av1474@comtv.ru>
Remove kqemu.c accidentally added by d60efc6b0d3d4e90cbbb86e21451e55263c29416
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Sparc32: improve interrupt handling
Level 15 interrupts are broadcast to all CPUs, each CPU can clear theinterrupt using the local Clear Pending register.
Update intbit_to_level table.
Don't try to raise level 0 interrupts.
Calculate pending interrupts based on the separate inputs from master...
Make CPURead/WriteFunc structure 'const'
target-mips: fix conditional moves off fp condition codes
Conditional moves off fp condition codes were using the result ofget_fp_bit to isolate and test the relevant condition code. However,get_fp_bit returns the bit number of the condition code, not a...
ARM back-end: Fix encode_imm
the encode_imm function in tcg/arm/tcg-target.c lacks shift declaration.
Laurent
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
qdev/prop: convert isa-bus to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio-blk: add msi support.
eliminate errors about unused results in block/vpc.c
These errors come up when compiling with gcc-4.3.3 and some older headers:
/scratch/froydnj/qemu.git/block/vpc.c: In function 'vpc_create':/scratch/froydnj/qemu.git/block/vpc.c:514: error: value computed is not used...
Make the e1000 the default network adapter for the pc target.
The ne2k is an ancient card that performs pretty terribly under QEMU. In manymodern OSes, there is no longer drivers available for the ne2k.
Switch the default network adapter to e1000. This card is more widely...
qemu: move virtio-pci.o to near pci.o
virtio-pci depends, and will always depend, on pci.cso it makes sense to keep it in the same makefile,(unlike the rest of virtio files which should eventually be moved out to Makefile.hw).
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>...
make pthreads mandatory
As requested by Anthony make pthreads mandatory. This means we will alwayshave AIO available on posix hosts, and it will also allow enabling the I/Othread unconditionally once it's ready.
Signed-off-by: Christoph Hellwig <hch@lst.de>...
cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signal
handle_cpu_signal is very nearly copy-paste code for each target, with afew minor variations. This patch sets up appropriate defaults for ageneric handle_cpu_signal and provides overrides for particular targets...
char: Emit 'CLOSED' events on char device close
Notify users of the char interface whenever the file / connection isclosed.
Signed-off-by: Amit Shah <amit.shah@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Unbreak large mem support by removing kqemu
kqemu introduces a number of restrictions on the i386 target. The worst is thatit prevents large memory from working in the default build.
Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...
Only build osdep once
We no longer need hackery to work around kqemu
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
unify popen/fopen qemu wrappers
While reading Chris's code for fd migration I noticed the duplicationbetween QEMUFilePopen and QEMUFileStdio. This fixes it, and makesqemu_fopen more similar qemu_popen.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
Route IOAPIC interrupts via ISA bus
Instead of calling the IOAPIC from the PIC, raise IOAPIC irqs via the ISA bus.As a side effect, IOAPIC lines 16-23 are enabled.
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Migration via unix sockets.
Implement migration via unix sockets. While you can fake this usingexec and netcat, this involves forking another process and isgenerally not very nice. By doing this directly in qemu, we can avoidthe copy through the external nc command. This is useful for...
Add a configure switch to enable / disable all user targets. I felt compelled to do it for symmetry, mostly it is useful to disable user targets when you don't want to build them.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
SMART ATA Functionality
For the lulz I implemented basic SMART functionality in ide.c. smartctlon linux recognizes it just fine and starting self tests with itcomplete successfully.
Signed-off-by: Brian Wheeler <bdwheele@indiana.edu>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
QEMU set irq0override in fw_cfg
Hi,
After discussing the issue with Avi, Gleb and a couple others on irq,we came to the conclusion that it is preferred to have QEMU requestfeatures from the BIOS, rather than notifying the BIOS that it isrunning on QEMU or KVM. This way memory ranges can change etc. and...
Makefile: fixed rule TAGS
- still works if the build dir is not the src dir- use find instead of .c block/.c etc...
Signed-off-by: Alexandre Bique <alexandre.bique@citrix.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Route PC irqs to ISA bus instead of i8259 directly
A PC has its motherboard IRQ lines connected to both the PIC and IOAPIC.Currently, qemu routes IRQs to the PIC which then calls the IOAPIC, anincestuous arrangement. In order to clean this up, create a new ISA IRQ...
Fix detached migration with exec.
When trying to do detached migration with exec, I found thatthe monitor wouldn't always return in a timely manner. Itracked this down to exec_start_outgoing_migration. Itappeared we were setting the fd to NONBLOCK'ing, but in...
Don't segfault when changing VNC password on an SDL display.
When using stdio monitor and VNC display, one can set or clear a VNC password; this should set or turn off VNC authentication as well.
Clean up VGA type selection; far too many variables being used to track one state leads to confusion if new variables are added.
Add missing linefeed in error message
The error message for an unknown network device given tomonitor command set_link looks better with a terminatinglinefeed.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
make vga screen_dump use DisplayState properly
Hi all,currently the vga screen_dump code doesn't use the DisplayStateinterface properly and tries to replace it temporarily while taking thescreenshot.A better approach is to register a DisplayChangeListener, call...
Do not disable autostart for live migration
If the user does not want autostart, they can specify -S.
Restore consistent formatting
Signed-off-by: malc <av1474@comtv.ru>
es1370: Remove unused indirection of PCIES1370State and ES1370State
Signed-off-by: Juan Quintela <quintela@redhat.com>
Fix device name completion for 'eject'
Revert my commit c00a9de060124a988bd9847c095e5836488c6f01
was incorrect.
Fix segfault of qemu-system-arm with PXA target
qemu-system-arm (0.10.5) segfaults when invoked with a PXA machine target,e.g. -M tosa. The reason is fairly obvious:
Signed-off-by: Torsten Duwe <duwe@lst.de>Signed-off-by: Christoph Hellwig <hch@lst.de>...
sdl.c: support 32 bpp cursors
Hello,currently when a 32 bpp cursor gets defined the result is all-black inthe areas that are not transparent (you'll get a 32 bpp cursor if youuse my previous patch to allow vmware_vga to use a 32 bpp framebuffer).This is because the switch in sdl.c lacks a 32 bpp case....
Use corect depth from DisplaySurface in vmware_vga.c
Hello,for what I can tell, there is no way for vmware_vga to work correctlyright now. It assumes that the framebuffer bits-per-pixel and the onefrom the DisplaySurface are identical (it uses directly the VRAM from...
Remove the unnecessary and only global in musicpal.c
Merge with balrog@git.sv.gnu.org:/srv/git/qemu.git
Make musicpal.c use the I2C device and the Marvell 88w8618 audio device
Signed-off-by: Benoit Canet <benoit.canet@gmail.com>Signed-off-by: Andrzej Zaborowski <balrogg@gmail.com>
Extract the Marvell 88w8618 audio device from musicpal.c
Extract musicpal.c I2C bitbanging code and make it gpio aware
Musicpal qdev conversion: gpio (except I2C part), keyboard and lcd
Sparc32: fix monitor commands 'info pic' and 'info irq'
Rearrange to suppress gcc 3.3.5 warning about unused variable
def-helper.h allow helpers returning pointers
This change allows to define helpers returning pointers.This looks like a typo in original commit.
Signed-off-by: igor.v.kovalenko@gmail.comSigned-off-by: Blue Swirl <blauwirbel@gmail.com>
ESP: implement Transfer Pad
ESP: Implement select without ATN, fix comments
ARM back-end: Handle all possible immediates for ALU ops
this patch handles all possible constants for immediate operand of ALU ops.I'm not very satisfied by the implementation.
ARM back-end: Add TCG not
this patch:
- implements TCG not.
sparc32 remove an unnecessary cpu irq set
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Sparc32/64: fix jmpl followed by branch
Fix a case where 'jmpl' instruction followed by a branch instruction washandled incorrectly.
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
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
use C99 initializers for all audio/*
Aesthetics
Reformat to make item borders more visibleFix cases of stray tabs and vertical misalignments