qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 463d8e: linux-user: handle /proc/$$ like /pro


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 463d8e: linux-user: handle /proc/$$ like /proc/self
Date: Wed, 10 Jul 2013 10:00:17 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 463d8e7393681b300946d6bf9f9d5b7035d718c6
      
https://github.com/qemu/qemu/commit/463d8e7393681b300946d6bf9f9d5b7035d718c6
  Author: Andreas Schwab <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: handle /proc/$$ like /proc/self

Some applications use /proc/$$/... (where $$ is the own pid) instead of
/proc/self/... to refer to their own proc files.  Extend the interception
for open and readlink to handle this case.  Also, do the same interception
in readlinkat.

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


  Commit: 7ff7b666186a86f0121e6e7db6784222cefe22a2
      
https://github.com/qemu/qemu/commit/7ff7b666186a86f0121e6e7db6784222cefe22a2
  Author: Laurent Vivier <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M linux-user/ioctls.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: add SIOCADDRT/SIOCDELRT support

This allows to pass the device name.

You can test this with the "route" command.

WITHOUT this patch:

$ sudo route add -net default gw 10.0.3.1 eth0
SIOCADDRT: Bad address
$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Ifa
10.0.3.0        0.0.0.0         255.255.255.0   U         0 0          0 eth

WITH this patch:

$ sudo route add -net default gw 10.0.3.1 eth0
$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Ifa
0.0.0.0         10.0.3.1        0.0.0.0         UG        0 0          0 eth
10.0.3.0        0.0.0.0         255.255.255.0   U         0 0          0 eth

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


  Commit: 167c50d8f94e0ffb880aa5cd2a232a3f32f0df1d
      
https://github.com/qemu/qemu/commit/167c50d8f94e0ffb880aa5cd2a232a3f32f0df1d
  Author: Andreas Schwab <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M linux-user/signal.c

  Log Message:
  -----------
  linux-user: fix signal number range check

When translating between host and target signal numbers keep negative
numbers unchanged, avoiding access beyond array bounds.

Signed-off-by: Andreas Schwab <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden


  Commit: 1acae9f22380a03b468a29a3cc035b280610b5e4
      
https://github.com/qemu/qemu/commit/1acae9f22380a03b468a29a3cc035b280610b5e4
  Author: Peter Maydell <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Fix sys_utimensat (would not compile on old glibc)

Commit c0d472b12e accidentally dropped the definition of
__NR_SYS_utimensat even though its use is guarded by
CONFIG_UTIMENSAT, not CONFIG_ATFILE. Some older glibc don't
have utimensat() (even if they have the other *at() functions).
Fix this by correctly cleaning up the sys_utimensat()
implementation and #defines, so that we always provide the
syscall if needed whether we're doing it via glibc or not.

Signed-off-by: Peter Maydell <address@hidden>
Tested-by: Laurent Desnogues <address@hidden>
Message-id: address@hidden


  Commit: 023b0ae33be6ce2e60d75d2b54a3d2cea6b6020e
      
https://github.com/qemu/qemu/commit/023b0ae33be6ce2e60d75d2b54a3d2cea6b6020e
  Author: Peter Maydell <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M user-exec.c

  Log Message:
  -----------
  user-exec.c: Set is_write correctly in the ARM cpu_signal_handler()

In the ARM implementation of cpu_signal_handler(), set is_write
correctly using the FSR value which the kernel passes us in the
error_code field of uc_mcontext. Since the WnR bit of the FSR was
only introduced in ARMv6, this means that v5 cores will continue
to behave as before this patch, but they are not really supported
as hosts for linux-user mode anyway since they do not have the
modern behaviour for unaligned accesses.

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


  Commit: f651e6ae55b047a8ac4b6b5891fe69ba4c66c57c
      
https://github.com/qemu/qemu/commit/f651e6ae55b047a8ac4b6b5891fe69ba4c66c57c
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M linux-user/socket.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: improve target_to_host_sock_type conversion

Previous implementation has failed to take into account different value of
SOCK_NONBLOCK on target and host, and existence of SOCK_CLOEXEC.
The same conversion has to be applied both for do_socket and do_socketpair,
so the code has been isolated in a static inline function.

enum sock_type in linux-user/socket.h has been extended to include
TARGET_SOCK_CLOEXEC and TARGET_SOCK_NONBLOCK, similar to definition in libc.
The patch also includes necessary code style changes (tab to spaces) in the
header file since most of the file has been touched by this change.

Signed-off-by: Petar Jovanovic <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>


  Commit: 8384274eda1d7cb01f326143fa6118562c1eb5be
      
https://github.com/qemu/qemu/commit/8384274eda1d7cb01f326143fa6118562c1eb5be
  Author: Jürg Billeter <address@hidden>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Do not ignore mmap failure from host

File mapping may fail with EACCES.

Signed-off-by: Jürg Billeter <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>


  Commit: cc7772bdbe4cb0ff1bac538bda86260b871d8b1a
      
https://github.com/qemu/qemu/commit/cc7772bdbe4cb0ff1bac538bda86260b871d8b1a
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-08 (Mon, 08 Jul 2013)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  tcg: Add myself to general TCG maintainership

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


  Commit: ca675f46e695bd49a1c21a5e82c6b8c77ee12edf
      
https://github.com/qemu/qemu/commit/ca675f46e695bd49a1c21a5e82c6b8c77ee12edf
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.h
    M tcg/hppa/tcg-target.h
    M tcg/ia64/tcg-target.h
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.h
    M tcg/ppc64/tcg-target.h
    M tcg/sparc/tcg-target.h
    M tcg/tcg-op.h
    M tcg/tcg-opc.h
    M tcg/tcg.h
    M tcg/tci/tcg-target.h

  Log Message:
  -----------
  tcg: Split rem requirement from div requirement

There are several hosts with only a "div" insn.  Remainder is computed
manually from the quotient and inputs.  We can do this generically.

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


  Commit: 5e1108b3709d7bc04cae141f36d35cc11430a79b
      
https://github.com/qemu/qemu/commit/5e1108b3709d7bc04cae141f36d35cc11430a79b
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/arm/tcg-target.c
    M tcg/arm/tcg-target.h

  Log Message:
  -----------
  tcg-arm: Don't implement rem

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


  Commit: 865a4671f97e3b52c3ba4167d4f2630e79927712
      
https://github.com/qemu/qemu/commit/865a4671f97e3b52c3ba4167d4f2630e79927712
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/ppc/tcg-target.c
    M tcg/ppc/tcg-target.h

  Log Message:
  -----------
  tcg-ppc: Don't implement rem

Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5b9f72ab59ec9d57546cfc499ccc863327cb8a46
      
https://github.com/qemu/qemu/commit/5b9f72ab59ec9d57546cfc499ccc863327cb8a46
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/ppc64/tcg-target.c
    M tcg/ppc64/tcg-target.h

  Log Message:
  -----------
  tcg-ppc64: Don't implement rem

Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4ef76952bd702d29ee4c021f068d85b063fdb928
      
