qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 2ba7f7: alpha-linux-user: Translate fcntl l_t


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 2ba7f7: alpha-linux-user: Translate fcntl l_type
Date: Sat, 19 Jan 2013 06:00:13 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2ba7f73006371312109991869b13bf8f4b4659c4
      
https://github.com/qemu/qemu/commit/2ba7f73006371312109991869b13bf8f4b4659c4
  Author: Laurent Vivier <address@hidden>
  Date:   2013-01-16 (Wed, 16 Jan 2013)

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

  Log Message:
  -----------
  alpha-linux-user: Translate fcntl l_type

The values of F_RDLCK, F_WRLCK, F_UNLCK, F_EXLCK, F_SHLCK
differ between alpha and other linux architectures.

This patch allows to run "dpkg" (database lock).

Signed-off-by: Laurent Vivier <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 9468a5d4904223af2c47131f32e3a0555142e4e3
      
https://github.com/qemu/qemu/commit/9468a5d4904223af2c47131f32e3a0555142e4e3
  Author: Laurent Vivier <address@hidden>
  Date:   2013-01-16 (Wed, 16 Jan 2013)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  alpha-linux-user: Correct select

Alpha, like s390x, passes all select arguments in registers.

Signed-off-by: Laurent Vivier <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7f11573b9fe6c03a9ad4cd1bbaa761e564d44fce
      
https://github.com/qemu/qemu/commit/7f11573b9fe6c03a9ad4cd1bbaa761e564d44fce
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/openpic.c

  Log Message:
  -----------
  openpic: move gcr write into a function

The GCR register contains too much functionality to be covered inside
of the register switch statement. Move it out into a separate function.

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


  Commit: 1ac3d71302d9d49427dd068af7eccdd4de128522
      
https://github.com/qemu/qemu/commit/1ac3d71302d9d49427dd068af7eccdd4de128522
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/openpic.c

  Log Message:
  -----------
  openpic: unify gcr mode mask updates

The mode mask already masks out bits we don't care about, so the
actual handling code can stay intact regardless.

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


  Commit: 86e56a885aa5051c87906dfcd060c59f0af22309
      
https://github.com/qemu/qemu/commit/86e56a885aa5051c87906dfcd060c59f0af22309
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/openpic.c

  Log Message:
  -----------
  openpic: set mixed mode as supported

The Raven MPIC implementation supports the "Mixed" mode to work with
an i8259. While we don't implement mixed mode, we should mark it as
a supported mode in the mode bitmap.

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


  Commit: 528e536ea2fd3bfe8412e39a5623e80b254f3ae0
      
https://github.com/qemu/qemu/commit/528e536ea2fd3bfe8412e39a5623e80b254f3ae0
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/ppc/e500.c

  Log Message:
  -----------
  PPC: E500: Calculate loading blob offsets properly

We have 3 blobs we need to load when booting the system:

  - kernel
  - initrd
  - dtb

We place them in physical memory in that order. At least we should.
This patch fixes the location calculation up to take any module into
account, fixing the dtb offset along the way.

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


  Commit: 746a870b3c44a6c5734691fec013c78520d55f15
      
https://github.com/qemu/qemu/commit/746a870b3c44a6c5734691fec013c78520d55f15
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  PPC: Provide zero SVR for -cpu e500mc and e5500

Even though our -cpu types for e500mc and e5500 are no real CPUs that
actually have version registers, a guest might still want to access
said version register and that has to succeed for a guest to be happy.

So let's expose a zero SVR value on E500_SVR SPR reads.

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


  Commit: b8dec1443ef6c52e72594c5a861a5d2fd7f05d80
      
https://github.com/qemu/qemu/commit/b8dec1443ef6c52e72594c5a861a5d2fd7f05d80
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/ppc/e500.c

  Log Message:
  -----------
  PPC: e500: Change in-memory order of load blobs

Today, we load

  <kernel> <initrd> <dtb>

