- 09 Jun, 2010 7 commits
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Add FMT_* constants for the floating-point format field in opcodes and tweak a few places to use them. Add enums for various invocations of FOP and tweak gen_farith and its lone caller accordingly. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Aurelien Jarno authored
Now that tcg-opc.h is only used in TCG code, get rid of DEF2 in tcg-opc.h. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Aurelien Jarno authored
copy_size is a left-over from the dyngen era, remove it. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Alexander Graf authored
Commit dd4239d6 broke multiboot. It replaced the instruction "rep insb (%dx), %es:(%edi)" by the binary output of "addr32 rep insb (%dx), %es:(%di)". Linuxboot calls the respective helper function in a code16 section. So the original instruction was automatically translated to its "addr32" equivalent. For multiboot, we're running in code32 so gcc didn't add the "addr32" which breaks the instruction. This patch splits that helper function in one which uses addr32 and one which does not, so everyone's happy. The good news is that nobody probably cared so far. The bundled multiboot.bin binary was built before the change and is thus correct. Please also put this patch into -stable. Signed-off-by:
Alexander Graf <agraf@suse.de> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Both tcg_target_init and tcg_target_qemu_prologue are unused outside of tcg.c. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Mirror tcg_out_movi in having a TYPE parameter. This allows x86_64 to perform the move at the proper width, which may elide a REX prefix. Introduce a TCG_TYPE_REG enumerator to represent the "native width" of the host register, and to distinguish the usage from "pointer data" as represented by the existing TCG_TYPE_PTR. Update all targets to match. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 08 Jun, 2010 2 commits
-
-
Nathan Froyd authored
Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Acked-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
We forgot to propagate -fpie to the libdis-user directory. Signed-off-by:
Richard Henderson <rth@twiddle.net> Acked-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 07 Jun, 2010 2 commits
-
-
Edgar E. Iglesias authored
Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@petalogix.com>
-
Edgar E. Iglesias authored
Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@petalogix.com>
-
- 04 Jun, 2010 2 commits
-
-
Blue Swirl authored
Add include directives to get WIFEXITED() and WEXITSTATUS() macros defined. Fixes warnings: CC migration-exec.o /src/qemu/migration-exec.c: In function `exec_close': /src/qemu/migration-exec.c:53: warning: implicit declaration of function `WIFEXITED' /src/qemu/migration-exec.c:54: warning: implicit declaration of function `WEXITSTATUS' Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Paolo Bonzini authored
Negative four byte displacements need to be sign-extended after c086b783 . Do so. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Acked-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 03 Jun, 2010 2 commits
-
-
Anthony Liguori authored
-
Anthony Liguori authored
This patch makes sure that if the exec: process exits with a non-zero return status, we treat the migration as failed. This fixes https://bugs.launchpad.net/qemu/+bug/391879 Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- 02 Jun, 2010 15 commits
-
-
Aurelien Jarno authored
Fix a typo introduced by c28b14c6 . Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Aurelien Jarno authored
Declare tcg_out_tlb_load() inline so that we don't loose optimisations with commit 8516a044 . Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Tidy some code by replacing ifdefs by C ifs. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Share some code between qemu_ld and qemu_st. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Make fallthru be TLB hit and branch be TLB miss. Doing this both improves branch prediction and will allow further cleanup. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Splitting out these functions will allow further cleanups. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Richard Henderson authored
Include it in the opcode as an extension, as with P_EXT or the REX bits in the x86-64 port. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Igor V. Kovalenko authored
- truncate and sign or zero extend operands before multiplication - factor out common code to gen_op_multiply() with parameter to sign/zero extend - call gen_op_multiply from gen_op_umul and gen_op_smul Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- truncate second operand to 32bit Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- implemented block load/store primary/secondary with user privilege Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- use symbolic name for MMU index v0->v1: - change debug traces to DPRINTF_MMU - fix debug trace function names Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- rearrange code to break from switch when appropriate - allow deprecated ldfsr insn Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- change return type of ldl_* to uint32_t to prevent unwanted sign extension visible in sparc64 load alternate address space methods - note this change makes ldl_* softmmu implementations match ldl_phys one Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- address masking for ldqf and stqf insns - address masking for lddf and stdf insns - address masking for translating ASI (Ultrasparc IIi) v0->v1: - move arch-specific code to helpers and drop more ifdefs at call sites using new helper asi_address_mask() - change user emulation to use asi_address_mask() Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- set mmu tag access register on FAULT and PROT traps as well Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 01 Jun, 2010 10 commits
-
-
Corentin Chary authored
vnc-encodings-*.c dependencies where missing. Signed-off-by:
Corentin Chary <corentincj@iksaif.net> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Corentin Chary authored
While couting color, if the third color was only present one time it wasn't added to the palette. Signed-off-by:
Corentin Chary <corentincj@iksaif.net> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Corentin Chary authored
A simple patch would have been to just remove count -= 1, but this one also replace the while (count--) with a for(i = 0; i < count; i++) which I believe is more easy to understand. Signed-off-by:
Corentin Chary <corentincj@iksaif.net> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Luiz Capitulino authored
Previous commit added QMP documentation to the qemu-monitor.hx file, it's is a copy of this information. While it's good to keep it near code, maintaining two copies of the same information is too hard and has little benefit as we don't expect client writers to consult the code to find how to use a QMP command. Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
One of the most important missing feature in QMP today is its supported commands documentation. The plan is to make it part of self-description support, however self-description is a big task we have been postponing for a long time now and still don't know when it's going to be done. In order not to compromise QMP adoption and make users' life easier, this commit adds a simple text documentation which fully describes all QMP supported commands. This is not ideal for a number of reasons (harder to maintain, text-only, etc) but does improve the current situation. To avoid at least divering from the user monitor help and texi snippets, QMP bits are also maintained inside qemu-monitor.hx, and hxtool is extended to generate a single text file from them. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jan Kiszka authored
Push the doc fragments for the info command to the end of qemu-monitor.hx. This helps to establish a proper layout in the upcoming QMP documentation. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Anthony Liguori authored
-
Gerd Hoffmann authored
This make sure we send a desktop resize message only in case we actually have to, using the new variables which track the clients desktop size. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gerd Hoffmann authored
Don't send updates for screen areas which are outside the clients desktop. May happed with vnc clients which don't support the desktop resize message. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gerd Hoffmann authored
Add two new variables to keep track of the vnc clients desktop size. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-