qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 852bef: hmp: fix info cpus for sparc targets


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 852bef: hmp: fix info cpus for sparc targets
Date: Mon, 29 Oct 2012 08:00:22 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 852bef0e0c03e2de9d6441471219cd3bc1bf45b5
      
https://github.com/qemu/qemu/commit/852bef0e0c03e2de9d6441471219cd3bc1bf45b5
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M hmp.c

  Log Message:
  -----------
  hmp: fix info cpus for sparc targets

On sparc targets, info cpus returns this kind of output:

| info cpus
| * CPU #0: pc=0x0000000000424d18pc=0x0000000000424d18npc=0x0000000000424d1c 
thread_id=19460

pc is printed twice, there is no space between pc, pc and npc.

With this patch, pc is not printed anymore when has_npc is set. In addition
the space is printed before pc/nip/npc/PC instead of after the colon so that
multiple prints are possible. This result on the following kind of input on
sparc targets:

| info cpus
| * CPU #0: pc=0x0000000000424d18 npc=0x0000000000424d1c thread_id=19460

Cc: Luiz Capitulino <address@hidden>
Cc: Markus Armbruster <address@hidden>
Cc: Blue Swirl <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 1e9981465f05a0f103d7e09afd975c9c0ff6d132
      
https://github.com/qemu/qemu/commit/1e9981465f05a0f103d7e09afd975c9c0ff6d132
  Author: Paolo Bonzini <address@hidden>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M qapi-schema.json
    M qerror.h
    M qmp.c

  Log Message:
  -----------
  qmp: handle stop/cont in INMIGRATE state

Right now, stop followed by an incoming migration will let the
virtual machine start.  cont before an incoming migration instead
will fail.

This is bad because the actual behavior is not predictable; it is
racy with respect to the start of the incoming migration.  That's
because incoming migration is blocking, and thus will delay the
processing of stop/cont until the end of the migration.

In addition, there's nothing that really prevents the user from
typing the block device's passwords before incoming migration is
done, so returning the DeviceEncrypted error is also helpful in
the QMP case.

Both things can be fixed by just toggling the autostart variable when
stop/cont are called in INMIGRATE state.

Note that libvirt is currently working around the race by looping
if the MigrationExpected answer is returned.  After this patch, the
command will return right away without ever raising an error.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 29ed72f15a4c8fd3ac106d874f76cc27b654fd25
      
https://github.com/qemu/qemu/commit/29ed72f15a4c8fd3ac106d874f76cc27b654fd25
  Author: Paolo Bonzini <address@hidden>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M migration.c
    M vl.c

  Log Message:
  -----------
  migration: go to paused state after finishing incoming migration with -S

At the end of migration the machine has started already, and cannot be
destroyed without losing the guest's data.  Hence, prelaunch is the
wrong state.  Go to the paused state instead.  QEMU would reach that
state anyway (after running the guest for the blink of an eye) if the
"stop" command had been received after the start of migration.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 166792f7bbe2cad120b75062ff6f8f1b67366f18
      
https://github.com/qemu/qemu/commit/166792f7bbe2cad120b75062ff6f8f1b67366f18
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

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

  Log Message:
  -----------
  tcg/i386: remove suboptimal register shifting

Now that CONFIG_TCG_PASS_AREG0 has been removed, it's easier to get
an optimal code for the load/store functions.

First swap the two registers used in tcg_out_tlb_load() so that the
address end-up in the second register instead of the first one. Adjust
tcg_out_qemu_ld() and tcg_out_qemu_st() to respectively call
tcg_out_qemu_ld_direct() and tcg_out_qemu_st_direct() with the correct
registers. Then replace the register shifting by direct load of the
arguments.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 17b914912d6175a5405d472832d6eba6187b6beb
      
https://github.com/qemu/qemu/commit/17b914912d6175a5405d472832d6eba6187b6beb
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

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

  Log Message:
  -----------
  tcg/i386: remove ld/st third argument register constraint