into memory in that order. However, Linux has a bug where it can only
handle the dtb if it's within the first 64MB of where <kernel> starts.

So instead, let's change the order to

  <kernel> <dtb> <initrd>

making Linux happy.

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


  Commit: d3dccee187ffeacec1a38ed288c112ffa0e3b513
      
https://github.com/qemu/qemu/commit/d3dccee187ffeacec1a38ed288c112ffa0e3b513
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M linux-headers/asm-powerpc/kvm.h
    M linux-headers/linux/kvm.h

  Log Message:
  -----------
  Update Linux kernel headers

Based on kvm.git a843fac (next) plus dfdebc24 (master).

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


  Commit: e49798b1bd7657722080126bfd5e787efdb3bc23
      
https://github.com/qemu/qemu/commit/e49798b1bd7657722080126bfd5e787efdb3bc23
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/openpic.c
    M hw/ppc.c
    M hw/ppc.h

  Log Message:
  -----------
  openpic: export e500 epr enable into a ppc.c function

Enabling and disabling the EPR capability (mpic_proxy) is a system
wide operation. As such, it belongs into the ppc.c file, since that's
where PPC specific machine wide logic happens.

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


  Commit: 5b95b8b9c1b0cd30a31dbeffdaec35134248b6e9
      
https://github.com/qemu/qemu/commit/5b95b8b9c1b0cd30a31dbeffdaec35134248b6e9
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/ppc.c
    M target-ppc/kvm.c
    M target-ppc/kvm_ppc.h

  Log Message:
  -----------
  PPC: KVM: Add support for EPR with KVM

This patch links KVM EPR support to the existing TCG support we have now.

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


  Commit: ccb084d3f0ec405afc6c878ace40f1ccf1e44027
      
https://github.com/qemu/qemu/commit/ccb084d3f0ec405afc6c878ace40f1ccf1e44027
  Author: Christian Borntraeger <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M target-s390x/cpu.h
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390: new contributions GPLv2 or later

IBMs s390 contributions were meant to to be gplv2 or later (since
we were contributing to qemu). Several of the s390 specific files
link to gpl code anyway, so lets clarify the licence statement for
new contributions for those files that we have touched multiple
times or will likely touch again.

This patch does not touch files that mostly deal with tcg.

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


  Commit: e674a49aae8b79bc4ea07f1bcd666bbf28b12a27
      
https://github.com/qemu/qemu/commit/e674a49aae8b79bc4ea07f1bcd666bbf28b12a27
  Author: Christian Borntraeger <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/s390-virtio.c
    M hw/s390x/Makefile.objs
    A hw/s390x/ipl.c

  Log Message:
  -----------
  s390: Move IPL code into a separate device

Lets move the code to setup IPL for external kernel
or via the zipl rom into a separate file. This allows to

- define a reboot handler, setting up the PSW appropriately
- enhance the boot code to IPL disks that contain a bootmap that
  was created with zipl under LPAR or z/VM (future patch)
- reuse that code for several machines (e.g. virtio-ccw and virtio-s390)
- allow different machines to provide different defaults

Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
[agraf: symbolify initial psw, adjust header file location, fix for QOM]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 904e5fd5c25537fdf910bfd5db832df5d9c23ad6
      
https://github.com/qemu/qemu/commit/904e5fd5c25537fdf910bfd5db832df5d9c23ad6
  Author: Viktor Mihajlovski <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/s390-virtio.c
    M target-s390x/cpu.c
    M target-s390x/cpu.h

  Log Message:
  -----------
  S390: Enable -cpu help and QMP query-cpu-definitions

This enables qemu -cpu help to return a list of supported CPU models
on s390 and also to query for cpu definitions in the monitor.
Initially only cpu model = host is returned. This needs to be reworked
into a full-fledged CPU model handling later on.
This change is needed to allow libvirt exploiters (like OpenStack)
to specify a CPU model.

