diff mbox

[PULL,v2,00/20] Miscellaneous patches for QEMU 2.12-rc

Message ID 1523285990-37457-1-git-send-email-pbonzini@redhat.com
State New
Headers show

Pull-request

git://github.com/bonzini/qemu.git tags/for-upstream

Commit Message

Paolo Bonzini April 9, 2018, 2:59 p.m. UTC
The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d:

  Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100)

are available in the git repository at:

  git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to e0014d4b3a955cfd8d517674703bfa87f340290a:

  Add missing bit for SSE instr in VEX decoding (2018-04-09 16:36:40 +0200)

----------------------------------------------------------------
Miscellaneous bugfixes, including crash fixes from Alexey, Peter M. and
Thomas.

----------------------------------------------------------------
Alexandro Sanchez Bach (1):
      target/i386: Fix andn instruction

Bruce Rogers (1):
      sys_membarrier: fix up include directives

Daniel Henrique Barboza (1):
      hw/scsi: support SCSI-2 passthrough without PI

Eric Blake (2):
      dump: Fix build with newer gcc
      maint: Add .mailmap entries for patches claiming list authorship

Eugene Minibaev (1):
      Add missing bit for SSE instr in VEX decoding

Fam Zheng (1):
      scsi-disk: Don't enlarge min_io_size to max_io_size

Justin Terry (VM) (1):
      target/i386: WHPX: set CPUID_EXT_HYPERVISOR bit

Marc-André Lureau (1):
      memfd: fix vhost-user-test on non-memfd capable host

Michael Chapman (1):
      kvmclock: fix clock_is_reliable on migration from QEMU < 2.9

Michal Privoznik (2):
      qemu-pr-helper: Daemonize before dropping privileges
      qemu-pr-helper: Write pidfile more often

Paolo Bonzini (1):
      scsi-disk: allow customizing the SCSI version

Philippe Mathieu-Daudé (1):
      hw/dma/i82374: Avoid double creation of the 82374 controller

Roman Kagan (2):
      i386/hyperv: add hv-frequencies cpu property
      i386/hyperv: error out if features requested but unsupported

Su Hang (1):
      scripts/checkpatch.pl: Bug fix

Thomas Huth (2):
      configure: Add missing configure options to help text
      device-crash-test: Remove fixed isa-fdc entry

linzhecheng (1):
      virtio-serial: fix heapover-flow

 .mailmap                    | 18 ++++++++---
 configure                   |  3 ++
 dump.c                      |  4 +--
 hw/char/virtio-serial-bus.c |  7 ++--
 hw/dma/i82374.c             |  9 +++++-
 hw/i386/kvm/clock.c         | 14 ++++++++
 hw/scsi/scsi-disk.c         | 39 ++++++++++++++++------
 hw/scsi/scsi-generic.c      | 48 ++++++++++++++++++++-------
 hw/virtio/vhost.c           |  2 +-
 include/hw/scsi/scsi.h      |  2 ++
 include/qemu/memfd.h        |  1 +
 scripts/checkpatch.pl       | 15 +++++++--
 scripts/device-crash-test   |  1 -
 scsi/qemu-pr-helper.c       | 18 +++++++----
 target/i386/cpu.c           |  1 +
 target/i386/cpu.h           |  1 +
 target/i386/kvm.c           | 56 ++++++++++++++++++++++++--------
 target/i386/translate.c     |  6 ++--
 target/i386/whpx-all.c      | 79 ++++++++++++++++++++++++++++++++++++++++++++-
 util/memfd.c                | 34 ++++++++++++++++++-
 util/sys_membarrier.c       |  6 ++--
 21 files changed, 304 insertions(+), 60 deletions(-)

Comments

Peter Maydell April 9, 2018, 5:21 p.m. UTC | #1
On 9 April 2018 at 15:59, Paolo Bonzini <pbonzini@redhat.com> wrote:
> The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d:
>
>   Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100)
>
> are available in the git repository at:
>
>   git://github.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to e0014d4b3a955cfd8d517674703bfa87f340290a:
>
>   Add missing bit for SSE instr in VEX decoding (2018-04-09 16:36:40 +0200)
>
> ----------------------------------------------------------------
> Miscellaneous bugfixes, including crash fixes from Alexey, Peter M. and
> Thomas.
>
> ----------------------------------------------------------------

SPARC guest boottest, SPARC host:

TEST: tests/boot-serial-test... (pid=99658)
  /sparc/boot-serial/LX:                                               **
ERROR:/srv/pm215/qemu/tests/boot-serial-test.c:139:check_guest_output:
assertion failed: (output_ok)
FAIL
GTester: last random seed: R02Sec8351c4b01f899a24e5f71f6615a712
(pid=100565)
  /sparc/boot-serial/SS-4:                                             **
ERROR:/srv/pm215/qemu/tests/boot-serial-test.c:139:check_guest_output:
assertion failed: (output_ok)
FAIL
GTester: last random seed: R02Scdc4c1568274a87c76f6e37e7c72f44b
(pid=101395)
  /sparc/boot-serial/SS-600MP:                                         OK