On x86_64, remove the constraint on the third argument register which
is not needed:
 - For loads the helper arguments are env, addr, mem_idx. The addr
   value should not be in the two first argument registers as they are
   used in tcg_out_tlb_load().
 - For stores the helper arguments are env, addr, data, mem_idx.
   The addr and data values should not be in the two first argument
   registers as they are used in tcg_out_tlb_load(). The data value
   should also not be in the two first argument registers, but could
   be in the third argument register in which case it would be already
   loaded at the right location.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 639368dd685f89b0567b56304c62937ad0ef8248
      
https://github.com/qemu/qemu/commit/639368dd685f89b0567b56304c62937ad0ef8248
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: add temp_dead()

A lot of code is duplicated to mark a temporary as dead. Replace it
by temp_dead(), which in addition marks the temp as saved in memory
for globals and local temps, instead of doing this a posteriori in
temp_save().

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 7f6ceedf9c5da96ee2b1fe42573b781243bc2828
      
https://github.com/qemu/qemu/commit/7f6ceedf9c5da96ee2b1fe42573b781243bc2828
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: add tcg_reg_sync()

Add a new function tcg_reg_sync() to synchronize the canonical location
of a temp with the value in the associated register, but without freeing
it. Rewrite tcg_reg_free() to first call tcg_reg_sync() and then to free
the register.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 1ad80729bea3d8ed1b67b457af44cbf9bbd8c3ec
      
https://github.com/qemu/qemu/commit/1ad80729bea3d8ed1b67b457af44cbf9bbd8c3ec
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: add temp_sync()

Add a new function temp_sync() to synchronize the canonical location
of a temp with the value in the corresponding register, but without
freeing the associated register. Rewrite temp_save() to call
temp_sync() followed by temp_dead().

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: ec7a869d31a1f82fe5b7750d8952c26753ea1df8
      
https://github.com/qemu/qemu/commit/ec7a869d31a1f82fe5b7750d8952c26753ea1df8
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

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

  Log Message:
  -----------
  tcg: sync output arguments on liveness request

Synchronize an output argument when requested by the liveness analysis.
This is needed so that the temp can be declared dead later.

For that, add a new op_sync_args table in which each bit tells if the
corresponding output argument needs to be synchronized with the memory.
Pass it to the tcg_reg_alloc_* functions, and honor this bit. We need to
synchronize the argument before marking it as dead, and we have to make
sure all the infos about the temp are correctly filled.

At the same time change some types from unsigned int to uint16_t when
passing op_dead_args.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 9c43b68de628a1e2cba556adfb71c17028eb802e
      
https://github.com/qemu/qemu/commit/9c43b68de628a1e2cba556adfb71c17028eb802e
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: rework liveness analysis

Rework the liveness analysis by tracking temps that need to go back to
memory in addition to dead temps tracking. This allows to mark output
arguments as "need sync", and to synchronize them back to memory as soon
as they are not written anymore. This way even arguments mapping to
globals can be marked as "dead", avoiding moves to a new register when
input and outputs are aliased.

In addition it means that registers are freed as soon as temps are not
used anymore, instead of waiting for a basic block end or an op with side
effects. This reduces register spilling especially on CPUs with few
registers, and spread the mov over all the TB, increasing the
performances on in-order CPUs.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 4c4e1ab26bfc9b3f9b3097ecd0643bc20d0e2f0d
      
https://github.com/qemu/qemu/commit/4c4e1ab26bfc9b3f9b3097ecd0643bc20d0e2f0d
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: improve tcg_reg_alloc_movi()

Now that the liveness analysis might mark some output temps as dead, call
temp_dead() if needed.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: c29c1d7edfc57fc4ab15e30b3cea990a5685dd7a
      
https://github.com/qemu/qemu/commit/c29c1d7edfc57fc4ab15e30b3cea990a5685dd7a
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: rewrite tcg_reg_alloc_mov()