Signed-off-by: Viktor Mihajlovski <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
[agraf: fix s390x-linux-user, adjust header locations]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: a158986d85bf75aa078ce3fb53e60a7fa3c6c6ee
      
https://github.com/qemu/qemu/commit/a158986d85bf75aa078ce3fb53e60a7fa3c6c6ee
  Author: Stefan Weil <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M target-s390x/cpu.h
    M target-s390x/misc_helper.c

  Log Message:
  -----------
  s390x: Remove inline function ebcdic_put and related data from cpu.h

The function is only used in misc_helper.c, so move it to that file.

This reduces the size of debug executables (compiled without optimization)
because they get unused code and data for each compilation which includes
cpu.h.

Executables with optimization don't change their size.

ebcdic2ascii is currently unused and could be removed (not done here).

The array ascii2ebcdic must be accessed with an unsigned index, therefore
(int)ascii[i] was replaced by (uint8_t)ascii[i]. The old code would have
failed for a signed char less than 0. The current code only converts
"QEMU" and spaces to EBCDIC, so there is no problem today.

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


  Commit: 70bada03047f723424c4d08d93719c1a83a43cd2
      
https://github.com/qemu/qemu/commit/70bada03047f723424c4d08d93719c1a83a43cd2
  Author: Jens Freimann <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M target-s390x/cpu.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390: Add CPU reset handler

Add a CPU reset handler to have all CPUs in a PoP compliant
state.

Signed-off-by: Jens Freimann <address@hidden>
[agraf: move hw/hw.h into existing ifdef]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 419831d7104e6876f47f5eccb758855115086bbd
      
https://github.com/qemu/qemu/commit/419831d7104e6876f47f5eccb758855115086bbd
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x: fix indentation

In one of the last commits we accidently got 3-space indentation into
the tree. Fix it up so it's 4 spaces wide.

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


  Commit: d5627ce8a4fd8dd6d7afd3d4d1ff7e9f1fb86d45
      
https://github.com/qemu/qemu/commit/d5627ce8a4fd8dd6d7afd3d4d1ff7e9f1fb86d45
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M target-s390x/cpu.c

  Log Message:
  -----------
  target-s390x: Unregister reset callback on finalization

Since commit "s390: Add CPU reset handler" the CPU's instance_init
registers a reset callback. Unregister that on instance_finalize.

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


  Commit: 28e942f86d46ccd46bf1f4836389abb3ff706dff
      
https://github.com/qemu/qemu/commit/28e942f86d46ccd46bf1f4836389abb3ff706dff
  Author: Cornelia Huck <address@hidden>
  Date:   2013-01-18 (Fri, 18 Jan 2013)

  Changed paths:
    M hw/s390-virtio.c
    A hw/s390-virtio.h
    M hw/s390x/Makefile.objs
    A hw/s390x/s390-virtio-hcall.c
    M target-s390x/cpu.h
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c

  Log Message:
  -----------
  s390: Add a hypercall registration interface.

Allow virtio machines to register for different diag500 function
codes and convert s390-virtio to use it.

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


  Commit: 48b8599c991715eeae74f0cb650fc4284cb69227
      
https://github.com/qemu/qemu/commit/48b8599c991715eeae74f0cb650fc4284cb69227
  Author: Blue Swirl <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

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

  Log Message:
  -----------
  Merge branch 'axp-next' of git://github.com/rth7680/qemu

* 'axp-next' of git://github.com/rth7680/qemu:
  alpha-linux-user: Correct select
  alpha-linux-user: Translate fcntl l_type


  Commit: 67c4f2d0e11de8ee534b17edafbcbcdcca4b0e9b
      
https://github.com/qemu/qemu/commit/67c4f2d0e11de8ee534b17edafbcbcdcca4b0e9b
  Author: Blue Swirl <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/s390-virtio.c
    A hw/s390-virtio.h
    M hw/s390x/Makefile.objs
    A hw/s390x/ipl.c
    A hw/s390x/s390-virtio-hcall.c
    M target-s390x/cpu.c
    M target-s390x/cpu.h
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c

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

