qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] eb6282: misc: Use cpu_physical_memory_read an


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] eb6282: misc: Use cpu_physical_memory_read and cpu_physica...
Date: Mon, 28 Apr 2014 06:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: eb6282f230b75eca057dd3b3027f1bfa100bef9c
      
https://github.com/qemu/qemu/commit/eb6282f230b75eca057dd3b3027f1bfa100bef9c
  Author: Stefan Weil <address@hidden>
  Date:   2014-04-27 (Sun, 27 Apr 2014)

  Changed paths:
    M cpus.c
    M hw/i386/kvmvapic.c
    M hw/intc/apic.c
    M target-s390x/misc_helper.c

  Log Message:
  -----------
  misc: Use cpu_physical_memory_read and cpu_physical_memory_write

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 <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: e96e5ae880f0e5d4d372264e2a5cb91cba40f771
      
https://github.com/qemu/qemu/commit/e96e5ae880f0e5d4d372264e2a5cb91cba40f771
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-04-27 (Sun, 27 Apr 2014)

  Changed paths:
    M include/qemu/config-file.h
    M util/qemu-config.c
    M vl.c

  Log Message:
  -----------
  qemu-option: introduce qemu_find_opts_singleton

Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 6e1d3c1c855818a6d1399698572afae0d11b872b
      
https://github.com/qemu/qemu/commit/6e1d3c1c855818a6d1399698572afae0d11b872b
  Author: Igor Mammedov <address@hidden>
  Date:   2014-04-27 (Sun, 27 Apr 2014)

  Changed paths:
    M qemu-options.hx
    M vl.c

  Log Message:
  -----------
  vl: convert -m to QemuOpts

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 <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 2d2ad6d0902bb6338f7fc64e52c202439b90f7ce
      
https://github.com/qemu/qemu/commit/2d2ad6d0902bb6338f7fc64e52c202439b90f7ce
  Author: Fam Zheng <address@hidden>
  Date:   2014-04-27 (Sun, 27 Apr 2014)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Improve help behavior

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 <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 296b14491aaaeb7082f8447f6650bfb22c58965b
      
https://github.com/qemu/qemu/commit/296b14491aaaeb7082f8447f6650bfb22c58965b
  Author: Laszlo Ersek <address@hidden>
  Date:   2014-04-27 (Sun, 27 Apr 2014)

  Changed paths:
    M .gitignore
    M tests/.gitignore

  Log Message:
  -----------
  move test-* from .gitignore to tests/.gitignore

Also sort the test-* entries in the latter.

Signed-off-by: Laszlo Ersek <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: a27b04577e6db52158d0e1d4483dfbaa037bff5d
      
https://github.com/qemu/qemu/commit/a27b04577e6db52158d0e1d4483dfbaa037bff5d
  Author: Cole Robinson <address@hidden>
  Date:   2014-04-27 (Sun, 27 Apr 2014)

  Changed paths:
    M tests/.gitignore

  Log Message:
  -----------
  tests/.gitignore: Ignore test-rfifolock

Signed-off-by: Cole Robinson <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 5d77c8f9b61fbcbf26bb9647935df57a1eed6c05
      
https://github.com/qemu/qemu/commit/5d77c8f9b61fbcbf26bb9647935df57a1eed6c05
  Author: Michael Tokarev <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  gitignore: cleanups #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 <address@hidden>


  Commit: a629f2fdba18c8860e0995a846f7cb14b03cde24
      
https://github.com/qemu/qemu/commit/a629f2fdba18c8860e0995a846f7cb14b03cde24
  Author: Chen Gang <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: Remove useless 'continue'

"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 <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 6924bc1eef86170b7d5bee6c4aae8bb4a78350dd
      
https://github.com/qemu/qemu/commit/6924bc1eef86170b7d5bee6c4aae8bb4a78350dd
  Author: Chen Gang <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: Eliminate a superfluous local variable

CODING_STYLE frowns upon mixing declarations and statements.  main()
has such a declaration.  Clean up by eliminating the variable.

Signed-off-by: Chen Gang <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 24c12b79235ca8187f6652900c1d25a10cbdac71
      
https://github.com/qemu/qemu/commit/24c12b79235ca8187f6652900c1d25a10cbdac71
  Author: Stefan Weil <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx: Fix typo in comment (Marvel -> Marvell)

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 7fb8b5d9c4ef6a49457155e1b7a002c227cd8bbd
      
https://github.com/qemu/qemu/commit/7fb8b5d9c4ef6a49457155e1b7a002c227cd8bbd
  Author: Chen Gang <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: avoid closing stdout with 'writeconfig'

'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 <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: d461863d3c43422ad6b9bb56b5d3d85f18c26cf9
      
https://github.com/qemu/qemu/commit/d461863d3c43422ad6b9bb56b5d3d85f18c26cf9
  Author: Stefan Weil <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    A pc-bios/qemu_logo.svg

  Log Message:
  -----------
  Add QEMU logo (SVG file)

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 <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 9057698d93cd4678788d1e8e0eaa5adb4fcbd82c
      
https://github.com/qemu/qemu/commit/9057698d93cd4678788d1e8e0eaa5adb4fcbd82c
  Author: Igor Ryzhov <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M net/net.c

  Log Message:
  -----------
  net/net.c: remove unnecessary semicolon