Now that the liveness analysis provides more information, rewrite
tcg_reg_alloc_mov(). This changes the behaviour about propagating
constants and memory accesses. We now take the assumption that once
a value is loaded into a register (from memory or from a constant),
it's better to keep it there than to reload it later. This assumption
is now always almost correct given that we are now sure the
corresponding temp is going to be used later (otherwise it would have
been synchronized and marked as dead already). The assumption is wrong
if one of the op after clobbers some registers including the one
of the holding the temp (this can be avoided by allocating clobbered
registers last, which is what most TCG target do), or in case of lack
of available register.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: a52ad07e7cde61c799ca3351ccd58c04d6f7474f
      
https://github.com/qemu/qemu/commit/a52ad07e7cde61c799ca3351ccd58c04d6f7474f
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: always mark dead input arguments as dead

Always mark dead input arguments as dead, even if the op is at the basic
block end. This will allow to check that all temps are correctly saved.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 7dfd8c6aa1d0691d03c5ccc9b0c5a93bcf00f768
      
https://github.com/qemu/qemu/commit/7dfd8c6aa1d0691d03c5ccc9b0c5a93bcf00f768
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: start with local temps in TEMP_VAL_MEM state

Start with local temps in TEMP_VAL_MEM state, to make possible a later
check that all the temps are correctly saved back to memory.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 2c0366f036cbb7b2565ba8185a9daee98d709edb
      
https://github.com/qemu/qemu/commit/2c0366f036cbb7b2565ba8185a9daee98d709edb
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: don't explicitly save globals and temps

The liveness analysis ensures that globals and temps are at the correct
state at a basic block end or with an op with side effects. Avoid
looping on all temps, this can be time consuming on targets with a lot
of globals. Keep an assert in debug mode.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 344028ba0f63b31c30723d2c1064d3539aa0f070
      
https://github.com/qemu/qemu/commit/344028ba0f63b31c30723d2c1064d3539aa0f070
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg-opc.h

  Log Message:
  -----------
  tcg: fix some op flags

Some branch related ops are marked with TCG_OPF_SIDE_EFFECTS, some other
not. In practice they don't need to, as they are all marked with
TCG_OPF_BB_END, which is handled specifically in all the code.

The call op is marked as TCG_OPF_SIDE_EFFECTS, which might be not true
as there is are specific flags (TCG_CALL_CONST and TCG_CALL_PURE) for
specifying that. On the other hand it always clobber arguments, so mark
it as such even if the call op is handled in a different code path.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: b202d41ee705a7a6152d03eb362e2e2147505022
      
https://github.com/qemu/qemu/commit/b202d41ee705a7a6152d03eb362e2e2147505022
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

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

  Log Message:
  -----------
  tcg: forbid ld/st function to modify globals

Mapping a memory address using a global and accessing it through
ld/st operations is currently broken. As it doesn't make any sense
to do that performance wise, let's forbid that.

Update the TCG documentation, and remove partial support for that.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 3d5c5f876d171983d614925eebe4f0edccbb75be
      
https://github.com/qemu/qemu/commit/3d5c5f876d171983d614925eebe4f0edccbb75be
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

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

  Log Message:
  -----------
  tcg: synchronize globals for ops with side effects

Operations with side effects (in practice qemu_ld/st ops), only need to
synchronize globals to make sure the CPU state is consistent in case of
exception.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 78505279665e64d28e4a308818b69e6f77ecc5d2
      
https://github.com/qemu/qemu/commit/78505279665e64d28e4a308818b69e6f77ecc5d2
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/README
    M tcg/optimize.c
    M tcg/tcg-op.h
    M tcg/tcg.c
    M tcg/tcg.h

  Log Message:
  -----------
  tcg: rework TCG helper flags

The current helper flags, TCG_CALL_CONST and TCG_CALL_PURE might be
confusing and doesn't provide enough granularity for some helpers (FP
helpers for example).

This patch changes them into the following helpers flags:
- TCG_CALL_NO_READ_GLOBALS means that the helper does not read globals,
  either directly or via an exception. They will not be saved to their
  canonical location before calling the helper.