https://github.com/qemu/qemu/commit/4ef76952bd702d29ee4c021f068d85b063fdb928
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/tcg-opc.h

  Log Message:
  -----------
  tcg: Allow non-constant control macros

This allows TCG_TARGET_HAS_* to be a variable rather than a constant,
which allows easier support for differing ISA levels for the host.

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


  Commit: c1a61f6c85f63d379b4a03d399986174371f5c2e
      
https://github.com/qemu/qemu/commit/c1a61f6c85f63d379b4a03d399986174371f5c2e
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/tcg-opc.h
    M tcg/tcg.c
    M tcg/tcg.h

  Log Message:
  -----------
  tcg: Simplify logic using TCG_OPF_NOT_PRESENT

Expand the definition of "not present" to include "should not be present".
This means we can simplify the logic surrounding the generic tcg opcodes
for which the host backend ought not be providing definitions.

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


  Commit: 72e1ccfc0cf32005e23d308edfe2d06c7472154e
      
https://github.com/qemu/qemu/commit/72e1ccfc0cf32005e23d308edfe2d06c7472154e
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/arm/tcg-target.c
    M tcg/arm/tcg-target.h

  Log Message:
  -----------
  tcg-arm: Make use of conditional availability of opcodes for divide

We can now detect and use divide instructions at runtime, rather than
having to restrict their availability to compile-time.

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


  Commit: fb82273851a855e72248fcabe93bc43ab3a8efe4
      
https://github.com/qemu/qemu/commit/fb82273851a855e72248fcabe93bc43ab3a8efe4
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/arm/tcg-target.c

  Log Message:
  -----------
  tcg-arm: Rename use_armv5_instructions to use_armvt5_instructions

As it really controls the availability of a thumb interworking
instruction on armv5t.

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


  Commit: cb91021a4786efdd6e4ca1ebfd8729481466bbb8
      
https://github.com/qemu/qemu/commit/cb91021a4786efdd6e4ca1ebfd8729481466bbb8
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/arm/tcg-target.c

  Log Message:
  -----------
  tcg-arm: Simplify logic in detecting the ARM ISA in use

GCC 4.8 defines a handy __ARM_ARCH symbol that we can use, which
will make us nicely forward compatible with ARMv8 AArch32.

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


  Commit: 1e709f38331ef5bab76cd454c61d4af982cadf0b
      
https://github.com/qemu/qemu/commit/1e709f38331ef5bab76cd454c61d4af982cadf0b
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/arm/tcg-target.c

  Log Message:
  -----------
  tcg-arm: Use AT_PLATFORM to detect the host ISA

With this we can generate armv7 insns even when the OS compiles for a
lower common denominator.  The macros are arranged so that when we do
compile for a given ISA, all of the runtime checks for that ISA are
optimized away.

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


  Commit: 45aba097d24544ed2d3244b3268a071750e4499b
      
https://github.com/qemu/qemu/commit/45aba097d24544ed2d3244b3268a071750e4499b
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Fix high_pc fields in .debug_info

I don't think the debugger actually looks at this for anything,
using the correct .debug_frame contents, but might as well get
it all correct.

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


  Commit: 497a22eb87da704c0a59ebebfde441849cd5189b
      
https://github.com/qemu/qemu/commit/497a22eb87da704c0a59ebebfde441849cd5189b
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/hppa/tcg-target.c
    M tcg/i386/tcg-target.c
    M tcg/sparc/tcg-target.c
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Move the CIE and FDE header definitions to common code

These will necessarily be the same layout for all hosts.  This limits
the amount of boilerplate required to implement jit debug for a host.

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


  Commit: b5cc476da7e71629d8d4ab77f691c70346368788
      
https://github.com/qemu/qemu/commit/b5cc476da7e71629d8d4ab77f691c70346368788
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/i386/tcg-target.c

  Log Message:
  -----------
  tcg-i386: Use QEMU_BUILD_BUG_ON instead of assert for frame size

We can check the condition at compile time, rather than run time.

Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 0caa91fe1f0a60269d7af032118639303e6eddd6
      
https://github.com/qemu/qemu/commit/0caa91fe1f0a60269d7af032118639303e6eddd6
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M tcg/arm/tcg-target.c

  Log Message:
  -----------
  tcg-arm: Implement tcg_register_jit

Allows unwinding past the code_gen_buffer.

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


  Commit: 071b3364e7995036816aa4ebf80ecfa04b1a31de
      
https://github.com/qemu/qemu/commit/071b3364e7995036816aa4ebf80ecfa04b1a31de
  Author: Dongxue Zhang <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-openrisc/cpu.c

  Log Message:
  -----------
  target-openrisc: Fix typename in openrisc_cpu_class_by_name()

Commit 478032a93d908e59085c1ac56f10979942e7dc4f (target-openrisc:
Rename CPU subtypes) suffixed CPU sub-types with "-or32-cpu" but forgot
to update openrisc_cpu_class_by_name(), so that it was still looking for
the types without suffix.

Make target-openrisc running OK by adding the suffix to the model name.

This means it is no longer possible to use -cpu or1200-or32-cpu or
-cpu any-or32-cpu though.

Cc: address@hidden
Signed-off-by: Dongxue Zhang <address@hidden>
Tested-by: Jia Liu <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 964c6fa16f50a607f9da5068d6bf15ccc93872c0
      
https://github.com/qemu/qemu/commit/964c6fa16f50a607f9da5068d6bf15ccc93872c0
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Simplify alternate .text segment

For bsd-user and linux-user emulation modes QEMU needs to be linked at an
alternate .text segment address, so that it's out of the way of the guest
executable.  Instead of including modified linker scripts for each arch,
just set the address with -Ttext-segment if supported, or by using sed to
edit the default linker script.

Cc: Ed Maste <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Acked-by: Ed Maste <address@hidden>
Signed-off-by: Ed Maste <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 02c4bdf1d2ca8c02a9bae16398f260b5c08d08bf
      
https://github.com/qemu/qemu/commit/02c4bdf1d2ca8c02a9bae16398f260b5c08d08bf
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

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

  Log Message:
  -----------
  trap signals for "-serial mon:stdio"

With mon:stdio you can exit the VM by switching to the monitor and
sending the "quit" command.  It is then useful to pass Ctrl-C to the
VM instead of exiting.

This in turn lets us stop tying the default signal handling behavior
to -nographic, removing gratuitous differences between "-display none"
and "-nographic".

This patch changes behavior for "-display none -serial mon:stdio", as
expected, but not for "-display none -serial stdio".

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: edb5092c245d34e05ca410d4bf32cf0c2786c8e8
      
https://github.com/qemu/qemu/commit/edb5092c245d34e05ca410d4bf32cf0c2786c8e8
  Author: MRatnikov <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/i2c/pm_smbus.c

  Log Message:
  -----------
  Extend support of SMBUS(module pm_smbus.c) HST_STS register.

