qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c8b0bf: linux-user: Fix incorrect TARGET_BLKB


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c8b0bf: linux-user: Fix incorrect TARGET_BLKBSZGET, TARGET...
Date: Tue, 14 Aug 2012 13:00:11 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c8b0bf545631b55f9e8288252a7b026a97872dd3
      
https://github.com/qemu/qemu/commit/c8b0bf545631b55f9e8288252a7b026a97872dd3
  Author: Peter Maydell <address@hidden>
  Date:   2012-08-13 (Mon, 13 Aug 2012)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Fix incorrect TARGET_BLKBSZGET, TARGET_BLKBSZSET

The definitions for the ioctl numbers TARGET_BLKBSZGET and
TARGET_BLKBSZSET had the wrong size parameters (they are defined
with size_t, not int, even though the ioctl implementations themselves
read and write integers). Since commit 354a0008 we now have an
ioctl wrapper definition for BLKBSZGET and so on an x86-64-to-x86-64
linux-user binary we were triggering the mismatch warning in
syscall_init().

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


  Commit: 5f72307d90a00caabdf786d940418f810bd7c095
      
https://github.com/qemu/qemu/commit/5f72307d90a00caabdf786d940418f810bd7c095
  Author: Peter Maydell <address@hidden>
  Date:   2012-08-13 (Mon, 13 Aug 2012)

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

  Log Message:
  -----------
  linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions

Fix the SNDCTL_DSP_MAP{IN,OUT}BUF ioctl definitions so that they
refer to a suitably defined target struct layout rather than hardcoding
the ioctl number. This fixes complaints from the syscall_init()
consistency check when running an x86_64-to-x86_64 linux-user qemu.

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


  Commit: dd6e957a142d9582df766b5c6de2fbb6773241f2
      
https://github.com/qemu/qemu/commit/dd6e957a142d9582df766b5c6de2fbb6773241f2
  Author: Peter Maydell <address@hidden>
  Date:   2012-08-13 (Mon, 13 Aug 2012)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Move target_to_host_errno_table[] setup out of ioctl loop

The code to initialise the target_to_host_errno_table[] array was
accidentally inside the loop through checking and initialising all
the supported ioctls. This was harmless but meant that we reinitialised the
array several hundred times on startup.

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


  Commit: ca6190673c90e283897740b243f6508055c9de5a
      
https://github.com/qemu/qemu/commit/ca6190673c90e283897740b243f6508055c9de5a
  Author: Jing Huang <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: pass sockaddr from host to target

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


  Commit: 920394db819e30fbbfa527f25e45360061d1a220
      
https://github.com/qemu/qemu/commit/920394db819e30fbbfa527f25e45360061d1a220
  Author: Jing Huang <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

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


  Commit: aebf5bc727fa1837b3c5296c5325b560f19ed9ee
      
https://github.com/qemu/qemu/commit/aebf5bc727fa1837b3c5296c5325b560f19ed9ee
  Author: Jing Huang <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

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


  Commit: cd8e407d24657569e0d6e323b2e8c274fafab590
      
https://github.com/qemu/qemu/commit/cd8e407d24657569e0d6e323b2e8c274fafab590
  Author: Mike Frysinger <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

  Changed paths:
    M linux-user/flatload.c

  Log Message:
  -----------
  flatload: fix bss clearing

The current bss clear logic assumes the target mmap address and host
address are the same.  Use g2h to translate from the target address
space to the host so we can call memset on it.

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


  Commit: dce104013d1b393d39a89c4417d7771d928c08f3
      
https://github.com/qemu/qemu/commit/dce104013d1b393d39a89c4417d7771d928c08f3
  Author: Meador Inge <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

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

  Log Message:
  -----------
  linux-user: Factor out guest space probing into a function

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


  Commit: 806d102141b99d4f1e55a97d68b7ea8c8ba3129f
      
https://github.com/qemu/qemu/commit/806d102141b99d4f1e55a97d68b7ea8c8ba3129f
  Author: Meador Inge <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

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

  Log Message:
  -----------
  linux-user: Use init_guest_space when -R and -B are specified

Roll the code used to initialize the guest memory space when -R
or -B is used into 'init_guest_space' and then call 'init_guest_space'
from the driver.  This way the reserved guest memory space can
be probed for.  Calling 'mmap' just once as is currently done is not
guaranteed to succeed since the host address space validation might fail.

Signed-off-by: Meador Inge <address@hidden>
[PMM: Fixed minor whitespace errors.]
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 3a1363acf9648bc26989b01b87c7c3c494df2138
      
https://github.com/qemu/qemu/commit/3a1363acf9648bc26989b01b87c7c3c494df2138
  Author: Alexander Graf <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: ARM: Ignore immediate value for svc in thumb mode

When running in thumb mode, Linux doesn't evaluate the immediate value
of the svc instruction, but instead just always assumes the syscall number
to be in r7.

This fixes executing go_bootstrap while building go for me.

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


  Commit: 873359d411eeb380906761e46839a2b705dbcf75
      
https://github.com/qemu/qemu/commit/873359d411eeb380906761e46839a2b705dbcf75
  Author: Blue Swirl <address@hidden>
  Date:   2012-08-14 (Tue, 14 Aug 2012)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/flatload.c
    M linux-user/ioctls.h
    M linux-user/main.c
    M linux-user/qemu.h
    M linux-user/syscall.c
    M linux-user/syscall_defs.h
    M linux-user/syscall_types.h

  Log Message:
  -----------
  Merge branch 'linux-user.next' of 
git://git.linaro.org/people/pmaydell/qemu-arm

* 'linux-user.next' of git://git.linaro.org/people/pmaydell/qemu-arm:
  linux-user: ARM: Ignore immediate value for svc in thumb mode
  linux-user: Use init_guest_space when -R and -B are specified
  linux-user: Factor out guest space probing into a function
  flatload: fix bss clearing
  linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type
  linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option
  linux-user: pass sockaddr from host to target
  linux-user: Move target_to_host_errno_table[] setup out of ioctl loop
  linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions
  linux-user: Fix incorrect TARGET_BLKBSZGET, TARGET_BLKBSZSET


Compare: https://github.com/qemu/qemu/compare/92fc4b586f88...873359d411ee

reply via email to

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