- TCG_CALL_NO_WRITE_GLOBALS means that the helper does not modify any
  globals. They will only be saved to their canonical locations before
  calling helpers, but they won't be reloaded afterwise.
- TCG_CALL_NO_SIDE_EFFECTS means that the call to the function is
  removed if the return value is not used.

It provides convenience flags, to avoid helper definitions longer than
80 characters. It also provides compatibility flags, and updates the
documentation.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 0c0dcdfed0833539ed03560d251c31463c0eb9f9
      
https://github.com/qemu/qemu/commit/0c0dcdfed0833539ed03560d251c31463c0eb9f9
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-alpha/helper.h

  Log Message:
  -----------
  target-alpha: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 4b3d4829abfdeb5078195898997e73724898c41e
      
https://github.com/qemu/qemu/commit/4b3d4829abfdeb5078195898997e73724898c41e
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-arm/helper.h

  Log Message:
  -----------
  target-arm: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Cc: Paul Brook <address@hidden>
Cc: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 3e2bed86a24e13970bcc50527e21fe75f409f7ad
      
https://github.com/qemu/qemu/commit/3e2bed86a24e13970bcc50527e21fe75f409f7ad
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-cris/helper.h

  Log Message:
  -----------
  target-cris: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Acked-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 95b638a29214173d4de04567b8d08f4064580abd
      
https://github.com/qemu/qemu/commit/95b638a29214173d4de04567b8d08f4064580abd
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-i386/helper.h

  Log Message:
  -----------
  target-i386: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 2a997687b867d3fa005ae6abca01121e68e5c02e
      
https://github.com/qemu/qemu/commit/2a997687b867d3fa005ae6abca01121e68e5c02e
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-microblaze/helper.h

  Log Message:
  -----------
  target-microblaze: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Acked-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 95bf787e40adead611f79cae6e8a57cc175df95e
      
https://github.com/qemu/qemu/commit/95bf787e40adead611f79cae6e8a57cc175df95e
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-mips/helper.h

  Log Message:
  -----------
  target-mips: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 8f885ef88a3fa26c26e98150219884da607d46ed
      
https://github.com/qemu/qemu/commit/8f885ef88a3fa26c26e98150219884da607d46ed
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-ppc/helper.h

  Log Message:
  -----------
  target-ppc: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Cc: Alexander Graf <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 9995567b3ecef5e0edd7d7301b722949320f89be
      
https://github.com/qemu/qemu/commit/9995567b3ecef5e0edd7d7301b722949320f89be
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-s390x/helper.h

  Log Message:
  -----------
  target-s390x: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Cc: Alexander Graf <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 76ab687946b31c8ca5308bed1d85391f4f5c599c
      
https://github.com/qemu/qemu/commit/76ab687946b31c8ca5308bed1d85391f4f5c599c
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-sh4/helper.h

  Log Message:
  -----------
  target-sh4: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: c33b235358a4c385abe36b3082ee9437bc86c2f5
      
https://github.com/qemu/qemu/commit/c33b235358a4c385abe36b3082ee9437bc86c2f5
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-sparc/helper.h

  Log Message:
  -----------
  target-sparc: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Acked-by: Blue Swirl <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: f0de41325a195503d352d8e154c1015290f4c87c
      
https://github.com/qemu/qemu/commit/f0de41325a195503d352d8e154c1015290f4c87c
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-xtensa/helper.h

  Log Message:
  -----------
  target-xtensa: rename helper flags

Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Cc: Max Filippov <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: b393ab4228adc9338c17340d825f7a60e5f6820d
      
https://github.com/qemu/qemu/commit/b393ab4228adc9338c17340d825f7a60e5f6820d
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M tcg/tcg.h

  Log Message:
  -----------
  tcg: remove compatiblity call flags

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: d73ee8a2b5267adae41ecb464cae06a185d2b0f9
      
