qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] bd7c41: block/qdev: Let 'drive' property fall


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bd7c41: block/qdev: Let 'drive' property fall back to node...
Date: Mon, 08 Aug 2016 08:00:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bd7c41765b9afa93a7f1a42e1ee353282230e2b7
      
https://github.com/qemu/qemu/commit/bd7c41765b9afa93a7f1a42e1ee353282230e2b7
  Author: Kevin Wolf <address@hidden>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M hw/core/qdev-properties-system.c

  Log Message:
  -----------
  block/qdev: Let 'drive' property fall back to node name

If a qdev block device is created with an anonymous BlockBackend (i.e.
a node name rather than a BB name was given for the drive property),
qdev used to return an empty string when the property was read. This
patch fixes it to return the node name instead.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Eric Blake <address@hidden>


  Commit: 9ef8112a24d13c9d054c26105b24a3e12e1cb430
      
https://github.com/qemu/qemu/commit/9ef8112a24d13c9d054c26105b24a3e12e1cb430
  Author: Alberto Garcia <address@hidden>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M tests/Makefile.include
    A tests/test-blockjob.c

  Log Message:
  -----------
  tests: Test blockjob IDs

Since 7f0317cfc8da6 we have API to specify the ID of block jobs and we
also guarantee that they are well-formed and unique.

This patch adds tests to check some common scenarios.

Signed-off-by: Alberto Garcia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: dbaa7b57ec84e39e581890c1d814a8ac0f56e7c4
      
https://github.com/qemu/qemu/commit/dbaa7b57ec84e39e581890c1d814a8ac0f56e7c4
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M block/mirror.c

  Log Message:
  -----------
  mirror: finish earlier on error

Stop to produce new async copy requests from mirror_iteration if
critical error (error action = BLOCK_ERROR_ACTION_REPORT) detected.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: a752e4786c19b0b368f4521a5dcbcce14882c3b1
      
https://github.com/qemu/qemu/commit/a752e4786c19b0b368f4521a5dcbcce14882c3b1
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M tests/qemu-iotests/109
    M tests/qemu-iotests/109.out
    M tests/qemu-iotests/common.filter

  Log Message:
  -----------
  iotests: fix 109

109 iotest is broken for raw after 0965a41e998ab820b5
[mirror: double performance of the bulk stage if the disc is full]

The problem is with finishing block-job with error: before specified
patch mirror was not very async and it created one big request at disk
start, this request finished with error and qemu produced
BLOCK_JOB_COMPLETED with zero progress.

After 0965a41, mirror starts several smaller requests in parallel, when
BLOCK_JOB_COMPLETED emited we have some successful non-zero progress.

This patch solves the issue by filtering out progress from 109 test
output.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


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

  Changed paths:
    M block/mirror.c
    M hw/core/qdev-properties-system.c
    M tests/Makefile.include
    M tests/qemu-iotests/109
    M tests/qemu-iotests/109.out
    M tests/qemu-iotests/common.filter
    A tests/test-blockjob.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

More block layer patches for 2.7.0-rc2

# gpg: Signature made Mon 08 Aug 2016 12:51:30 BST
# gpg:                using RSA key 0x7F09B272C88F2FD6
# gpg: Good signature from "Kevin Wolf <address@hidden>"
# Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6

* remotes/kevin/tags/for-upstream:
  iotests: fix 109
  mirror: finish earlier on error
  tests: Test blockjob IDs
  block/qdev: Let 'drive' property fall back to node name

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


Compare: https://github.com/qemu/qemu/compare/684b6b26af02...b8dc0fcff107

reply via email to

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