qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 40645c: linux-user: Enable epoll_pwait syscal


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 40645c: linux-user: Enable epoll_pwait syscall for ARM
Date: Tue, 07 Oct 2014 04:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 40645c7bfd7c4d45381927e1e80081fa827c368a
      
https://github.com/qemu/qemu/commit/40645c7bfd7c4d45381927e1e80081fa827c368a
  Author: Peter Maydell <address@hidden>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M linux-user/arm/syscall_nr.h

  Log Message:
  -----------
  linux-user: Enable epoll_pwait syscall for ARM

We have support for the epoll_pwait syscall, but it wasn't enabled for
ARM guests because we hadn't defined the syscall number; correct this
deficiency.

Reported-by: Dave Flogeras <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


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

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

  Log Message:
  -----------
  linux-user: Convert blkpg to use a special subop handler

The blkpg ioctl can take different payloads depending on the opcode in
its payload structure. Create a new special ioctl handler that can only
deal with partition style ones for now.

This patch fixes running parted for me.

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


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

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Simplify timerid checks on g_posix_timers range

We check whether the passed in timer id is negative on all calls
that involve g_posix_timers.

However, these checks are bogus. First off we limit the timer_id to
16 bits which is not what Linux does. Then we check whether it's negative
which it can't be because we masked it.

We can safely remove the masking. For the negativity check we can just
treat the timerid as unsigned and only check for upper boundaries.

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


  Commit: d80a1905942afecafc04dba4bf51103cd30d37a1
      
https://github.com/qemu/qemu/commit/d80a1905942afecafc04dba4bf51103cd30d37a1
  Author: Riku Voipio <address@hidden>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: don't include timerfd if not needed

Without this, builds on older systems fail with:

qemu/linux-user/syscall.c:61:25: warning: sys/timerfd.h: No such file or 
directory

v2: fix the usual case where CONFIG_TIMERFD is enabled..

Signed-off-by: Riku Voipio <address@hidden>


  Commit: 1a1c4db9b298956e89caf53b09b6a7a960d55d66
      
https://github.com/qemu/qemu/commit/1a1c4db9b298956e89caf53b09b6a7a960d55d66
  Author: Mikhail Ilyin <address@hidden>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M include/exec/cpu-all.h
    M linux-user/elfload.c
    M translate-all.c

  Log Message:
  -----------
  translate-all.c: memory walker initial address miscalculation

The initial base address is miscalculated in walk_memory_regions().
It has to be shifted TARGET_PAGE_BITS more. Holder variables are
extended to target_ulong size otherwise they don't fit for MIPS N32
(a 32-bit ABI with a 64-bit address space) and qemu won't compile.
The issue led to incorrect debug output of memory maps and a
mis-formed coredumped file.

Signed-off-by: Mikhail Ilyin <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: b6011bd8a57c1eda81a857d21adeb9b66e58b1b0
      
https://github.com/qemu/qemu/commit/b6011bd8a57c1eda81a857d21adeb9b66e58b1b0
  Author: Peter Maydell <address@hidden>
  Date:   2014-10-07 (Tue, 07 Oct 2014)

  Changed paths:
    M include/exec/cpu-all.h
    M linux-user/arm/syscall_nr.h
    M linux-user/elfload.c
    M linux-user/ioctls.h
    M linux-user/syscall.c
    M linux-user/syscall_types.h
    M translate-all.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20141006-2' 
into staging

linux-user pull for 2.2

Clearest linux-user patches sent to the list since august,
Apart from Mikhails patch, the rest are quite trivial.

v2: check for CONFIG_TIMERFD only after it has been defined

# gpg: Signature made Mon 06 Oct 2014 20:08:10 BST using RSA key ID DE3C9BC0
# gpg: Good signature from "Riku Voipio <address@hidden>"
# gpg:                 aka "Riku Voipio <address@hidden>"

* remotes/riku/tags/pull-linux-user-20141006-2:
  translate-all.c: memory walker initial address miscalculation
  linux-user: don't include timerfd if not needed
  linux-user: Simplify timerid checks on g_posix_timers range
  linux-user: Convert blkpg to use a special subop handler
  linux-user: Enable epoll_pwait syscall for ARM

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


Compare: https://github.com/qemu/qemu/compare/2472b6c07bb5...b6011bd8a57c

reply via email to

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