FAIL: tests/boot-serial-test

Apparently intermittent, I did a couple of by-hand reruns of
that test case and they were fine...

Applied to master.

thanks
-- PMM
Paolo Bonzini April 9, 2018, 5:38 p.m. UTC | #2
On 09/04/2018 19:21, Peter Maydell wrote:
> On 9 April 2018 at 15:59, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d:
>>
>>   Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100)
>>
>> are available in the git repository at:
>>
>>   git://github.com/bonzini/qemu.git tags/for-upstream
>>
>> for you to fetch changes up to e0014d4b3a955cfd8d517674703bfa87f340290a:
>>
>>   Add missing bit for SSE instr in VEX decoding (2018-04-09 16:36:40 +0200)
>>
>> ----------------------------------------------------------------
>> Miscellaneous bugfixes, including crash fixes from Alexey, Peter M. and
>> Thomas.
>>
>> ----------------------------------------------------------------
> 
> SPARC guest boottest, SPARC host:
> 
> TEST: tests/boot-serial-test... (pid=99658)
>   /sparc/boot-serial/LX:                                               **
> ERROR:/srv/pm215/qemu/tests/boot-serial-test.c:139:check_guest_output:
> assertion failed: (output_ok)
> FAIL
> GTester: last random seed: R02Sec8351c4b01f899a24e5f71f6615a712
> (pid=100565)
>   /sparc/boot-serial/SS-4:                                             **
> ERROR:/srv/pm215/qemu/tests/boot-serial-test.c:139:check_guest_output:
> assertion failed: (output_ok)
> FAIL
> GTester: last random seed: R02Scdc4c1568274a87c76f6e37e7c72f44b
> (pid=101395)
>   /sparc/boot-serial/SS-600MP:                                         OK
> FAIL: tests/boot-serial-test
> 
> Apparently intermittent, I did a couple of by-hand reruns of
> that test case and they were fine...

What about before my patch?

Paolo
Peter Maydell April 9, 2018, 5:45 p.m. UTC | #3
On 9 April 2018 at 18:38, Paolo Bonzini <pbonzini@redhat.com> wrote:
> On 09/04/2018 19:21, Peter Maydell wrote:
>> On 9 April 2018 at 15:59, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>> The following changes since commit 0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d:
>>>
>>>   Update version for v2.12.0-rc2 release (2018-04-04 20:37:20 +0100)
>>>
>>> are available in the git repository at:
>>>
>>>   git://github.com/bonzini/qemu.git tags/for-upstream
>>>
>>> for you to fetch changes up to e0014d4b3a955cfd8d517674703bfa87f340290a:
>>>
>>>   Add missing bit for SSE instr in VEX decoding (2018-04-09 16:36:40 +0200)
>>>
>>> ----------------------------------------------------------------
>>> Miscellaneous bugfixes, including crash fixes from Alexey, Peter M. and
>>> Thomas.
>>>
>>> ----------------------------------------------------------------
>>
>> SPARC guest boottest, SPARC host:
>>
>> TEST: tests/boot-serial-test... (pid=99658)
>>   /sparc/boot-serial/LX:                                               **
>> ERROR:/srv/pm215/qemu/tests/boot-serial-test.c:139:check_guest_output:
>> assertion failed: (output_ok)
>> FAIL
>> GTester: last random seed: R02Sec8351c4b01f899a24e5f71f6615a712
>> (pid=100565)
>>   /sparc/boot-serial/SS-4:                                             **
>> ERROR:/srv/pm215/qemu/tests/boot-serial-test.c:139:check_guest_output:
>> assertion failed: (output_ok)
>> FAIL
>> GTester: last random seed: R02Scdc4c1568274a87c76f6e37e7c72f44b
>> (pid=101395)
>>   /sparc/boot-serial/SS-600MP:                                         OK
>> FAIL: tests/boot-serial-test
>>
>> Apparently intermittent, I did a couple of by-hand reruns of
>> that test case and they were fine...
>
> What about before my patch?

Yes, I think we've seen this particular intermittent before;
eg https://lists.gnu.org/archive/html/qemu-devel/2018-03/msg04003.html
though that was on a different host.

thanks
-- PMM
diff mbox

Patch

diff --git a/util/memfd.c b/util/memfd.c
index 277f721..b3ecbac 100644
--- a/util/memfd.c
+++ b/util/memfd.c
@@ -202,6 +202,7 @@  bool qemu_memfd_alloc_check(void)
  */
 bool qemu_memfd_check(void)
 {
+#ifdef CONFIG_LINUX
     static int memfd_check = MEMFD_TODO;
 
     if (memfd_check == MEMFD_TODO) {
@@ -215,4 +216,7 @@  bool qemu_memfd_check(void)
     }
 
     return memfd_check == MEMFD_OK;
+#else
+    return false;
+#endif
 }