https://github.com/qemu/qemu/commit/d73ee8a2b5267adae41ecb464cae06a185d2b0f9
  Author: Richard Henderson <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  -----------
  target-mips: Use TCG registers for the FPU.

With normal FP, this doesn't have much affect on the generated code,
because most of the FP operations are not CONST/PURE, and so we spill
registers in about the same frequency as the explicit load/stores.

But with Loongson multimedia instructions, which are all integral and
whose helpers are in fact CONST+PURE, this greatly improves the code.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 44b37ace0636cd229e956c5000a1bb6a49e274e7
      
https://github.com/qemu/qemu/commit/44b37ace0636cd229e956c5000a1bb6a49e274e7
  Author: Richard Henderson <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

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

  Log Message:
  -----------
  tcg-i386: Use %gs prefixes for x86_64 GUEST_BASE

When we allocate a reserved_va for the guest, the kernel will likely
choose an address well above 4G.  At which point we must use a pair
of movabsq+addq to form the host address.  If we have OS support,
set up a segment register to point to guest_base instead.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 1e9737da4aafb54681203931dfe8f8eea21fcef7
      
https://github.com/qemu/qemu/commit/1e9737da4aafb54681203931dfe8f8eea21fcef7
  Author: Richard Henderson <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M configure
    M qemu-timer.c

  Log Message:
  -----------
  qemu-timer: Check for usable fields for SIGEV_THREAD_ID

Older glibc (RHEL 5.x, Debian 5.x) does not have the _sigev_un._tid
member in its structure definition, while the accompanying kernel
headers do define SIGEV_THREAD_ID.  We need configure to check for
both before using it.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 01f590d5a3385c3d79c6afda7acd66edf4bf48d3
      
https://github.com/qemu/qemu/commit/01f590d5a3385c3d79c6afda7acd66edf4bf48d3
  Author: Eduardo Habkost <address@hidden>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: cpu: recover items 28-31 of ext2_feature_name

I removed a line by mistake on commit
3b671a40cab2404bc63e57db8cd3afa4ec70bfab, containing the flags lm/i64,
3dnow, and 3dnowext. This patch restores the removed line.

Reviewed-by: Don Slutz <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 21b2f13ae21974e0fd7f8da99d84628a8000d1d7
      
https://github.com/qemu/qemu/commit/21b2f13ae21974e0fd7f8da99d84628a8000d1d7
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M target-ppc/mmu_helper.c

  Log Message:
  -----------
  Drop unnecessary check of TARGET_PHYS_ADDR_SPACE_BITS

For all our PPC targets the physical address space is at least
36 bits, so drop an unnecessary preprocessor conditional check
on TARGET_PHYS_ADDR_SPACE_BITS (erroneously introduced as part
of the change from target_phys_addr_t to hwaddr). This brings
this bit of code into line with the way we handle the other
cases which were originally checking TARGET_PHYS_ADDR_BITS in
order to avoid compiler complaints about overflowing a 32 bit type.

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


  Commit: 5232fa59b17b45c04bd24e0d38224964816bf391
      
https://github.com/qemu/qemu/commit/5232fa59b17b45c04bd24e0d38224964816bf391
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/ppc440_bamboo.c

  Log Message:
  -----------
  PPC: Bamboo: Fix memory size DT property

Device tree properties need to be specified in big endian. Fix the
bamboo memory size property accordingly.

Signed-off-by: Alexander Graf <address@hidden>
CC: address@hidden


  Commit: e598a9c56badd00eaa732c4e0e69def4e5e6614b
      
https://github.com/qemu/qemu/commit/e598a9c56badd00eaa732c4e0e69def4e5e6614b
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  PPC: 440: Emulate DCBR0

The DCBR0 register on 440 is used to implement system reset. The same
register is used on 405 as well, so just reuse the code.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 59de4f98d14fb84f04181a6f816ef6dd8b82dd79
      
https://github.com/qemu/qemu/commit/59de4f98d14fb84f04181a6f816ef6dd8b82dd79
  Author: Bharat Bhushan <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/ppc/e500.c

  Log Message:
  -----------
  e500: Fix serial initialization