* 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
  s390: Add a hypercall registration interface.
  target-s390x: Unregister reset callback on finalization
  s390x: fix indentation
  s390: Add CPU reset handler
  s390x: Remove inline function ebcdic_put and related data from cpu.h
  S390: Enable -cpu help and QMP query-cpu-definitions
  s390: Move IPL code into a separate device
  s390: new contributions GPLv2 or later


  Commit: 75f0585f1718c575716021d11bfeb695129f785d
      
https://github.com/qemu/qemu/commit/75f0585f1718c575716021d11bfeb695129f785d
  Author: Blue Swirl <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/openpic.c
    M hw/ppc.c
    M hw/ppc.h
    M hw/ppc/e500.c
    M linux-headers/asm-powerpc/kvm.h
    M linux-headers/linux/kvm.h
    M target-ppc/kvm.c
    M target-ppc/kvm_ppc.h
    M target-ppc/translate_init.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:
  PPC: KVM: Add support for EPR with KVM
  openpic: export e500 epr enable into a ppc.c function
  Update Linux kernel headers
  PPC: e500: Change in-memory order of load blobs
  PPC: Provide zero SVR for -cpu e500mc and e5500
  PPC: E500: Calculate loading blob offsets properly
  openpic: set mixed mode as supported
  openpic: unify gcr mode mask updates
  openpic: move gcr write into a function


  Commit: d193a14a2c94c9c4877ab100c31ec174dc78644c
      
https://github.com/qemu/qemu/commit/d193a14a2c94c9c4877ab100c31ec174dc78644c
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  optimize: only write to state when clearing optimizer data

The next patch will add to the TCG optimizer a field that should be
non-zero in the default case.  Thus, replace the memset of the
temps array with a loop.  Only the state field has to be up-to-date,
because others are not used except if the state is TCG_TEMP_COPY
or TCG_TEMP_CONST.

[rth: Extracted the loop to a function.]

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 3a9d8b179b1e43237365ede641d5aa6779ba91bc
      
https://github.com/qemu/qemu/commit/3a9d8b179b1e43237365ede641d5aa6779ba91bc
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  optimize: track nonzero bits of registers

Add a "mask" field to the tcg_temp_info struct.  A bit that is zero
in "mask" will always be zero in the corresponding temporary.
Zero bits in the mask can be produced from moves of immediates,
zero-extensions, ANDs with constants, shifts; they can then be
be propagated by logical operations, shifts, sign-extensions,
negations, deposit operations, and conditional moves.  Other
operations will just reset the mask to all-ones, i.e. unknown.

[rth: s/target_ulong/tcg_target_ulong/]

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 633f6502544e3dd6a615679ce440875be7ebbc58
      
https://github.com/qemu/qemu/commit/633f6502544e3dd6a615679ce440875be7ebbc58
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  optimize: optimize using nonzero bits

This adds two optimizations using the non-zero bit mask.  In some cases
involving shifts or ANDs the value can become zero, and can thus be
optimized to a move of zero.  Second, useless zero-extension or an
AND with constant can be detected that would only zero bits that are
already zero.

The main advantage of this optimization is that it turns zero-extensions
into moves, thus enabling much better copy propagation (around 1% code
reduction).  Here is for example a "test $0xff0000,%ecx + je" before
optimization:

 mov_i64 tmp0,rcx
 movi_i64 tmp1,$0xff0000
 discard cc_src
 and_i64 cc_dst,tmp0,tmp1
 movi_i32 cc_op,$0x1c
 ext32u_i64 tmp0,cc_dst
 movi_i64 tmp12,$0x0
 brcond_i64 tmp0,tmp12,eq,$0x0