Signed-off-by: Igor Ryzhov <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: b0f9300ca389952aeaa4b96aa58bf3661e227420
      
https://github.com/qemu/qemu/commit/b0f9300ca389952aeaa4b96aa58bf3661e227420
  Author: Tim Comer <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M fsdev/virtfs-proxy-helper.c

  Log Message:
  -----------
  virtfs-proxy-helper: fix call to accept

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 <address@hidden>
Signed-off-by: Mike Frysinger <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 00a9cacaea9afa4cb72871d1067bb21f75dcc3bd
      
https://github.com/qemu/qemu/commit/00a9cacaea9afa4cb72871d1067bb21f75dcc3bd
  Author: Kirill Batuzov <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M util/path.c

  Log Message:
  -----------
  init_paths: fix minor memory leak

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 <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: b920cad6693d6f2baa0217543c9f9cca5ebaf6ce
      
https://github.com/qemu/qemu/commit/b920cad6693d6f2baa0217543c9f9cca5ebaf6ce
  Author: Michael Tokarev <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M po/Makefile

  Log Message:
  -----------
  po/Makefile: fix $SRC_PATH reference

The rule for messages.po appears to be slightly wrong.
Move the `cd' command within parens.

Signed-off-by: Michael Tokarev <address@hidden>
Tested-by: Stefan Weil <address@hidden>


  Commit: 7a30842186274a139c2dd8de5c0a43a8d638c8a6
      
https://github.com/qemu/qemu/commit/7a30842186274a139c2dd8de5c0a43a8d638c8a6
  Author: Michael Tokarev <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M po/de_DE.po
    M po/fr_FR.po
    M po/hu.po
    M po/it.po
    M po/tr.po

  Log Message:
  -----------
  po: add proper Language: tags to .po files

Signed-off-by: Michael Tokarev <address@hidden>


  Commit: b87b8a8b32518df9e5285f9b3d4f9d9a0c426a06
      
https://github.com/qemu/qemu/commit/b87b8a8b32518df9e5285f9b3d4f9d9a0c426a06
  Author: Michael Buesch <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M net/slirp.c

  Log Message:
  -----------
  slirp/smb: Move ncalrpc directory to tmp

The smbd forked by qemu still uses the default ncalrpc directory
in /var/run/samba. This may lead to problems, if /var/run/samba
does not exist (for example if /var/run is a tmpfs and the host
smbd was not started).

This leads to the following error message from samba
and an unworkable smbd:
        Failed to create pipe directory /var/run/samba/ncalrpc - No such file 
or directory

Fix this by pointing smbd to /tmp/qemu-smb.%d.%d/ncalrpc as ncalrpc directory.
Smbd will create the actual ncalrpc subdirectory on its own.

Signed-off-by: Michael Buesch <address@hidden>
Cc: Jan Kiszka <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
(Applying this to -trivial because it _is_ rather trivial
 and because Jan does not reply for months)


  Commit: 93156cef1c9008a549de5fa430b9c6b3d2f5e43b
      
https://github.com/qemu/qemu/commit/93156cef1c9008a549de5fa430b9c6b3d2f5e43b
  Author: Peter Maydell <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M .gitignore
    M configure
    M cpus.c
    M fsdev/virtfs-proxy-helper.c
    M hw/i386/kvmvapic.c
    M hw/intc/apic.c
    M hw/net/xilinx_axienet.c
    M include/qemu/config-file.h
    M net/slirp.c
    A pc-bios/qemu_logo.svg
    M po/Makefile
    M po/de_DE.po
    M po/fr_FR.po
    M po/hu.po
    M po/it.po
    M po/tr.po
    M qemu-options.hx
    M target-s390x/misc_helper.c
    M tests/.gitignore
    M util/path.c
    M util/qemu-config.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-04-28' 
into staging

trivial patches for 2014-04-28

# gpg: Signature made Mon 28 Apr 2014 05:56:01 BST using RSA key ID A4C3D7DB
# gpg: Good signature from "Michael Tokarev <address@hidden>"
# gpg:                 aka "Michael Tokarev <address@hidden>"
# gpg:                 aka "Michael Tokarev <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
#      Subkey fingerprint: 6F67 E18E 7C91 C5B1 5514  66A7 BEE5 9D74 A4C3 D7DB

* remotes/mjt/tags/trivial-patches-2014-04-28:
  slirp/smb: Move ncalrpc directory to tmp
  po: add proper Language: tags to .po files
  po/Makefile: fix $SRC_PATH reference
  init_paths: fix minor memory leak
  virtfs-proxy-helper: fix call to accept
  net/net.c: remove unnecessary semicolon
  Add QEMU logo (SVG file)
  vl: avoid closing stdout with 'writeconfig'
  xilinx: Fix typo in comment (Marvel -> Marvell)
  vl: Eliminate a superfluous local variable
  vl: Remove useless 'continue'
  gitignore: cleanups #2
  tests/.gitignore: Ignore test-rfifolock
  move test-* from .gitignore to tests/.gitignore
  configure: Improve help behavior
  vl: convert -m to QemuOpts
  qemu-option: introduce qemu_find_opts_singleton
  misc: Use cpu_physical_memory_read and cpu_physical_memory_write

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/13de54eedd40...93156cef1c90

reply via email to

[Prev in Thread] Current Thread [Next in Thread]