it was wrongly using serial_hds[0] instead of serial_hds[1]

Signed-off-by: Bharat Bhushan <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 094b287f0b3b79d1e68df8f3a63cb144ec9cdfb6
      
https://github.com/qemu/qemu/commit/094b287f0b3b79d1e68df8f3a63cb144ec9cdfb6
  Author: address@hidden <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/nseries.c
    M hw/pc_piix.c
    M hw/ppc_newworld.c
    M hw/ppc_oldworld.c
    M hw/ppc_prep.c
    M hw/pxa2xx.c
    M hw/realview.c
    M hw/spapr.c
    M hw/versatilepb.c
    M qemu-config.c
    M sysemu.h
    M vl.c

  Log Message:
  -----------
  Add USB option in machine options

When -usb option is used, global varible usb_enabled is set.
And all the plaform will create one USB controller according
to this variable. In fact, global varibles make code hard
to read.

So this patch is to remove global variable usb_enabled and
add USB option in machine options. All the plaforms will get
USB option value from machine options.

USB option of machine options will be set either by:
  * -usb
  * -machine type=pseries,usb=on

Both these ways can work now. They both set USB option in
machine options. In the future, the first way will be removed.

Signed-off-by: Li Zhang <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: c89d52997cf4849a9ee16b5d2cf462d0cd137634
      
https://github.com/qemu/qemu/commit/c89d52997cf4849a9ee16b5d2cf462d0cd137634
  Author: David Gibson <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/spapr_hcall.c
    M hw/spapr_rtas.c

  Log Message:
  -----------
  pseries: Don't allow duplicate registration of hcalls or RTAS calls

Currently the pseries machine code allows a callback to be registered
for a hypercall number twice, as long as it's the same callback the second
time.  We don't test for duplicate registrations of RTAS callbacks at all
so it will effectively be last registratiojn wins.

This was originally done because it was awkward to ensure that the
registration happened exactly once, but the code has since been
restructured so that's no longer the case.

Duplicate registration of a hypercall or RTAS call could well suggest
a duplicate initialization which could cause other problems, so this patch
makes duplicate registrations a bug, to prevent the old behaviour from
hiding other bugs.

Signed-off-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 1bfb37d1e077705de14f0f7fdc7b21749dbe4bc9
      
https://github.com/qemu/qemu/commit/1bfb37d1e077705de14f0f7fdc7b21749dbe4bc9
  Author: David Gibson <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/spapr_hcall.c
    M target-ppc/cpu.h
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Rework storage of VPA registration state

With PAPR guests, hypercalls allow registration of the Virtual Processor
Area (VPA), SLB shadow and dispatch trace log (DTL), each of which allow
for certain communication between the guest and hypervisor.  Currently, we
store the addresses of the three areas and the size of the dtl in
CPUPPCState.

The SLB shadow and DTL are variable sized, with the size being retrieved
from within the registered memory area at the hypercall time.  This size
can later be overwritten with other information, however, so we need to
save the size as of registration time.  We already do this for the DTL,
but not for the SLB shadow, so this patch fixes that.

In addition, we change the storage of the VPA information to use fixed
size integer types which will make life easier for syncing this data with
KVM, which we will need in future.

Signed-off-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 74d042e5cec78090194669a8a4417c0a49d46a3d
      
https://github.com/qemu/qemu/commit/74d042e5cec78090194669a8a4417c0a49d46a3d
  Author: David Gibson <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/ppc/Makefile.objs
    M hw/spapr.c
    M hw/spapr.h
    A hw/spapr_events.c

  Log Message:
  -----------
  pseries: Implement qemu initiated shutdowns using EPOW events

At present, using 'system_powerdown' from the monitor or otherwise
instructing qemu to (cleanly) shut down a pseries guest will not work,
because we did not have a method of signalling the shutdown request to the
guest.