and after (without patch on the left, with on the right):

 movi_i64 tmp1,$0xff0000                 movi_i64 tmp1,$0xff0000
 discard cc_src                          discard cc_src
 and_i64 cc_dst,rcx,tmp1                 and_i64 cc_dst,rcx,tmp1
 movi_i32 cc_op,$0x1c                    movi_i32 cc_op,$0x1c
 ext32u_i64 tmp0,cc_dst
 movi_i64 tmp12,$0x0                     movi_i64 tmp12,$0x0
 brcond_i64 tmp0,tmp12,eq,$0x0           brcond_i64 cc_dst,tmp12,eq,$0x0

Other similar cases: "test %eax, %eax + jne" where eax is already 32-bit
(after optimization, without patch on the left, with on the right):

 discard cc_src                          discard cc_src
 mov_i64 cc_dst,rax                      mov_i64 cc_dst,rax
 movi_i32 cc_op,$0x1c                    movi_i32 cc_op,$0x1c
 ext32u_i64 tmp0,cc_dst
 movi_i64 tmp12,$0x0                     movi_i64 tmp12,$0x0
 brcond_i64 tmp0,tmp12,ne,$0x0           brcond_i64 rax,tmp12,ne,$0x0

"test $0x1, %dl + je":

 movi_i64 tmp1,$0x1                      movi_i64 tmp1,$0x1
 discard cc_src                          discard cc_src
 and_i64 cc_dst,rdx,tmp1                 and_i64 cc_dst,rdx,tmp1
 movi_i32 cc_op,$0x1a                    movi_i32 cc_op,$0x1a
 ext8u_i64 tmp0,cc_dst
 movi_i64 tmp12,$0x0                     movi_i64 tmp12,$0x0
 brcond_i64 tmp0,tmp12,eq,$0x0           brcond_i64 cc_dst,tmp12,eq,$0x0

In some cases TCG even outsmarts GCC. :)  Here the input code has
"and $0x2,%eax + movslq %eax,%rbx + test %rbx, %rbx" and the optimizer,
thanks to copy propagation, does the following:

 movi_i64 tmp12,$0x2                     movi_i64 tmp12,$0x2
 and_i64 rax,rax,tmp12                   and_i64 rax,rax,tmp12
 mov_i64 cc_dst,rax                      mov_i64 cc_dst,rax
 ext32s_i64 tmp0,rax                  -> nop
 mov_i64 rbx,tmp0                     -> mov_i64 rbx,cc_dst
 and_i64 cc_dst,rbx,rbx               -> nop

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: f6e3534327e94c1c222cbbe8011d47b73c102686
      
https://github.com/qemu/qemu/commit/f6e3534327e94c1c222cbbe8011d47b73c102686
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/fw_cfg.c
    M trace-events

  Log Message:
  -----------
  fw_cfg: Replace debug prints by tracepoints

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 4cad3867b6df2c0826ae508a9fe15dd0b9d8936a
      
https://github.com/qemu/qemu/commit/4cad3867b6df2c0826ae508a9fe15dd0b9d8936a
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

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

  Log Message:
  -----------
  fw_cfg: Dumb down fw_cfg_add_*() not to return success / failure

No caller is checking the value, so all errors get ignored, usually
silently.  assert() instead.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 44687f75434ea938e9d29fdc3696ff4bdc0978fa
      
https://github.com/qemu/qemu/commit/44687f75434ea938e9d29fdc3696ff4bdc0978fa
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

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

  Log Message:
  -----------
  fw_cfg: New fw_cfg_add_string()

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 96f8058629d99ab689ff233c6133d6cf7f034679
      
https://github.com/qemu/qemu/commit/96f8058629d99ab689ff233c6133d6cf7f034679
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/pc.c

  Log Message:
  -----------
  pc: Fix unchecked strdup() by switching to fw_cfg_add_string()

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 0e0d2d6295076815ded8d0868b7b806380df5dda
      