Previous realization doesn't consider flags in the status register.
Add DS and INTR bits of HST_STS register set after transaction execution.
Update bits resetting in HST_STS register. Update error processing:
if DEV_ERR bit set transaction isn't execution.

Signed-off-by: MRatnikov <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: b58c86e1e4cdf59373aad2ec25f99f772766374c
      
https://github.com/qemu/qemu/commit/b58c86e1e4cdf59373aad2ec25f99f772766374c
  Author: Stefan Weil <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M fsdev/qemu-fsdev.c

  Log Message:
  -----------
  fsdev: Fix potential memory leak

This leak was reported by cppcheck.

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: M. Mohan Kumar <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 92304bf3998cedcf3b1026a795edba7e1fd17c74
      
https://github.com/qemu/qemu/commit/92304bf3998cedcf3b1026a795edba7e1fd17c74
  Author: M. Mohan Kumar <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c

  Log Message:
  -----------
  hw/9pfs: Fix memory leak in error path

Fix few more memory leaks in virtio-9p-device.c detected using valgrind.

Signed-off-by: M. Mohan Kumar <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 154bb106dc195b4fbb76df0452ab6e3e24e80d72
      
https://github.com/qemu/qemu/commit/154bb106dc195b4fbb76df0452ab6e3e24e80d72
  Author: Stefan Weil <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M exec.c
    M include/exec/cpu-all.h

  Log Message:
  -----------
  exec: Remove unused global variable phys_ram_fd

It seems to be unused since several years (commit
be995c27640a82c7056b6f53d02ec823570114e5 in 2006).

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 96bc97ebf350ec480b69082819cedb8850f46a0f
      
https://github.com/qemu/qemu/commit/96bc97ebf350ec480b69082819cedb8850f46a0f
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M util/qemu-option.c

  Log Message:
  -----------
  qemu-option: Fix qemu_opts_find() for null id arguments

Crashes when the first list member has an ID.  Admittedly nonsensical
reproducer:

$ qemu-system-x86_64 -nodefaults -machine id=foo -machine ""

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 6d4cd408686f5ae60b2b3b94b79f48ddedc2f39d
      
https://github.com/qemu/qemu/commit/6d4cd408686f5ae60b2b3b94b79f48ddedc2f39d
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M util/qemu-option.c

  Log Message:
  -----------
  qemu-option: Fix qemu_opts_set_defaults() for corner cases

Commit 4f6dd9a changed the initialization of opts in opts_parse() to
this:

    if (defaults) {
  if (!id && !QTAILQ_EMPTY(&list->head)) {
      opts = qemu_opts_find(list, NULL);
  } else {
      opts = qemu_opts_create(list, id, 0);
  }
    } else {
  opts = qemu_opts_create(list, id, 1);
    }

Same as before for !defaults.

If defaults is true, and params has no ID, and options exist, we use
the first assignment.  It sets opts to null if all options have an ID.
opts_parse() then returns null.  qemu_opts_set_defaults() asserts the
value is non-null.  It's the only caller that passes true for
defaults.