PAPR does include a usable mechanism for this, though it is rather more
involved than the equivalent on x86.  This involves sending an EPOW
(Environmental and POwer Warning) event through the PAPR event and error
logging mechanism, which also has a number of other functions.

This patch implements just enough of the event/error logging functionality
to be able to send a shutdown event to the guest.  At least with modern
guest kernels and a userspace that is up and running, this means that
system_powerdown from the qemu monitor should now work correctly on pseries
guests.

Signed-off-by: David Gibson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: d6a6d362aa291686d3111aed59ab57badaaef463
      
https://github.com/qemu/qemu/commit/d6a6d362aa291686d3111aed59ab57badaaef463
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/ac97.c

  Log Message:
  -----------
  ac97: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: df6db5b32ab776a1d23bd32ae75c0e5284a01234
      
https://github.com/qemu/qemu/commit/df6db5b32ab776a1d23bd32ae75c0e5284a01234
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/virtio-pci.c

  Log Message:
  -----------
  virtio-pci: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: f3726fd78d79693b73c1ac41cc8ca0f1bb90082b
      
https://github.com/qemu/qemu/commit/f3726fd78d79693b73c1ac41cc8ca0f1bb90082b
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/es1370.c

  Log Message:
  -----------
  es1370: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 0505bcdec8228d8de39ab1a02644e71999e7c052
      
https://github.com/qemu/qemu/commit/0505bcdec8228d8de39ab1a02644e71999e7c052
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/i8254.c

  Log Message:
  -----------
  i8254: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 087bd055acf29e838908a9e6bfad73f12c49bc4c
      
https://github.com/qemu/qemu/commit/087bd055acf29e838908a9e6bfad73f12c49bc4c
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/m48t59.c

  Log Message:
  -----------
  m48t59: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 0da8c842b73924fb54ed75fb8850be5f7e978df9
      
https://github.com/qemu/qemu/commit/0da8c842b73924fb54ed75fb8850be5f7e978df9
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/mc146818rtc.c

  Log Message:
  -----------
  mc146818rtc: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 93ef41928299efbd7879bc63f329893e65e6e1de
      
https://github.com/qemu/qemu/commit/93ef41928299efbd7879bc63f329893e65e6e1de
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/pc.c

  Log Message:
  -----------
  pc port92: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: d540bfe0e730ac0b18f58ed5a8355c8ee014f35d
      
https://github.com/qemu/qemu/commit/d540bfe0e730ac0b18f58ed5a8355c8ee014f35d
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/pckbd.c

  Log Message:
  -----------
  pckbd: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 1bebb0ad17dc56f66ad09f35d0ab8a3a6357f548
      
https://github.com/qemu/qemu/commit/1bebb0ad17dc56f66ad09f35d0ab8a3a6357f548
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/rtl8139.c

  Log Message:
  -----------
  rtl8139: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 5ec3a23e6c8303c51a244411c57f2456a24799c9
      
https://github.com/qemu/qemu/commit/5ec3a23e6c8303c51a244411c57f2456a24799c9
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/serial.c

  Log Message:
  -----------
  serial: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 360d613e528df695fc0ac89f4069d8877d39ebea
      
https://github.com/qemu/qemu/commit/360d613e528df695fc0ac89f4069d8877d39ebea
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/vmport.c

  Log Message:
  -----------
  vmport: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 626c7a171e644fbe1579516b8b794d611c295d2f
      
https://github.com/qemu/qemu/commit/626c7a171e644fbe1579516b8b794d611c295d2f
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/xen_platform.c

  Log Message:
  -----------
  xen_platform: convert PIO to new memory api read/write

Signed-off-by: Alexander Graf <address@hidden>


  Commit: a1bc20dfbb012ea2a5fb1228cb77abd04490fd79
      
https://github.com/qemu/qemu/commit/a1bc20dfbb012ea2a5fb1228cb77abd04490fd79
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/ppc/e500.c
    M hw/ppce500_pci.c

  Log Message:
  -----------
  PPC: e500: Map PIO space into core memory region

