summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* init_paths: fix minor memory leakKirill Batuzov2014-04-281-1/+3
| | | | | | | | | Fields "name" (created with strdup in new_entry) and "pathname" (created with g_strdup_printf in new_entry) of pathelem struct should be freed before the whole struct is. Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* virtfs-proxy-helper: fix call to acceptTim Comer2014-04-281-0/+1
| | | | | | | | | | | The current code calls accept() without initializing the size parameter which means the accept call might write too much to the stack. URL: https://bugs.gentoo.org/486714 Signed-off-by: Tim Comer <comer0@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* net/net.c: remove unnecessary semicolonIgor Ryzhov2014-04-281-1/+1
| | | | | | Signed-off-by: Igor Ryzhov <iryzhov@arccn.ru> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* Add QEMU logo (SVG file)Stefan Weil2014-04-281-0/+1010
| | | | | | | | | | | | | | | | The "Q" of the logo is already included in pc-bios/qemu_logo_no_text.svg. This file now adds the complete logo as it was designed by Benoît Canet. Benoît licensed it under CC-BY 3.0, see http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg02865.html. Unneeded borders from Benoît's original logo were removed, and metadata (license, author, date) was added in this version. Cc: Benoît Canet <benoit@irqsave.net> Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* vl: avoid closing stdout with 'writeconfig'Chen Gang2014-04-281-1/+3
| | | | | | | | | | | | 'writeconfig' supports output to stdout (with '-'); when that happens, we must not close stdout, or further command line options that also use stdout will be impacted. (Although 'writeconfig' was copied from 'readconfig', the latter does not have the problem because it does not support reading from '-') Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* xilinx: Fix typo in comment (Marvel -> Marvell)Stefan Weil2014-04-281-1/+1
| | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* vl: Eliminate a superfluous local variableChen Gang2014-04-281-9/+9
| | | | | | | | | CODING_STYLE frowns upon mixing declarations and statements. main() has such a declaration. Clean up by eliminating the variable. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* vl: Remove useless 'continue'Chen Gang2014-04-281-1/+0
| | | | | | | | | "This if else has no code between it and the end of the enclosing while loop. This makes this continue redundant." Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* gitignore: cleanups #2Michael Tokarev2014-04-281-7/+2
| | | | | | | | | | A few more cleanups for .gitignore file. The final goal is to have only files in there which are generated during build. Things like .orig or .gdbinit are definitely not generated during build. Also, anchor a few more build-time directories. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* tests/.gitignore: Ignore test-rfifolockCole Robinson2014-04-271-0/+1
| | | | | Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* move test-* from .gitignore to tests/.gitignoreLaszlo Ersek2014-04-272-11/+9
| | | | | | | Also sort the test-* entries in the latter. Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* configure: Improve help behaviorFam Zheng2014-04-271-2/+5
| | | | | | | | | | | | | | Old: There are two paths to show help and exit 1, one is with "-h" or "--help", one is with invalid options. New: Show help and exit 0 for --help. On invalid option, don't show the long help and bury the early "ERROR:" line, just give a message pointing to --help. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* vl: convert -m to QemuOptsIgor Mammedov2014-04-272-17/+63
| | | | | | | | | | | | | | | | Adds option to -m "size" - startup memory amount For compatibility with legacy CLI if suffix-less number is passed, it assumes amount in Mb. Otherwise user is free to use suffixed number using suffixes b,k/K,M,G Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* qemu-option: introduce qemu_find_opts_singletonPaolo Bonzini2014-04-273-10/+17
| | | | | | | | Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* misc: Use cpu_physical_memory_read and cpu_physical_memory_writeStefan Weil2014-04-274-26/+23
| | | | | | | | These functions don't need type casts (as does cpu_physical_memory_rw) and also make the code better readable. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
* Merge remote-tracking branch 'remotes/rth/tags/tgt-axp-pull-20140424' into ↵Peter Maydell2014-04-253-1492/+879
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | staging target-alpha queue pull for 20140424 # gpg: Signature made Thu 24 Apr 2014 20:44:23 BST using RSA key ID 4DD0279B # gpg: Can't check signature: public key not found * remotes/rth/tags/tgt-axp-pull-20140424: (40 commits) target-alpha: Remove cpu_unique, cpu_sysval, cpu_usp target-alpha: Tidy alpha_translate_init target-alpha: Don't issue goto_tb under singlestep target-alpha: Use non-local temps for zero/sink target-alpha: Use extract to get insn fields target-alpha: Convert mfpr/mtpr to source/sink target-alpha: Convert gen_cpys et al to source/sink target-alpha: Convert gen_fcvtlq/ql to source/sink target-alpha: Convert gen_fcmov to source/sink target-alpha: Convert gen_bcond to source/sink target-alpha: Convert most ieee insns to source/sink target-alpha: Convert gen_ieee_input to source/sink target-alpha: Convert MVIOP2 to source/sink target-alpha: Convert ARITH3 to source/sink target-alpha: Convert FARITH3 to source/sink target-alpha: Convert FARITH2 to source/sink target-alpha: Convert gen_zap/not to source/sink target-alpha: Convert gen_ins_h/l to source/sink target-alpha: Convert gen_ext_h/l to source/sink target-alpha: Convert gen_msk_h/l to source/sink ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
| * target-alpha: Remove cpu_unique, cpu_sysval, cpu_uspRichard Henderson2014-04-171-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Technically, these variables could have been referenced both via offsets from env and as TCG registers, which would be illegal. Of course, that could only be done from PALcode, and ours doesn't do that. But honestly, these are used infrequently enough that they don't really need to be TCG registers. We wind up with exactly the same code if we follow the letter of the law and issue explicit ld/st. Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Tidy alpha_translate_initRichard Henderson2014-04-171-35/+43
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Don't issue goto_tb under singlestepRichard Henderson2014-04-171-1/+2
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Use non-local temps for zero/sinkRichard Henderson2014-04-171-2/+2
| | | | | | | | | | | | These values are no longer live across branches. Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Use extract to get insn fieldsRichard Henderson2014-04-171-27/+22
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert mfpr/mtpr to source/sinkRichard Henderson2014-04-171-33/+19
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_cpys et al to source/sinkRichard Henderson2014-04-171-76/+24
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_fcvtlq/ql to source/sinkRichard Henderson2014-04-173-50/+36
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_fcmov to source/sinkRichard Henderson2014-04-171-30/+14
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_bcond to source/sinkRichard Henderson2014-04-171-18/+6
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert most ieee insns to source/sinkRichard Henderson2014-04-171-52/+17
| | | | | | | | | | | | | | This one fixes a bug, previously noted as supressing exceptions in the (unlikely) case the destination register was $f31. Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_ieee_input to source/sinkRichard Henderson2014-04-171-19/+13
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert MVIOP2 to source/sinkRichard Henderson2014-04-171-19/+4
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert ARITH3 to source/sinkRichard Henderson2014-04-171-69/+39
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert FARITH3 to source/sinkRichard Henderson2014-04-171-53/+12
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert FARITH2 to source/sinkRichard Henderson2014-04-171-32/+11
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_zap/not to source/sinkRichard Henderson2014-04-171-30/+11
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_ins_h/l to source/sinkRichard Henderson2014-04-171-61/+50
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_ext_h/l to source/sinkRichard Henderson2014-04-171-40/+26
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_msk_h/l to source/sinkRichard Henderson2014-04-171-28/+19
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_cmov to source/sinkRichard Henderson2014-04-171-44/+22
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert ARITH3_EX to source/sinkRichard Henderson2014-04-171-43/+6
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_cmp to source/sinkRichard Henderson2014-04-171-35/+5
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_store_conditional to source/sinkRichard Henderson2014-04-171-5/+1
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert gen_load/store_mem to source/sinkRichard Henderson2014-04-171-38/+29
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x1F to source/sinkRichard Henderson2014-04-171-20/+10
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x1E to source/sinkRichard Henderson2014-04-171-2/+4
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x1C to source/sinkRichard Henderson2014-04-171-54/+19
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x1B to source/sinkRichard Henderson2014-04-171-19/+13
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x1A to source/sinkRichard Henderson2014-04-171-5/+4
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x18 to source/sinkRichard Henderson2014-04-171-9/+9
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x17 to source/sinkRichard Henderson2014-04-171-21/+20
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x14 to source/sinkRichard Henderson2014-04-171-26/+18
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
| * target-alpha: Convert opcode 0x13 to source/sinkRichard Henderson2014-04-171-39/+10
| | | | | | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
OpenPOWER on IntegriCloud