qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 80765f: s390x/kvm: Fix opcode decoding for eb


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 80765f: s390x/kvm: Fix opcode decoding for eb instruction ...
Date: Mon, 10 Nov 2014 08:30:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 80765f0734e08fe4d52e9be10e0cfb47b3cf43e3
      
https://github.com/qemu/qemu/commit/80765f0734e08fe4d52e9be10e0cfb47b3cf43e3
  Author: Frank Blaschka <address@hidden>
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x/kvm: Fix opcode decoding for eb instruction handler

The second byte of the opcode is encoded in the lowest byte of the ipb
field, not the lowest byte of the ipa field.

Signed-off-by: Frank Blaschka <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>


  Commit: f0d4dc18ce398e166c4b186bff325e755c22db2f
      
https://github.com/qemu/qemu/commit/f0d4dc18ce398e166c4b186bff325e755c22db2f
  Author: Thomas Huth <address@hidden>
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x/kvm: Fix warning from sparse

When running "sparse" with the s390x kvm.c code, it complains that
"constant 0x00400f1d40330000 is so big it is long" - let's fix this
by appending a proper suffix.

Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: b3191432cf49c556f47d75c929f5aa692ae59da1
      
https://github.com/qemu/qemu/commit/b3191432cf49c556f47d75c929f5aa692ae59da1
  Author: Heinz Graalfs <address@hidden>
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
    M hw/char/sclpconsole-lm.c

  Log Message:
  -----------
  s390x/sclpconsole-lm: truncate input if line is too long

As the SCLP line mode console input length is limited by the available
SCCB buffer space, it might lock up if the input does not fit into the
buffer.

With this patch, characters that don't fit are 'eaten' up to the next
CR/LF and the input line is sent truncated to the guest.

Signed-off-by: Heinz Graalfs <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 87f2eff01623fe3d79e6c0962a3037d48b80b548
      
https://github.com/qemu/qemu/commit/87f2eff01623fe3d79e6c0962a3037d48b80b548
  Author: Heinz Graalfs <address@hidden>
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
    M hw/char/sclpconsole-lm.c

  Log Message:
  -----------
  s390x/sclpconsole-lm: Fix hanging SCLP line mode console

Trigger recalculating sets of file descriptors for the main loop's poll()
in order to make sure a possibly removed FD 0 from the poll() file
descriptor array is re-added. FD 0 is removed from the decriptor array
when the console's can_read() callback returns 0.

Signed-off-by: Heinz Graalfs <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: bb3e9e1fd7ab62b60780c66d68b2d7bfd8758e61
      
https://github.com/qemu/qemu/commit/bb3e9e1fd7ab62b60780c66d68b2d7bfd8758e61
  Author: Heinz Graalfs <address@hidden>
  Date:   2014-11-05 (Wed, 05 Nov 2014)

  Changed paths:
    M hw/char/sclpconsole.c

  Log Message:
  -----------
  s390x/sclpconsole: Avoid hanging SCLP ASCII console

Force recalculation of file descriptor sets for main loop's poll(),
in order to be able to readd a possibly removed input file descriptor
after can_read() returned 0 (zero).

Signed-off-by: Heinz Graalfs <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 7a8dda7e5d8035a10812bb9e852576c91de2dcdc
      
https://github.com/qemu/qemu/commit/7a8dda7e5d8035a10812bb9e852576c91de2dcdc
  Author: Peter Maydell <address@hidden>
  Date:   2014-11-10 (Mon, 10 Nov 2014)

  Changed paths:
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20141105' into staging

Several bugfixes for s390x:
- instruction decoding and sparse warning in kvm
- overlong input and hangs in the sclp consoles

# gpg: Signature made Wed 05 Nov 2014 15:42:14 GMT using RSA key ID C6F02FAF
# gpg: Good signature from "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"

* remotes/cohuck/tags/s390x-20141105:
  s390x/sclpconsole: Avoid hanging SCLP ASCII console
  s390x/sclpconsole-lm: Fix hanging SCLP line mode console
  s390x/sclpconsole-lm: truncate input if line is too long
  s390x/kvm: Fix warning from sparse
  s390x/kvm: Fix opcode decoding for eb instruction handler

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


Compare: https://github.com/qemu/qemu/compare/2d9177588bde...7a8dda7e5d80

reply via email to

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