https://github.com/qemu/qemu/commit/0e0d2d6295076815ded8d0868b7b806380df5dda
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/sun4m.c
    M hw/sun4u.c

  Log Message:
  -----------
  sun4: Fix unchecked strdup() by switching to fw_cfg_add_string()

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: b3dd15529de22cd4bcedb6344105e87878d971b6
      
https://github.com/qemu/qemu/commit/b3dd15529de22cd4bcedb6344105e87878d971b6
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/pc.c

  Log Message:
  -----------
  pc: Clean up bochs_bios_init()'s (non-)use of sizeof

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 089da572b956ef0f8f5b8d5917358e07892a77c2
      
https://github.com/qemu/qemu/commit/089da572b956ef0f8f5b8d5917358e07892a77c2
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/fw_cfg.c
    M hw/fw_cfg.h
    M hw/pc.c
    M trace-events

  Log Message:
  -----------
  fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs

Many callers pass size_t, which gets silently truncated to uint32_t.
Harmless, because all practical sizes are well below 4GiB.  Clean it
up anyway.  Size overflow now fails assertions.

Bonus: saves a whole bunch of silly casts.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 0e7a75929353b04bd2fce1be8640226883b42a10
      
https://github.com/qemu/qemu/commit/0e7a75929353b04bd2fce1be8640226883b42a10
  Author: Markus Armbruster <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

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

  Log Message:
  -----------
  vl: Use size_t for sizes in get_boot_devices_list()

Code mixes uint32_t, int and size_t.  Very unlikely to go wrong in
practice, but clean it up anyway.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: e4ada482420175bc17d6ccb9f2af0e769da78e01
      
https://github.com/qemu/qemu/commit/e4ada482420175bc17d6ccb9f2af0e769da78e01
  Author: Stefan Weil <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M exec.c
    M qga/commands-posix.c
    M util/path.c

  Log Message:
  -----------
  Replace non-portable asprintf by g_strdup_printf

g_strdup_printf already handles OOM errors, so some error handling in
QEMU code can be removed.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 5256a7208a7c2af19baf8f99bd4f06632f9f9ba9
      
https://github.com/qemu/qemu/commit/5256a7208a7c2af19baf8f99bd4f06632f9f9ba9
  Author: Peter Maydell <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

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

  Log Message:
  -----------
  tcg/target-arm: Add missing parens to assertions

Silence a (legitimate) complaint about missing parentheses:

tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_ld’:
tcg/arm/tcg-target.c:1148:5: error: suggest parentheses around
comparison in operand of ‘&’ [-Werror=parentheses]
tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_st’:
tcg/arm/tcg-target.c:1357:5: error: suggest parentheses around
comparison in operand of ‘&’ [-Werror=parentheses]

which meant that we would mistakenly always assert if running
a QEMU built with debug enabled on ARM.

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


  Commit: 249fe3f3e99c2a57c7f2569edb4031e63e595c9e
      
https://github.com/qemu/qemu/commit/249fe3f3e99c2a57c7f2569edb4031e63e595c9e
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M include/exec/cpu-defs.h

  Log Message:
  -----------
  cpu-defs.h: Drop qemu_work_item prototype

Commit c64ca8140e9c21cd0d44c10fbe1247cb4ade8e6e (cpu: Move
queued_work_{first,last} to CPUState) moved the qemu_work_item fields
away. Clean up the now unused prototype.

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


  Commit: c1db29199e3caf5cd56daad08b8926ffa97da136
      
https://github.com/qemu/qemu/commit/c1db29199e3caf5cd56daad08b8926ffa97da136
  Author: Stefan Weil <address@hidden>
  Date:   2013-01-19 (Sat, 19 Jan 2013)

  Changed paths:
    M hw/usb/host-stub.c

  Log Message:
  -----------
  usb: Fix compilation for MinGW (regression)

84f2d0ea added an argument to function usb_host_info.
The stub function must match the declaration in usb.h.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ddc01bf16e9f...c1db29199e3c

reply via email to

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