qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b8dbfc: qemu-binfmt-conf.sh: add x86_64 targe


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b8dbfc: qemu-binfmt-conf.sh: add x86_64 target
Date: Tue, 21 Aug 2018 04:36:41 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b8dbfc9cc662ba05ea0b8ffc4598e422b76fbcbd
      
https://github.com/qemu/qemu/commit/b8dbfc9cc662ba05ea0b8ffc4598e422b76fbcbd
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M scripts/qemu-binfmt-conf.sh

  Log Message:
  -----------
  qemu-binfmt-conf.sh: add x86_64 target

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>


  Commit: 3e23de15237c81fe7af7c3ffa299a6ae5fec7d43
      
https://github.com/qemu/qemu/commit/3e23de15237c81fe7af7c3ffa299a6ae5fec7d43
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M include/exec/cpu_ldst.h
    M include/exec/cpu_ldst_useronly_template.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: fix 32bit g2h()/h2g()

sparc32plus has 64bit long type but only 32bit virtual address space.

For instance, "apt-get upgrade" failed because of a mmap()/msync()
sequence.

mmap() returned 0xff252000 but msync() used g2h(0xffffffffff252000)
to find the host address. The "(target_ulong)" in g2h() doesn't fix the
address because it is 64bit long.

This patch introduces an "abi_ptr" that is set to uint32_t
if the virtual address space is addressed using 32bit in the linux-user
case. It stays set to target_ulong with softmmu case.

Signed-off-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
[lv: added "%" in TARGET_ABI_FMT_ptr "%"PRIx64]


  Commit: 5b38d0264064055255db991e29d938491f9e8a32
      
https://github.com/qemu/qemu/commit/5b38d0264064055255db991e29d938491f9e8a32
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M target/sh4/translate.c

  Log Message:
  -----------
  sh4: fix use_icount with linux-user

This fixes java in a linux-user chroot:
  $ java --version
  qemu-sh4: .../accel/tcg/cpu-exec.c:634: cpu_loop_exec_tb: Assertion 
`use_icount' failed.
  qemu: uncaught target signal 6 (Aborted) - core dumped
  Aborted (core dumped)

In gen_conditional_jump() in the GUSA_EXCLUSIVE part, we must reset
base.is_jmp to DISAS_NEXT after the gen_goto_tb() as it is done in
gen_delayed_conditional_jump() after the gen_jump().

Bug: https://bugs.launchpad.net/qemu/+bug/1768246
Fixes: 4834871bc95b67343248100e2a75ae0d287bc08b
       ("target/sh4: Convert to DisasJumpType")
Reported-by: John Paul Adrian Glaubitz <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>


  Commit: 2a03d3e6ae1b1ca86199a0c36a35e8ac847905f6
      
https://github.com/qemu/qemu/commit/2a03d3e6ae1b1ca86199a0c36a35e8ac847905f6
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: fix recvmsg()/recvfrom() with netlink and MSG_TRUNC

If recvmsg()/recvfrom() are used with the MSG_TRUNC flag, they return the
real length even if it was longer than the passed buffer.
So when we translate the buffer we must check we don't go beyond the
end of the buffer.

Bug: https://github.com/vivier/qemu-m68k/issues/33
Reported-by: John Paul Adrian Glaubitz <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>


  Commit: 3c3ab559c137af711e857e0ccfc2d44b5a13d993
      
https://github.com/qemu/qemu/commit/3c3ab559c137af711e857e0ccfc2d44b5a13d993
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: introduce QEMU_RTA_* to use with rtattr_type_t

Following commit will introduce RTA_PREF that appears only with
kernel v4.1. To avoid to manage a specific case for it, this patch
introduces the full list of rtattr_type_t prefixed with QEMU_ (as we
did for IFLA values)

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
[lv: added more RTA_* from linux v4.18]


  Commit: 90cce2a106e4f0f7b568f45ab1c1d175bb1ffa28
      
https://github.com/qemu/qemu/commit/90cce2a106e4f0f7b568f45ab1c1d175bb1ffa28
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: update netlink route types

Add RTA_PREF and RTA_CACHEINFO.

Fix following errors when we start gedit:

  Unknown host RTA type: 12
  Unknown host RTA type: 20

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


  Commit: 70c61d4f78cc8475b597f1ef26faf232302b81d1
      
https://github.com/qemu/qemu/commit/70c61d4f78cc8475b597f1ef26faf232302b81d1
  Author: Laurent Vivier <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: add QEMU_IFLA_INFO_KIND nested type for tun

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


  Commit: 659b11e7a7239529cfdb4968418268ff9aa22d88
      
https://github.com/qemu/qemu/commit/659b11e7a7239529cfdb4968418268ff9aa22d88
  Author: Peter Maydell <address@hidden>
  Date:   2018-08-21 (Tue, 21 Aug 2018)

  Changed paths:
    M include/exec/cpu_ldst.h
    M include/exec/cpu_ldst_useronly_template.h
    M linux-user/syscall.c
    M scripts/qemu-binfmt-conf.sh
    M target/sh4/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/vivier2/tags/linux-user-for-3.1-pull-request' into staging

linux-user fixes:
- netlink fixes (add missing types, fix MSG_TRUNC)
- sh4 fix (tcg state)
- sparc32plus fix (truncate address space to 32bit)
- add x86_64 binfmt data

# gpg: Signature made Mon 20 Aug 2018 21:24:40 BST
# gpg:                using RSA key F30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier (Red Hat) <address@hidden>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/linux-user-for-3.1-pull-request:
  linux-user: add QEMU_IFLA_INFO_KIND nested type for tun
  linux-user: update netlink route types
  linux-user: introduce QEMU_RTA_* to use with rtattr_type_t
  linux-user: fix recvmsg()/recvfrom() with netlink and MSG_TRUNC
  sh4: fix use_icount with linux-user
  linux-user: fix 32bit g2h()/h2g()
  qemu-binfmt-conf.sh: add x86_64 target

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


Compare: https://github.com/qemu/qemu/compare/55f4e79d794d...659b11e7a723
      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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