On PPC, we don't have PIO. So usually PIO space behind a PCI bridge is
accessible via MMIO. Do this mapping explicitly by mapping the PIO space
of our PCI bus into a memory region that lives in memory space.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: a178274efabcbbc5d44805b51def874e47051325
      
https://github.com/qemu/qemu/commit/a178274efabcbbc5d44805b51def874e47051325
  Author: Alexander Graf <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/spapr_pci.c
    M hw/spapr_pci.h

  Log Message:
  -----------
  PPC: pseries: Remove hack for PIO window

Now that all users of old_portio are gone, we can remove the hack
that enabled us to support them.

Signed-off-by: Alexander Graf <address@hidden>


  Commit: 3f4331bfd112840e94935b0fd098ee88c07beabc
      
https://github.com/qemu/qemu/commit/3f4331bfd112840e94935b0fd098ee88c07beabc
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hmp.c
    M migration.c
    M qapi-schema.json
    M qerror.h
    M qmp.c
    M vl.c

  Log Message:
  -----------
  Merge branch 'queue/qmp' of git://repo.or.cz/qemu/qmp-unstable

* 'queue/qmp' of git://repo.or.cz/qemu/qmp-unstable:
  migration: go to paused state after finishing incoming migration with -S
  qmp: handle stop/cont in INMIGRATE state
  hmp: fix info cpus for sparc targets


  Commit: d262cb02861dd33375c08fc798930653b14769e9
      
https://github.com/qemu/qemu/commit/d262cb02861dd33375c08fc798930653b14769e9
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M hw/ac97.c
    M hw/es1370.c
    M hw/i8254.c
    M hw/m48t59.c
    M hw/mc146818rtc.c
    M hw/nseries.c
    M hw/pc.c
    M hw/pc_piix.c
    M hw/pckbd.c
    M hw/ppc/Makefile.objs
    M hw/ppc/e500.c
    M hw/ppc440_bamboo.c
    M hw/ppc_newworld.c
    M hw/ppc_oldworld.c
    M hw/ppc_prep.c
    M hw/ppce500_pci.c
    M hw/pxa2xx.c
    M hw/realview.c
    M hw/rtl8139.c
    M hw/serial.c
    M hw/spapr.c
    M hw/spapr.h
    A hw/spapr_events.c
    M hw/spapr_hcall.c
    M hw/spapr_pci.c
    M hw/spapr_pci.h
    M hw/spapr_rtas.c
    M hw/versatilepb.c
    M hw/virtio-pci.c
    M hw/vmport.c
    M hw/xen_platform.c
    M qemu-config.c
    M sysemu.h
    M target-ppc/cpu.h
    M target-ppc/mmu_helper.c
    M target-ppc/translate_init.c
    M vl.c

  Log Message:
  -----------
  Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf

* 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (22 commits)
  PPC: pseries: Remove hack for PIO window
  PPC: e500: Map PIO space into core memory region
  xen_platform: convert PIO to new memory api read/write
  vmport: convert PIO to new memory api read/write
  serial: convert PIO to new memory api read/write
  rtl8139: convert PIO to new memory api read/write
  pckbd: convert PIO to new memory api read/write
  pc port92: convert PIO to new memory api read/write
  mc146818rtc: convert PIO to new memory api read/write
  m48t59: convert PIO to new memory api read/write
  i8254: convert PIO to new memory api read/write
  es1370: convert PIO to new memory api read/write
  virtio-pci: convert PIO to new memory api read/write
  ac97: convert PIO to new memory api read/write
  pseries: Implement qemu initiated shutdowns using EPOW events
  target-ppc: Rework storage of VPA registration state
  pseries: Don't allow duplicate registration of hcalls or RTAS calls
  Add USB option in machine options
  e500: Fix serial initialization
  PPC: 440: Emulate DCBR0
  ...


Compare: https://github.com/qemu/qemu/compare/50cd72148211...d262cb02861d

reply via email to

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