To reproduce, try "-M xenpv -machine id=foo" (yes, "id=foo" is silly,
but it shouldn't crash).

I believe the function attempts to do the following:

    If options don't yet exist, create new options
    Else, if defaults, modify the existing options
    Else, if list->merge_lists, modify the existing options
    Else, fail

A straightforward call of qemu_opts_create() does exactly that.

Cc: Jan Kiszka <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7f9d6e540ec4f3bf4dc3501c4a1405998c2be4e7
      
https://github.com/qemu/qemu/commit/7f9d6e540ec4f3bf4dc3501c4a1405998c2be4e7
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M include/sysemu/sysemu.h
    M vl.c

  Log Message:
  -----------
  vl: New qemu_get_machine_opts()

To be used in the next few commits to fix or clean up queries of
"machine" options (-machine and its sugared forms).

Signed-off-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 36ad0e948e15d8d86c8dec1c17a8588d87b0107d
      
https://github.com/qemu/qemu/commit/36ad0e948e15d8d86c8dec1c17a8588d87b0107d
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/ppc/e500.c
    M kvm-all.c
    M target-i386/kvm.c
    M vl.c

  Log Message:
  -----------
  Fix -machine options accel, kernel_irqchip, kvm_shadow_mem

Multiple -machine options with the same ID are merged.  All but the
one without an ID are to be silently ignored.

In most places, we query these options with a null ID.  This is
correct.

In some places, we instead query whatever options come first in the
list.  This is wrong.  When the -machine processed first happens to
have an ID, options are taken from that ID, and the ones specified
without ID are silently ignored.

Example:

    $ upstream-qemu -nodefaults -S -display none -monitor stdio -machine id=foo 
-machine accel=kvm,usb=on
    $ upstream-qemu -nodefaults -S -display none -monitor stdio -machine 
id=foo,accel=kvm,usb=on -machine accel=xen
    $ upstream-qemu -nodefaults -S -display none -monitor stdio -machine 
accel=xen -machine id=foo,accel=kvm,usb=on

    $ qemu-system-x86_64 -nodefaults -S -display none -monitor stdio -machine 
accel=kvm,usb=on
    QEMU 1.5.50 monitor - type 'help' for more information
    (qemu) info kvm
    kvm support: enabled
    (qemu) info usb
    (qemu) q
    $ qemu-system-x86_64 -nodefaults -S -display none -monitor stdio -machine 
id=foo -machine accel=kvm,usb=on
    QEMU 1.5.50 monitor - type 'help' for more information
    (qemu) info kvm
    kvm support: disabled
    (qemu) info usb
    (qemu) q
    $ qemu-system-x86_64 -nodefaults -S -display none -monitor stdio -machine 
id=foo,accel=kvm,usb=on -machine accel=xen
    QEMU 1.5.50 monitor - type 'help' for more information
    (qemu) info kvm
    kvm support: enabled
    (qemu) info usb
    USB support not enabled
    (qemu) q
    $ qemu-system-x86_64 -nodefaults -S -display none -monitor stdio -machine 
accel=xen -machine id=foo,accel=kvm,usb=on
    xc: error: Could not obtain handle on privileged command interface (2 = No 
such file or directory): Internal error
    xen be core: can't open xen interface
    failed to initialize Xen: Operation not permitted

Option usb is queried correctly, and the one without an ID wins,
regardless of option order.

Option accel is queried incorrectly, and which one wins depends on
option order and ID.

Affected options are accel (and its sugared forms -enable-kvm and
-no-kvm), kernel_irqchip, kvm_shadow_mem.

Additionally, option kernel_irqchip is normally on by default, except
it's off when no -machine options are given.  Bug can't bite, because
kernel_irqchip is used only when KVM is enabled, KVM is off by
default, and enabling always creates -machine options.  Downstreams
that enable KVM by default do get bitten, though.

Use qemu_get_machine_opts() to fix these bugs.

Signed-off-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7bccd9402691e712305bc3b5cc6cf2fa1cc27631
      
https://github.com/qemu/qemu/commit/7bccd9402691e712305bc3b5cc6cf2fa1cc27631
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/microblaze/boot.c

  Log Message:
  -----------
  microblaze: Fix latent bug with default DTB lookup

microblaze_load_kernel() fails to call
qemu_find_file(QEMU_FILE_TYPE_BIOS, dtb_filename) when no -machine
options are given.  This can't normally happen, because -machine
option kernel is mandatory for this target.  Fix it anyway, by using
qemu_get_machine_opts().

Cc: Peter Crosthwaite <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 2ff3de685a875ece3ee21256736c0a9dbf39dc4c
      
https://github.com/qemu/qemu/commit/2ff3de685a875ece3ee21256736c0a9dbf39dc4c
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M device_tree.c
    M exec.c
    M hw/arm/boot.c
    M hw/ppc/e500.c
    M hw/ppc/spapr.c
    M vl.c

  Log Message:
  -----------
  Simplify -machine option queries with qemu_get_machine_opts()

The previous two commits fixed bugs in -machine option queries.  I
can't find fault with the remaining queries, but let's use
qemu_get_machine_opts() everywhere, for consistency, simplicity and
robustness.

Signed-off-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c1b71b0c03df575c72ea413b2f2c27a7a477c05a
      
https://github.com/qemu/qemu/commit/c1b71b0c03df575c72ea413b2f2c27a7a477c05a
  Author: Markus Armbruster <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M device_tree.c
    M vl.c

  Log Message:
  -----------
  vl: Tighten parsing of -machine option phandle_start

Make it QEMU_OPT_NUMBER, so it gets parsed by generic code, which
actually bothers to check for errors, rather than its user, which
doesn't.

Cc: Alexander Graf <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: aa48dd9319dcee78ec17f4d516fb7bfc62b1a4d2
      
https://github.com/qemu/qemu/commit/aa48dd9319dcee78ec17f4d516fb7bfc62b1a4d2
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  Revert "gdbstub: Simplify find_cpu()"

This reverts commit c52a6b67c1d7c6fc9fb2e3ba988d7b978e1487d3, which
replaced cpu_index() with cpu_index field, leading to deviation from
thread ID for NTPL and off-by-one otherwise.

Reported-by: Max Filippov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6291ad77d7c57dfc52a6a938d1a77ec3ec3ad16c
      
https://github.com/qemu/qemu/commit/6291ad77d7c57dfc52a6a938d1a77ec3ec3ad16c
  Author: Peter Maydell <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    A linux-user/alpha/target_cpu.h
    A linux-user/arm/target_cpu.h
    A linux-user/cris/target_cpu.h
    A linux-user/i386/target_cpu.h
    A linux-user/m68k/target_cpu.h
    A linux-user/microblaze/target_cpu.h
    A linux-user/mips/target_cpu.h
    A linux-user/mips64/target_cpu.h
    A linux-user/openrisc/target_cpu.h
    A linux-user/ppc/target_cpu.h
    M linux-user/qemu.h
    A linux-user/s390x/target_cpu.h
    A linux-user/sh4/target_cpu.h
    A linux-user/sparc/target_cpu.h
    A linux-user/sparc64/target_cpu.h
    A linux-user/unicore32/target_cpu.h
    A linux-user/x86_64/target_cpu.h
    M target-alpha/cpu.h
    M target-arm/cpu.h
    M target-cris/cpu.h
    M target-i386/cpu.h
    M target-lm32/cpu.h
    M target-m68k/cpu.h
    M target-microblaze/cpu.h
    M target-mips/cpu.h
    M target-openrisc/cpu.h
    M target-ppc/cpu.h
    M target-s390x/cpu.h
    M target-sh4/cpu.h
    M target-sparc/cpu.h
    M target-unicore32/cpu.h

  Log Message:
  -----------
  linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user

The functions cpu_clone_regs() and cpu_set_tls() are not purely CPU
related -- they are specific to the TLS ABI for a a particular OS.
Move them into the linux-user/ tree where they belong.

target-lm32 had entirely unused implementations, since it has no
linux-user target; just drop them.

Signed-off-by: Peter Maydell <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6e42be7cd10260fd3a006d94f6c870692bf7a2c0
      
https://github.com/qemu/qemu/commit/6e42be7cd10260fd3a006d94f6c870692bf7a2c0
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-alpha/cpu-qom.h
    M target-arm/cpu-qom.h
    M target-cris/cpu-qom.h
    M target-i386/cpu-qom.h
    M target-lm32/cpu-qom.h
    M target-m68k/cpu-qom.h
    M target-microblaze/cpu-qom.h
    M target-mips/cpu-qom.h
    M target-moxie/cpu.h
    M target-openrisc/cpu.h
    M target-ppc/cpu-qom.h
    M target-s390x/cpu-qom.h
    M target-sh4/cpu-qom.h
    M target-sparc/cpu-qom.h
    M target-unicore32/cpu-qom.h
    M target-xtensa/cpu-qom.h

  Log Message:
  -----------
  cpu: Drop unnecessary dynamic casts in *_env_get_cpu()

A transition from CPUFooState to FooCPU can be considered safe,
just like FooCPU::env access in the opposite direction.
The only benefit of the FOO_CPU() casts would be protection against
bogus CPUFooState pointers, but then surrounding code would likely
break, too.

This should slightly improve interrupt etc. performance when going from
CPUFooState to FooCPU.
For any additional CPU() casts see 3556c233d931ad5ffa46a35cb25cfc057732ebb8
(qom: allow turning cast debugging off).

Reported-by: Anthony Liguori <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 80b7cd735417b0883a026d79a513629a2817cdb4
      
https://github.com/qemu/qemu/commit/80b7cd735417b0883a026d79a513629a2817cdb4
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  kvm: Free current_cpu identifier

Since CPU loops are done as last step in kvm_{insert,remove}_breakpoint()
and kvm_remove_all_breakpoints(), we do not need to distinguish between
invoking CPU and iterated CPUs and can thereby free the identifier for
use as a global variable.

Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4917cf44326a1bda2fd7f27303aff7a25ad86518
      
https://github.com/qemu/qemu/commit/4917cf44326a1bda2fd7f27303aff7a25ad86518
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M cpu-exec.c
    M cpus.c
    M exec.c
    M hw/alpha/typhoon.c
    M hw/arm/pxa2xx.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc.c
    M hw/intc/arm_gic.c
    M hw/intc/armv7m_nvic.c
    M hw/intc/openpic.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/misc/vmport.c
    M hw/ppc/mpc8544_guts.c
    M hw/ppc/prep.c
    M hw/sparc/sun4m.c
    M hw/timer/arm_mptimer.c
    M include/exec/cpu-all.h
    M include/qom/cpu.h
    M memory.c
    M translate-all.c
    M user-exec.c

  Log Message:
  -----------
  cpu: Replace cpu_single_env with CPUState current_cpu

Move it to qom/cpu.h.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1d5791f4a67048591c1b038e47c85ccb2c023214
      
https://github.com/qemu/qemu/commit/1d5791f4a67048591c1b038e47c85ccb2c023214
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  kvm: Change kvm_remove_all_breakpoints() argument to CPUState

Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 9b056fcc5becd183fa2bdec9d259bf26b5f71207
      
https://github.com/qemu/qemu/commit/9b056fcc5becd183fa2bdec9d259bf26b5f71207
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Clean up do_syscall() Coding Style for TARGET_NR_exit

In particular fix 6-/10-char indentation.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 182735efaf956ccab50b6d74a4fed163e0f35660
      
https://github.com/qemu/qemu/commit/182735efaf956ccab50b6d74a4fed163e0f35660
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M cpus.c
    M cputlb.c
    M dump.c
    M exec.c
    M gdbstub.c
    M hw/arm/boot.c
    M hw/arm/exynos4_boards.c
    M hw/arm/highbank.c
    M hw/arm/realview.c
    M hw/arm/vexpress.c
    M hw/arm/xilinx_zynq.c
    M hw/i386/kvm/clock.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/intc/sh_intc.c
    M hw/isa/lpc_ich9.c
    M hw/mips/mips_malta.c
    M hw/ppc/e500.c
    M hw/ppc/ppc.c
    M hw/ppc/prep.c
    M hw/ppc/spapr.c
    M include/exec/cpu-all.h
    M include/exec/cpu-defs.h
    M include/qom/cpu.h
    M kvm-all.c
    M linux-user/elfload.c
    M linux-user/main.c
    M linux-user/syscall.c
    M memory_mapping.c
    M monitor.c
    M target-i386/arch_dump.c
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-i386/misc_helper.c
    M target-mips/op_helper.c
    M target-ppc/excp_helper.c
    M target-ppc/kvm.c
    M translate-all.c

  Log Message:
  -----------
  cpu: Make first_cpu and next_cpu CPUState

Move next_cpu from CPU_COMMON to CPUState.
Move first_cpu variable to qom/cpu.h.

gdbstub needs to use CPUState::env_ptr for now.
cpu_copy() no longer needs to save and restore cpu_next.

Acked-by: Paolo Bonzini <address@hidden>
[AF: Rebased, simplified cpu_copy()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a2247f8ec919c51c5749c2e3659841f1a733cce3
      
https://github.com/qemu/qemu/commit/a2247f8ec919c51c5749c2e3659841f1a733cce3
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/linuxload.c
    M linux-user/main.c
    M linux-user/qemu.h
    M linux-user/signal.c
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Change thread_env to CPUState

Signed-off-by: Andreas Färber <address@hidden>


  Commit: dca1173c20e7e7366a9c36f88ae4234e5387ed28
      
https://github.com/qemu/qemu/commit/dca1173c20e7e7366a9c36f88ae4234e5387ed28
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M bsd-user/elfload.c
    M bsd-user/main.c
    M bsd-user/qemu.h

  Log Message:
  -----------
  bsd-user: Change thread_env to CPUState

Signed-off-by: Andreas Färber <address@hidden>


  Commit: dfc080791dfb9dd8907a15e6d45b6cc4969b986f
      
https://github.com/qemu/qemu/commit/dfc080791dfb9dd8907a15e6d45b6cc4969b986f
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/intc/Makefile.objs
    M hw/intc/arm_gic.c

  Log Message:
  -----------
  intc/arm_gic: Build arm_gic only once

Since current_cpu is CPUState it no longer needs CPUArchState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2b927571ccdb79deda74ba84ef493e6cb37eacbe
      
https://github.com/qemu/qemu/commit/2b927571ccdb79deda74ba84ef493e6cb37eacbe
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/intc/Makefile.objs
    M hw/intc/openpic.c
    M hw/ppc/ppc.c
    M include/hw/ppc/ppc.h
    A include/hw/ppc/ppc_e500.h

  Log Message:
  -----------
  intc/openpic: Build openpic only once

Since current_cpu is CPUState it no longer depends on CPUPPCState.

Move ppce500_set_mpic_proxy() to a new hw/ppc/ppc_e500.h because
hw/ppc/ppc.h is too heavily using CPUPPCState and PowerPCCPU.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: de6db419e5cfe604464a7612b5a5f9214d0af837
      
https://github.com/qemu/qemu/commit/de6db419e5cfe604464a7612b5a5f9214d0af837
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M hw/timer/Makefile.objs
    M hw/timer/arm_mptimer.c

  Log Message:
  -----------
  timer/arm_mptimer: Build arm_mptimer only once

Since current_cpu is CPUState it no longer depends on CPUARMState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 09c6a63a6144bbfe2fe434e84d16dd4db6028b6a
      
https://github.com/qemu/qemu/commit/09c6a63a6144bbfe2fe434e84d16dd4db6028b6a
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-ppc/mmu_helper.c

  Log Message:
  -----------
  target-ppc: Don't overuse ENV_GET_CPU()

Commit b632a148b677b773ff155f9de840b37a653567b9 (target-ppc: QOM method
dispatch for MMU fault handling) introduced a use of ENV_GET_CPU()
inside target-ppc/ code. Use ppc_env_get_cpu() instead.

Purely cosmetic, non-functional change to aid in locating and removing
ENV_GET_CPU() usages.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 19079e460520053114127f812ddc488b974c2117
      
https://github.com/qemu/qemu/commit/19079e460520053114127f812ddc488b974c2117
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  target-s390x: Don't overuse ENV_GET_CPU()

Commit 3474b679486caa8f6448bae974e131370f360c13 (Utilize selective
runtime reg sync for hot code paths) introduced two uses of
ENV_GET_CPU() inside target-s390x/ KVM code. In one case we can use a
direct CPU() cast instead.

Cc: Jason J. Herne <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4fd6dd06e66a93fce31b05909ad8d9f0f9dba06e
      
https://github.com/qemu/qemu/commit/4fd6dd06e66a93fce31b05909ad8d9f0f9dba06e
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  target-s390x: Change handle_{hypercall,diag}() argument to S390CPU

This allows to get rid of the last remaining ENV_GET_CPU() in
target-s390x/ by using CPU() cast directly on the argument.

Cc: Jason J. Herne <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 369ff018fee40ffb8f6721e5d7f6b56bea74176c
      
https://github.com/qemu/qemu/commit/369ff018fee40ffb8f6721e5d7f6b56bea74176c
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-i386/arch_dump.c

  Log Message:
  -----------
  target-i386: Don't overuse CPUArchState

Use CPUX86State instead in dump support code.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6f47ec50db92b4bc77de06661a9e7a3eb538b660
      
https://github.com/qemu/qemu/commit/6f47ec50db92b4bc77de06661a9e7a3eb538b660
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-cris/translate.c

  Log Message:
  -----------
  target-cris: gen_intermediate_code_internal() should be inlined

Cc: address@hidden
Reported-by: Richard Henderson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 28014bcab244e968cb03f20384943494bd069ee0
      
https://github.com/qemu/qemu/commit/28014bcab244e968cb03f20384943494bd069ee0
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-lm32/translate.c

  Log Message:
  -----------
  target-lm32: gen_intermediate_code_internal() should be inlined

Cc: address@hidden
Reported-by: Richard Henderson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Acked-by: Michael Walle <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: fd327f48f7e5892318b6dca2c9c6030618f65728
      
https://github.com/qemu/qemu/commit/fd327f48f7e5892318b6dca2c9c6030618f65728
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-microblaze/translate.c

  Log Message:
  -----------
  target-microblaze: gen_intermediate_code_internal() should be inlined

Cc: address@hidden
Reported-by: Richard Henderson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 13cccc692818a570d1fb1326c84d3edae68987aa
      
https://github.com/qemu/qemu/commit/13cccc692818a570d1fb1326c84d3edae68987aa
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-moxie/translate.c

  Log Message:
  -----------
  target-moxie: gen_intermediate_code_internal() should be inlined

Cc: address@hidden
Reported-by: Richard Henderson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ae06d4988d6799f0bd16f27c2bcf80fa1cd2cfd7
      
https://github.com/qemu/qemu/commit/ae06d4988d6799f0bd16f27c2bcf80fa1cd2cfd7
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-xtensa/translate.c

  Log Message:
  -----------
  target-xtensa: gen_intermediate_code_internal() should be inlined

Cc: address@hidden
Reported-by: Richard Henderson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 86a35f7c4608b1961a1a459659a97033cc14d274
      
https://github.com/qemu/qemu/commit/86a35f7c4608b1961a1a459659a97033cc14d274
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-alpha/translate.c

  Log Message:
  -----------
  target-alpha: Change gen_intermediate_code_internal() argument to AlphaCPU

Also use bool argument while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5639c3f224bbe3095ce6584bc8a5ace68b6d8197
      
https://github.com/qemu/qemu/commit/5639c3f224bbe3095ce6584bc8a5ace68b6d8197
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-arm/translate.c

  Log Message:
  -----------
  target-arm: Change gen_intermediate_code_internal() argument to ARMCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 7fd2592dbcc0130e9999a739867a1b539c5ee853
      
https://github.com/qemu/qemu/commit/7fd2592dbcc0130e9999a739867a1b539c5ee853
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-cris/translate.c

  Log Message:
  -----------
  target-cris: Change gen_intermediate_code_internal() argument to CRISCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 467215c20f4befed253696dd6910839bacf75837
      
https://github.com/qemu/qemu/commit/467215c20f4befed253696dd6910839bacf75837
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Change gen_intermediate_code_internal() argument to X86CPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: cd0db97ee050ccea7082361a1193a3bef5648454
      
https://github.com/qemu/qemu/commit/cd0db97ee050ccea7082361a1193a3bef5648454
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-lm32/translate.c

  Log Message:
  -----------
  target-lm32: Change gen_intermediate_code_internal() argument to LM32CPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c296b15b7c2425a2973ad0e63810029913511b51
      
https://github.com/qemu/qemu/commit/c296b15b7c2425a2973ad0e63810029913511b51
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-m68k/translate.c

  Log Message:
  -----------
  target-m68k: Change gen_intermediate_code_internal() argument to M68kCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4a274212f03adaf8b5971cc39d460335392a97f6
      
https://github.com/qemu/qemu/commit/4a274212f03adaf8b5971cc39d460335392a97f6
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-microblaze/translate.c

  Log Message:
  -----------
  target-microblaze: Change gen_intermediate_code_internal() argument types

Use MicroBlazeCPU and bool.

Prepares for changing log_cpu_state() argument to CPUState and for
moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6429db34c11f8cbb2af446a9c1c80395794e6113
      
https://github.com/qemu/qemu/commit/6429db34c11f8cbb2af446a9c1c80395794e6113
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  -----------
  target-mips: Change gen_intermediate_code_internal() argument to MIPSCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 213fe1f5135abe052b634e08fddf6e9945f0eeed
      
https://github.com/qemu/qemu/commit/213fe1f5135abe052b634e08fddf6e9945f0eeed
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-ppc/translate.c

  Log Message:
  -----------
  target-ppc: Change gen_intermediate_code_internal() argument to PowerPCCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: d9916c23d3024ce2ae7f6300a7b4e62780e4632b
      
https://github.com/qemu/qemu/commit/d9916c23d3024ce2ae7f6300a7b4e62780e4632b
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-s390x/translate.c

  Log Message:
  -----------
  target-s390x: Change gen_intermediate_code_internal() argument to S390CPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 38e308103d40d859e2da74166fd4a1a80d78106d
      
https://github.com/qemu/qemu/commit/38e308103d40d859e2da74166fd4a1a80d78106d
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-sh4/translate.c

  Log Message:
  -----------
  target-sh4: Change gen_intermediate_code_internal() argument to SuperHCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 68a471556d911a0adcf639e5fd5af2a2be4c4cb1
      
https://github.com/qemu/qemu/commit/68a471556d911a0adcf639e5fd5af2a2be4c4cb1
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-sparc/translate.c

  Log Message:
  -----------
  target-sparc: Change gen_intermediate_code_internal() argument to SPARCCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 62a80559368de7b2dedc91039d8d11650e31ba4c
      
https://github.com/qemu/qemu/commit/62a80559368de7b2dedc91039d8d11650e31ba4c
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-unicore32/translate.c

  Log Message:
  -----------
  target-unicore32: Change gen_intermediate_code_internal() signature

Use UniCore32CPU and bool.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 90b85b7706e2f80a1f0aa148e180ed70e4093846
      
https://github.com/qemu/qemu/commit/90b85b7706e2f80a1f0aa148e180ed70e4093846
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-xtensa/translate.c

  Log Message:
  -----------
  target-xtensa: Change gen_intermediate_code_internal() arg to XtensaCPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ca4c810aab853788e907a791f8edea68ac30b0e8
      
https://github.com/qemu/qemu/commit/ca4c810aab853788e907a791f8edea68ac30b0e8
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-i386/seg_helper.c

  Log Message:
  -----------
  target-i386: Change do_interrupt_all() argument to X86CPU

Prepares for log_cpu_state() changing argument to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 518e9d7d486273f4ee8d38946e73a7483aca4a92
      
https://github.com/qemu/qemu/commit/518e9d7d486273f4ee8d38946e73a7483aca4a92
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M cpu-exec.c
    M target-i386/cpu.h
    M target-i386/smm_helper.c

  Log Message:
  -----------
  target-i386: Change do_smm_enter() argument to X86CPU

Prepares for log_cpu_state_mask() changing argument to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: a0762859ae2aae2e221c59e2541f964f1350d68b
      
https://github.com/qemu/qemu/commit/a0762859ae2aae2e221c59e2541f964f1350d68b
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M cpu-exec.c
    M exec.c
    M include/qemu/log.h
    M linux-user/main.c
    M target-arm/cpu.c
    M target-cris/cpu.c
    M target-i386/cpu.c
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c
    M target-lm32/cpu.c
    M target-lm32/helper.c
    M target-m68k/cpu.c
    M target-microblaze/cpu.c
    M target-microblaze/helper.c
    M target-microblaze/translate.c
    M target-mips/cpu.c
    M target-mips/helper.c
    M target-moxie/cpu.c
    M target-openrisc/cpu.c
    M target-openrisc/translate.c
    M target-ppc/mmu-hash32.c
    M target-ppc/mmu-hash64.c
    M target-ppc/mmu_helper.c
    M target-ppc/translate_init.c
    M target-s390x/cpu.c
    M target-sh4/cpu.c
    M target-sh4/helper.c
    M target-sparc/cpu.c
    M target-sparc/int32_helper.c
    M target-sparc/int64_helper.c

  Log Message:
  -----------
  log: Change log_cpu_state[_mask]() argument to CPUState

Since commit 878096eeb278a8ac1ccd6667af73e026f29b4cf5 (cpu: Turn
cpu_dump_{state,statistics}() into CPUState hooks) CPUArchState is no
longer needed.

Add documentation and make the functions available through qemu/log.h
outside NEED_CPU_H to allow use in qom/cpu.c. Moving them to qom/cpu.h
was not yet possible due to convoluted include paths, so that some
devices grow an implicit and unneeded dependency on qom/cpu.h for now.

Acked-by: Michael Walle <address@hidden> (for lm32)
Reviewed-by: Richard Henderson <address@hidden>
[AF: Simplified mb_cpu_do_interrupt() and do_interrupt_all() changes]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 8995b7a083e0fda9fac1db3888b3dafe14bd033c
      
https://github.com/qemu/qemu/commit/8995b7a083e0fda9fac1db3888b3dafe14bd033c
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-i386/seg_helper.c

  Log Message:
  -----------
  target-i386: Change LOG_PCALL_STATE() argument to CPUState

Since log_cpu_state_mask() argument was changed to CPUState,
CPUArchState is no longer needed.

Choose CPUState rather than X86CPU to not hide type mismatches with CPU().

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 77710e7aec1e5ae0195cf6ebae6864e3ccb5693a
      
https://github.com/qemu/qemu/commit/77710e7aec1e5ae0195cf6ebae6864e3ccb5693a
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M target-ppc/mmu-hash32.c
    M target-ppc/mmu-hash64.c
    M target-ppc/mmu_helper.c

  Log Message:
  -----------
  target-ppc: Change LOG_MMU_STATE() argument to CPUState

Choose CPUState rather than PowerPCCPU since doing a CPU() cast on the
macro argument would hide type mismatches.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4
      
https://github.com/qemu/qemu/commit/91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M include/qom/cpu.h
    M qom/cpu.c
    M target-arm/cpu.c
    M target-cris/cpu.c
    M target-i386/cpu.c
    M target-lm32/cpu.c
    M target-m68k/cpu.c
    M target-microblaze/cpu.c
    M target-mips/cpu.c
    M target-moxie/cpu.c
    M target-openrisc/cpu.c
    M target-ppc/translate_init.c
    M target-s390x/cpu.c
    M target-sh4/cpu.c
    M target-sparc/cpu.c

  Log Message:
  -----------
  cpu: Move reset logging to CPUState

x86 was using additional CPU_DUMP_* flags, so make that configurable in
CPUClass::reset_dump_flags.

This adds reset logging for alpha, unicore32 and xtensa.

Acked-by: Michael Walle <address@hidden> (for lm32)
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5
      
https://github.com/qemu/qemu/commit/9d6a3d58e4d1431ab3809ff621cfd1f9ec75eef5
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-10 (Wed, 10 Jul 2013)

  Changed paths:
    M qom/object.c

  Log Message:
  -----------
  qom: Fix class cast of NULL classes

Its clear from the implementation that class casting is supposed to work
with a NULL class argument. Guard all dereferences of the class argument
against NULL accordingly.

Signed-off-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 6272d17c420b8cdd6af1784edd34f0b3e9f26b76
      
https://github.com/qemu/qemu/commit/6272d17c420b8cdd6af1784edd34f0b3e9f26b76
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-10 (Wed, 10 Jul 2013)

  Changed paths:
    M MAINTAINERS
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.c
    M tcg/arm/tcg-target.h
    M tcg/hppa/tcg-target.c
    M tcg/hppa/tcg-target.h
    M tcg/i386/tcg-target.c
    M tcg/ia64/tcg-target.h
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.c
    M tcg/ppc/tcg-target.h
    M tcg/ppc64/tcg-target.c
    M tcg/ppc64/tcg-target.h
    M tcg/sparc/tcg-target.c
    M tcg/sparc/tcg-target.h
    M tcg/tcg-op.h
    M tcg/tcg-opc.h
    M tcg/tcg.c
    M tcg/tcg.h
    M tcg/tci/tcg-target.h

  Log Message:
  -----------
  Merge remote-tracking branch 'rth/tcg-next' into staging

# By Richard Henderson
# Via Richard Henderson
* rth/tcg-next:
  tcg-arm: Implement tcg_register_jit
  tcg-i386: Use QEMU_BUILD_BUG_ON instead of assert for frame size
  tcg: Move the CIE and FDE header definitions to common code
  tcg: Fix high_pc fields in .debug_info
  tcg-arm: Use AT_PLATFORM to detect the host ISA
  tcg-arm: Simplify logic in detecting the ARM ISA in use
  tcg-arm: Rename use_armv5_instructions to use_armvt5_instructions
  tcg-arm: Make use of conditional availability of opcodes for divide
  tcg: Simplify logic using TCG_OPF_NOT_PRESENT
  tcg: Allow non-constant control macros
  tcg-ppc64: Don't implement rem
  tcg-ppc: Don't implement rem
  tcg-arm: Don't implement rem
  tcg: Split rem requirement from div requirement
  tcg: Add myself to general TCG maintainership

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 9f9a03b9818194da39c6759d9b0cbee5d7ace4e1
      
https://github.com/qemu/qemu/commit/9f9a03b9818194da39c6759d9b0cbee5d7ace4e1
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-10 (Wed, 10 Jul 2013)

  Changed paths:
    M linux-user/ioctls.h
    M linux-user/mmap.c
    M linux-user/signal.c
    M linux-user/socket.h
    M linux-user/syscall.c
    M user-exec.c

  Log Message:
  -----------
  Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging

# By Andreas Schwab (2) and others
# Via Riku Voipio
* riku/linux-user-for-upstream:
  linux-user: Do not ignore mmap failure from host
  linux-user: improve target_to_host_sock_type conversion
  user-exec.c: Set is_write correctly in the ARM cpu_signal_handler()
  linux-user: Fix sys_utimensat (would not compile on old glibc)
  linux-user: fix signal number range check
  linux-user: add SIOCADDRT/SIOCDELRT support
  linux-user: handle /proc/$$ like /proc/self

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 51455c59ddc370612f6e070d8eb0e594aaa7ef24
      
https://github.com/qemu/qemu/commit/51455c59ddc370612f6e070d8eb0e594aaa7ef24
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-10 (Wed, 10 Jul 2013)

  Changed paths:
    M bsd-user/elfload.c
    M bsd-user/main.c
    M bsd-user/qemu.h
    M cpu-exec.c
    M cpus.c
    M cputlb.c
    M dump.c
    M exec.c
    M gdbstub.c
    M hw/alpha/typhoon.c
    M hw/arm/boot.c
    M hw/arm/exynos4_boards.c
    M hw/arm/highbank.c
    M hw/arm/pxa2xx.c
    M hw/arm/realview.c
    M hw/arm/vexpress.c
    M hw/arm/xilinx_zynq.c
    M hw/i386/kvm/clock.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/intc/Makefile.objs
    M hw/intc/arm_gic.c
    M hw/intc/armv7m_nvic.c
    M hw/intc/openpic.c
    M hw/intc/sh_intc.c
    M hw/isa/lpc_ich9.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/misc/vmport.c
    M hw/ppc/e500.c
    M hw/ppc/mpc8544_guts.c
    M hw/ppc/ppc.c
    M hw/ppc/prep.c
    M hw/ppc/spapr.c
    M hw/sparc/sun4m.c
    M hw/timer/Makefile.objs
    M hw/timer/arm_mptimer.c
    M include/exec/cpu-all.h
    M include/exec/cpu-defs.h
    M include/hw/ppc/ppc.h
    A include/hw/ppc/ppc_e500.h
    M include/qemu/log.h
    M include/qom/cpu.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    A linux-user/alpha/target_cpu.h
    A linux-user/arm/target_cpu.h
    A linux-user/cris/target_cpu.h
    M linux-user/elfload.c
    A linux-user/i386/target_cpu.h
    M linux-user/linuxload.c
    A linux-user/m68k/target_cpu.h
    M linux-user/main.c
    A linux-user/microblaze/target_cpu.h
    A linux-user/mips/target_cpu.h
    A linux-user/mips64/target_cpu.h
    A linux-user/openrisc/target_cpu.h
    A linux-user/ppc/target_cpu.h
    M linux-user/qemu.h
    A linux-user/s390x/target_cpu.h
    A linux-user/sh4/target_cpu.h
    M linux-user/signal.c
    A linux-user/sparc/target_cpu.h
    A linux-user/sparc64/target_cpu.h
    M linux-user/syscall.c
    A linux-user/unicore32/target_cpu.h
    A linux-user/x86_64/target_cpu.h
    M memory.c
    M memory_mapping.c
    M monitor.c
    M qom/cpu.c
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.h
    M target-alpha/translate.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/cpu.h
    M target-arm/translate.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/cpu.h
    M target-cris/translate.c
    M target-i386/arch_dump.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c
    M target-i386/translate.c
    M target-lm32/cpu-qom.h
    M target-lm32/cpu.c
    M target-lm32/cpu.h
    M target-lm32/helper.c
    M target-lm32/translate.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/cpu.h
    M target-m68k/translate.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/cpu.h
    M target-microblaze/helper.c
    M target-microblaze/translate.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/cpu.h
    M target-mips/helper.c
    M target-mips/op_helper.c
    M target-mips/translate.c
    M target-moxie/cpu.c
    M target-moxie/cpu.h
    M target-moxie/translate.c
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/translate.c
    M target-ppc/cpu-qom.h
    M target-ppc/cpu.h
    M target-ppc/excp_helper.c
    M target-ppc/kvm.c
    M target-ppc/mmu-hash32.c
    M target-ppc/mmu-hash64.c
    M target-ppc/mmu_helper.c
    M target-ppc/translate.c
    M target-ppc/translate_init.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c
    M target-s390x/cpu.h
    M target-s390x/kvm.c
    M target-s390x/translate.c
    M target-sh4/cpu-qom.h
    M target-sh4/cpu.c
    M target-sh4/cpu.h
    M target-sh4/helper.c
    M target-sh4/translate.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-sparc/int32_helper.c
    M target-sparc/int64_helper.c
    M target-sparc/translate.c
    M target-unicore32/cpu-qom.h
    M target-unicore32/cpu.h
    M target-unicore32/translate.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/translate.c
    M translate-all.c
    M user-exec.c

  Log Message:
  -----------
  Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings

* Fix for OpenRISCCPU subclasses
* Fix for gdbstub CPU selection
* Move linux-user CPU functions into new header
* CPUState part 10 refactoring: first_cpu, next_cpu, cpu_single_env et al.
* Fix some targets to consistently inline TCG code generation
* Centrally log CPU reset

# gpg: Signature made Wed 10 Jul 2013 07:52:39 AM CDT using RSA key ID 3E7E013F
# gpg: Can't check signature: public key not found

# By Andreas Färber (41) and others
# Via Andreas Färber
* afaerber/tags/qom-cpu-for-anthony: (43 commits)
  cpu: Move reset logging to CPUState
  target-ppc: Change LOG_MMU_STATE() argument to CPUState
  target-i386: Change LOG_PCALL_STATE() argument to CPUState
  log: Change log_cpu_state[_mask]() argument to CPUState
  target-i386: Change do_smm_enter() argument to X86CPU
  target-i386: Change do_interrupt_all() argument to X86CPU
  target-xtensa: Change gen_intermediate_code_internal() arg to XtensaCPU
  target-unicore32: Change gen_intermediate_code_internal() signature
  target-sparc: Change gen_intermediate_code_internal() argument to SPARCCPU
  target-sh4: Change gen_intermediate_code_internal() argument to SuperHCPU
  target-s390x: Change gen_intermediate_code_internal() argument to S390CPU
  target-ppc: Change gen_intermediate_code_internal() argument to PowerPCCPU
  target-mips: Change gen_intermediate_code_internal() argument to MIPSCPU
  target-microblaze: Change gen_intermediate_code_internal() argument types
  target-m68k: Change gen_intermediate_code_internal() argument to M68kCPU
  target-lm32: Change gen_intermediate_code_internal() argument to LM32CPU
  target-i386: Change gen_intermediate_code_internal() argument to X86CPU
  target-cris: Change gen_intermediate_code_internal() argument to CRISCPU
  target-arm: Change gen_intermediate_code_internal() argument to ARMCPU
  target-alpha: Change gen_intermediate_code_internal() argument to AlphaCPU
  ...


Compare: https://github.com/qemu/qemu/compare/dc11549ec213...51455c59ddc3

reply via email to

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