Re: [Qemu-devel] [PULL 00/20] Block patches

2019-06-14 Thread Peter Maydell
On Fri, 14 Jun 2019 at 14:40, Max Reitz  wrote:
>
> The following changes since commit 5ec2eca83dc478ddf24077e02a8b34dd26cd3ff9:
>
>   Merge remote-tracking branch 
> 'remotes/awilliam/tags/vfio-updates-20190613.0' into staging (2019-06-14 
> 09:33:55 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/XanClic/qemu.git tags/pull-block-2019-06-14
>
> for you to fetch changes up to 21c1ce592a144188dfe59b9e156a97da412a59a2:
>
>   iotests: Test qemu-img convert -C --salvage (2019-06-14 15:09:42 +0200)
>
> 
> Block patches:
> - Allow blockdev-backup from nodes that are not in qemu's main AIO
>   context to newly added nodes
> - Add salvaging mode to qemu-img convert
> - Minor fixes to tests, documentation, and for less Valgrind annoyance
>

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.

-- PMM



[Qemu-devel] [PULL 00/20] Block patches

2019-06-14 Thread Max Reitz
The following changes since commit 5ec2eca83dc478ddf24077e02a8b34dd26cd3ff9:

  Merge remote-tracking branch 'remotes/awilliam/tags/vfio-updates-20190613.0' 
into staging (2019-06-14 09:33:55 +0100)

are available in the Git repository at:

  https://github.com/XanClic/qemu.git tags/pull-block-2019-06-14

for you to fetch changes up to 21c1ce592a144188dfe59b9e156a97da412a59a2:

  iotests: Test qemu-img convert -C --salvage (2019-06-14 15:09:42 +0200)


Block patches:
- Allow blockdev-backup from nodes that are not in qemu's main AIO
  context to newly added nodes
- Add salvaging mode to qemu-img convert
- Minor fixes to tests, documentation, and for less Valgrind annoyance


Andrey Shinkevich (1):
  hw/block/fdc: floppy command FIFO memory initialization

John Snow (6):
  blockdev-backup: don't check aio_context too early
  iotests.py: do not use infinite waits
  QEMUMachine: add events_wait method
  iotests.py: rewrite run_job to be pickier
  iotests: add iotest 256 for testing blockdev-backup across iothread
contexts
  event_match: always match on None value

Max Reitz (12):
  iotests: Filter 175's allocation information
  iotests: Fix intermittent failure in 219
  qemu-img: Fix options leakage in img_rebase()
  qapi/block-core: Overlays are not snapshots
  blockdev: Overlays are not snapshots
  qemu-img: Move quiet into ImgConvertState
  qemu-img: Add salvaging mode to convert
  blkdebug: Add @iotype error option
  blkdebug: Add "none" event
  blkdebug: Inject errors on .bdrv_co_block_status()
  iotests: Test qemu-img convert --salvage
  iotests: Test qemu-img convert -C --salvage

Vladimir Sementsov-Ogievskiy (1):
  iotests: restrict 254 to support only qcow2

 qapi/block-core.json  |  53 ---
 block/blkdebug.c  |  60 ++--
 blockdev.c|  14 +--
 hw/block/fdc.c|   1 +
 qemu-img.c| 106 +++--
 python/qemu/__init__.py   |  67 ++
 qemu-img-cmds.hx  |   4 +-
 qemu-img.texi |   4 +
 tests/qemu-iotests/082|   1 +
 tests/qemu-iotests/082.out|   3 +
 tests/qemu-iotests/085.out|  10 +-
 tests/qemu-iotests/175|  26 +-
 tests/qemu-iotests/175.out|   8 +-
 tests/qemu-iotests/219|  13 ++-
 tests/qemu-iotests/251| 170 ++
 tests/qemu-iotests/251.out|  43 +
 tests/qemu-iotests/254|   2 +
 tests/qemu-iotests/256| 122 
 tests/qemu-iotests/256.out| 119 
 tests/qemu-iotests/group  |   2 +
 tests/qemu-iotests/iotests.py |  60 +++-
 21 files changed, 772 insertions(+), 116 deletions(-)
 create mode 100755 tests/qemu-iotests/251
 create mode 100644 tests/qemu-iotests/251.out
 create mode 100755 tests/qemu-iotests/256
 create mode 100644 tests/qemu-iotests/256.out

-- 
2.21.0




Re: [Qemu-devel] [PULL 00/20] Block patches for 2.11.0-rc1

2017-11-14 Thread Peter Maydell
On 14 November 2017 at 17:23, Max Reitz  wrote:
> The following changes since commit 191b5fbfa66e5b23e2150f3c6981d30eb84418a9:
>
>   Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' 
> into staging (2017-11-14 16:11:19 +)
>
> are available in the git repository at:
>
>   git://github.com/XanClic/qemu.git tags/pull-block-2017-11-14
>
> for you to fetch changes up to 8b2d7c364d9a2491f7501f6688cd722045cf808a:
>
>   qemu-iotests: update unsupported image formats in 194 (2017-11-14 18:06:26 
> +0100)
>
> 
> Block patches for 2.11.0-rc1


Applied, thanks.

-- PMM



Re: [Qemu-devel] [PULL 00/20] Block patches for 2.11.0-rc1

2017-11-14 Thread Max Reitz
On 2017-11-14 18:28, Peter Maydell wrote:
> On 14 November 2017 at 17:23, Max Reitz  wrote:
>> The following changes since commit 191b5fbfa66e5b23e2150f3c6981d30eb84418a9:
>>
>>   Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' 
>> into staging (2017-11-14 16:11:19 +)
>>
>> are available in the git repository at:
>>
>>   git://github.com/XanClic/qemu.git tags/pull-block-2017-11-14
>>
>> for you to fetch changes up to 8b2d7c364d9a2491f7501f6688cd722045cf808a:
>>
>>   qemu-iotests: update unsupported image formats in 194 (2017-11-14 18:06:26 
>> +0100)
>>
> 
> I can probably squeeze this into rc1, but 17:30 GMT on rc day is at least
> an hour later than you can reasonably rely on being able to get a pull
> request into the rc

Sorry, I understand.

(I got two errors when testing the build, so I had to debug them and
drop a series -- which is one reason why it got delayed so much.  The
other is that I wanted to see if Kevin would be around today so that he
could do a combined pull request.)

I promise to do my build testing earlier next time...

Max



signature.asc
Description: OpenPGP digital signature


Re: [Qemu-devel] [PULL 00/20] Block patches for 2.11.0-rc1

2017-11-14 Thread Peter Maydell
On 14 November 2017 at 17:23, Max Reitz  wrote:
> The following changes since commit 191b5fbfa66e5b23e2150f3c6981d30eb84418a9:
>
>   Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' 
> into staging (2017-11-14 16:11:19 +)
>
> are available in the git repository at:
>
>   git://github.com/XanClic/qemu.git tags/pull-block-2017-11-14
>
> for you to fetch changes up to 8b2d7c364d9a2491f7501f6688cd722045cf808a:
>
>   qemu-iotests: update unsupported image formats in 194 (2017-11-14 18:06:26 
> +0100)
>

I can probably squeeze this into rc1, but 17:30 GMT on rc day is at least
an hour later than you can reasonably rely on being able to get a pull
request into the rc

thanks
-- PMM



[Qemu-devel] [PULL 00/20] Block patches for 2.11.0-rc1

2017-11-14 Thread Max Reitz
The following changes since commit 191b5fbfa66e5b23e2150f3c6981d30eb84418a9:

  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into 
staging (2017-11-14 16:11:19 +)

are available in the git repository at:

  git://github.com/XanClic/qemu.git tags/pull-block-2017-11-14

for you to fetch changes up to 8b2d7c364d9a2491f7501f6688cd722045cf808a:

  qemu-iotests: update unsupported image formats in 194 (2017-11-14 18:06:26 
+0100)


Block patches for 2.11.0-rc1


Alberto Garcia (8):
  qcow2: Prevent allocating refcount blocks at offset 0
  qcow2: Prevent allocating L2 tables at offset 0
  qcow2: Prevent allocating compressed clusters at offset 0
  qcow2: Don't open images with header.refcount_table_clusters == 0
  qcow2: Add iotest for an image with header.refcount_table_offset == 0
  qcow2: Add iotest for an empty refcount table
  qcow2: Assert that the crypto header does not overlap other metadata
  qcow2: Check that corrupted images can be repaired in iotest 060

Eric Blake (1):
  iotests: Use new-style NBD connections

Fam Zheng (1):
  iotests: 077: Filter out 'resume' lines

Jeff Cody (4):
  block/vhdx.c: Don't blindly update the header
  block/parallels: Do not update header or truncate image when INMIGRATE
  block/parallels: add migration blocker
  qemu-iotests: update unsupported image formats in 194

Max Reitz (5):
  iotests: Make 030 less flaky
  iotests: Add missing 'blkdebug::' in 040
  iotests: Make 055 less flaky
  iotests: Make 083 less flaky
  iotests: Make 136 less flaky

Vladimir Sementsov-Ogievskiy (1):
  block/snapshot: dirty all dirty bitmaps on snapshot-switch

 block/parallels.c|  22 ++---
 block/qcow2-cluster.c|   8 
 block/qcow2-refcount.c   |  14 ++
 block/qcow2.c|   7 +++
 block/snapshot.c |  14 ++
 block/vhdx.c |   7 ---
 tests/qemu-iotests/030   |   8 +++-
 tests/qemu-iotests/040   |   2 +-
 tests/qemu-iotests/055   |  25 +++
 tests/qemu-iotests/060   |  59 +
 tests/qemu-iotests/060.out   | 103 +++
 tests/qemu-iotests/077   |   3 +-
 tests/qemu-iotests/077.out   |  16 ---
 tests/qemu-iotests/083   |   4 +-
 tests/qemu-iotests/136   |  14 +-
 tests/qemu-iotests/194   |   2 +-
 tests/qemu-iotests/common.rc |   2 +-
 17 files changed, 265 insertions(+), 45 deletions(-)

-- 
2.13.6




Re: [Qemu-devel] [PULL 00/20] Block patches

2016-10-31 Thread Peter Maydell
On 28 October 2016 at 15:49, Fam Zheng  wrote:
> The following changes since commit 9879b75873cacc88cdee490f6ab481e8ce766c69:
>
>   Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging 
> (2016-10-28 12:06:41 +0100)
>
> are available in the git repository at:
>
>   g...@github.com:famz/qemu tags/for-upstream
>
> for you to fetch changes up to 3fe71223374e71436d4aced8865e50fd36588ff7:
>
>   aio: convert from RFifoLock to QemuRecMutex (2016-10-28 21:50:18 +0800)
>
> 
>
> Hi Peter,
>
> This is Paolo's RFifoLock removal series.

Applied, thanks.

-- PMM



[Qemu-devel] [PULL 00/20] Block patches

2016-10-28 Thread Fam Zheng
The following changes since commit 9879b75873cacc88cdee490f6ab481e8ce766c69:

  Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging 
(2016-10-28 12:06:41 +0100)

are available in the git repository at:

  g...@github.com:famz/qemu tags/for-upstream

for you to fetch changes up to 3fe71223374e71436d4aced8865e50fd36588ff7:

  aio: convert from RFifoLock to QemuRecMutex (2016-10-28 21:50:18 +0800)



Hi Peter,

This is Paolo's RFifoLock removal series.



Fam Zheng (1):
  qed: Implement .bdrv_drain

Paolo Bonzini (19):
  replication: interrupt failover if the main device is closed
  blockjob: introduce .drain callback for jobs
  mirror: use bdrv_drained_begin/bdrv_drained_end
  block: add BDS field to count in-flight requests
  block: change drain to look only at one child at a time
  block: introduce BDRV_POLL_WHILE
  nfs: move nfs_set_events out of the while loops
  nfs: use BDRV_POLL_WHILE
  sheepdog: use BDRV_POLL_WHILE
  aio: introduce qemu_get_current_aio_context
  iothread: detach all block devices before stopping them
  replication: pass BlockDriverState to reopen_backing_file
  block: prepare bdrv_reopen_multiple to release AioContext
  qemu-io: acquire AioContext
  qemu-img: call aio_context_acquire/release around block job
  block: only call aio_poll on the current thread's AioContext
  iothread: release AioContext around aio_poll
  qemu-thread: introduce QemuRecMutex
  aio: convert from RFifoLock to QemuRecMutex

 async.c |  29 ++---
 block.c |   6 +-
 block/backup.c  |  17 +
 block/block-backend.c   |  30 ++---
 block/commit.c  |   2 +-
 block/io.c  | 137 ++--
 block/mirror.c  |  70 ++--
 block/nfs.c |  55 +---
 block/qed-table.c   |  16 ++---
 block/qed.c |  16 -
 block/replication.c |  27 +---
 block/sheepdog.c|  67 +++-
 blockjob.c  |  37 ++-
 docs/multiple-iothreads.txt |  38 ++-
 hw/scsi/virtio-scsi-dataplane.c |   4 +-
 include/block/aio.h |  24 +--
 include/block/block.h   |  31 -
 include/block/block_int.h   |  27 ++--
 include/block/blockjob.h|   7 ++
 include/qemu/rfifolock.h|  54 
 include/qemu/thread-posix.h |   6 ++
 include/qemu/thread-win32.h |  10 +++
 include/qemu/thread.h   |   3 +
 iothread.c  |  33 +++---
 qemu-img.c  |   6 ++
 qemu-io-cmds.c  |   6 +-
 stubs/Makefile.objs |   1 +
 stubs/iothread.c|   8 +++
 tests/.gitignore|   1 -
 tests/Makefile.include  |   2 -
 tests/test-aio.c|  22 ---
 tests/test-rfifolock.c  |  91 --
 util/Makefile.objs  |   1 -
 util/qemu-thread-posix.c|  14 
 util/qemu-thread-win32.c|  25 
 util/rfifolock.c|  78 ---
 36 files changed, 520 insertions(+), 481 deletions(-)
 delete mode 100644 include/qemu/rfifolock.h
 create mode 100644 stubs/iothread.c
 delete mode 100644 tests/test-rfifolock.c
 delete mode 100644 util/rfifolock.c

-- 
2.7.4




Re: [Qemu-devel] [PULL 00/20] Block patches

2016-06-20 Thread Peter Maydell
On 20 June 2016 at 15:05, Stefan Hajnoczi  wrote:
> The following changes since commit 482b61844ae7c6df39df0b48ac90ffbc87bed7d2:
>
>   Merge remote-tracking branch 
> 'remotes/pmaydell/tags/pull-target-arm-20160617' into staging (2016-06-17 
> 16:16:37 +0100)
>
> are available in the git repository at:
>
>   git://github.com/stefanha/qemu.git tags/block-pull-request
>
> for you to fetch changes up to 5ab4b69ce29908b327a91966dc78ea0fd7424075:
>
>   backup: follow AioContext change gracefully (2016-06-20 14:25:41 +0100)
>
> 
>
> 

Applied, thanks.

-- PMM



[Qemu-devel] [PULL 00/20] Block patches

2016-06-20 Thread Stefan Hajnoczi
The following changes since commit 482b61844ae7c6df39df0b48ac90ffbc87bed7d2:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160617' 
into staging (2016-06-17 16:16:37 +0100)

are available in the git repository at:

  git://github.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to 5ab4b69ce29908b327a91966dc78ea0fd7424075:

  backup: follow AioContext change gracefully (2016-06-20 14:25:41 +0100)





Denis V. Lunev (3):
  block: fixed BdrvTrackedRequest filling in bdrv_co_discard
  block: fix race in bdrv_co_discard with drive-mirror
  block: process before_write_notifiers in bdrv_co_discard

Stefan Hajnoczi (17):
  libqos: use virtio_ids.h for device ID definitions
  libqos: drop duplicated PCI vendor ID definition
  libqos: drop duplicated virtio_config.h definitions
  libqos: drop duplicated virtio_ring.h bit definitions
  libqos: drop duplicated virtio_vring.h structs
  libqos: drop duplicated virtio_blk.h definitions
  libqos: drop duplicated virtio_scsi.h definitions
  libqos: drop duplicated virtio_pci.h definitions
  libqos: add qvirtqueue_cleanup()
  blockjob: move iostatus reset out of block_job_enter()
  blockjob: rename block_job_is_paused()
  blockjob: add pause points
  blockjob: add block_job_get_aio_context()
  block: use safe iteration over AioContext notifiers
  blockjob: add AioContext attached callback
  mirror: follow AioContext change gracefully
  backup: follow AioContext change gracefully

 block.c| 46 +-
 block/backup.c | 22 +++
 block/io.c | 12 --
 block/mirror.c | 43 
 blockdev.c |  1 +
 blockjob.c | 97 --
 include/block/block_int.h  |  2 +
 include/block/blockjob.h   | 51 ++--
 tests/libqos/virtio-mmio.c | 13 ++-
 tests/libqos/virtio-pci.c  | 60 +---
 tests/libqos/virtio-pci.h  | 17 
 tests/libqos/virtio.c  | 48 +--
 tests/libqos/virtio.h  | 78 ++---
 tests/virtio-blk-test.c| 96 -
 tests/virtio-net-test.c| 12 +++---
 tests/virtio-scsi-test.c   | 55 ++
 16 files changed, 381 insertions(+), 272 deletions(-)

-- 
2.5.5




[Qemu-devel] [PULL 00/20] Block patches

2013-06-28 Thread Kevin Wolf
The following changes since commit ec3f8c9913c1eeab78a02711be7c2a803dfb4d62:

  linux-user: Fix compilation failure (2013-06-27 15:38:35 -0500)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git for-anthony

for you to fetch changes up to 721da65c6eba9c053d73744ecaa882b0f7cd634a:

  cmd646: fix build when DEBUG_IDE is enabled. (2013-06-28 15:46:38 +0200)


Dietmar Maurer (1):
  block: add basic backup support to block driver

Fam Zheng (1):
  vmdk: remove wrong calculation of relative path

Kevin Wolf (4):
  raw-posix: Fix /dev/cdrom magic on OS X
  block: Make BlockJobTypes const
  gluster: Return bdrv_has_zero_init = 0
  vpc: Implement .bdrv_has_zero_init

Mark Cave-Ayland (1):
  cmd646: fix build when DEBUG_IDE is enabled.

Peter Lieven (1):
  block: change default of .has_zero_init to 0

Richard W.M. Jones (1):
  block/ssh: Set bdrv_has_zero_init according to the file type.

Stefan Hajnoczi (11):
  notify: add NotiferWithReturn so notifier list can abort
  block: add bdrv_add_before_write_notifier()
  blockdev: drop redundant proto_drv check
  blockdev: use bdrv_getlength() in qmp_drive_mirror()
  block: add drive-backup QMP command
  blockdev: rename BlkTransactionStates to singular
  blockdev: allow BdrvActionOps-commit() to be NULL
  blockdev: add DriveBackup transaction
  blockdev: add Abort transaction
  qemu-iotests: extract wait_until_completed() into iotests.py
  qemu-iotests: add 055 drive-backup test case

 block.c   |  31 ++--
 block/Makefile.objs   |   1 +
 block/backup.c| 341 ++
 block/commit.c|   2 +-
 block/cow.c   |   1 +
 block/gluster.c   |  10 ++
 block/mirror.c|   2 +-
 block/qcow.c  |   1 +
 block/qcow2.c |   1 +
 block/qed.c   |   1 +
 block/raw-posix.c |  11 +-
 block/raw-win32.c |   7 +-
 block/rbd.c   |   1 +
 block/sheepdog.c  |   1 +
 block/ssh.c   |  16 ++
 block/stream.c|   2 +-
 block/vdi.c   |   1 +
 block/vmdk.c  |  44 +-
 block/vpc.c   |  25 +++-
 blockdev.c| 288 ++-
 hw/ide/cmd646.c   |   4 +-
 include/block/block.h |   1 +
 include/block/block_int.h |  42 +-
 include/qemu/notify.h |  29 
 qapi-schema.json  |  97 +++-
 qmp-commands.hx   |  46 ++
 tests/qemu-iotests/041|  14 +-
 tests/qemu-iotests/055| 282 ++
 tests/qemu-iotests/055.out|   5 +
 tests/qemu-iotests/group  |   1 +
 tests/qemu-iotests/iotests.py |  15 ++
 trace-events  |   8 +
 util/notify.c |  30 
 33 files changed, 1198 insertions(+), 163 deletions(-)
 create mode 100644 block/backup.c
 create mode 100755 tests/qemu-iotests/055
 create mode 100644 tests/qemu-iotests/055.out



[Qemu-devel] [PULL 00/20] Block patches

2013-04-22 Thread Kevin Wolf
The following changes since commit 68c0aa6e02f79f8825c0c5dc4c7ed25d524aaa8b:

  ui/cocoa.m: Fix recent compile breakage (2013-04-21 16:44:26 +)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git for-anthony

for you to fetch changes up to 7da94ca741e01a80afd65e107cc2cee160d1b2d2:

  qemu-iotests: add 053 unaligned compressed image size test (2013-04-22 
11:37:12 +0200)


Kevin Wolf (16):
  qemu-iotests: Fix _filter_qemu
  block: Fail gracefully when using a format driver on protocol level
  block: Add driver-specific options for backing files
  block: Enable filename option
  raw-posix: Use bdrv_open options instead of filename
  raw-win32: Use bdrv_open options instead of filename
  blkdebug: Use bdrv_open options instead of filename
  blkverify: Use bdrv_open options instead of filename
  curl: Use bdrv_open options instead of filename
  gluster: Use bdrv_open options instead of filename
  iscsi: Use bdrv_open options instead of filename
  rbd: Use bdrv_open options instead of filename
  sheepdog: Use bdrv_open options instead of filename
  vvfat: Use bdrv_open options instead of filename
  block: Remove filename parameter from .bdrv_file_open()
  block: Allow overriding backing.file.filename

Stefan Hajnoczi (4):
  qcow2: allow sub-cluster compressed write to last cluster
  qcow: allow sub-cluster compressed write to last cluster
  qemu-img: do not zero-pad the compressed write buffer
  qemu-iotests: add 053 unaligned compressed image size test

 block.c  |  65 +--
 block/blkdebug.c | 113 +--
 block/blkverify.c| 113 ++-
 block/curl.c | 152 +-
 block/gluster.c  |  34 +-
 block/iscsi.c|  40 ++-
 block/mirror.c   |   2 +-
 block/nbd.c  |   3 +-
 block/qcow.c |  17 ++-
 block/qcow2.c|  17 ++-
 block/raw-posix.c|  70 
 block/raw-win32.c|  59 --
 block/rbd.c  |  32 +-
 block/sheepdog.c |  33 +-
 block/ssh.c  |   3 +-
 block/vvfat.c| 229 ---
 include/block/block.h|   2 +-
 include/block/block_int.h|   3 +-
 qemu-img.c   |   8 +-
 tests/qemu-iotests/051   |   7 ++
 tests/qemu-iotests/051.out   |  10 ++
 tests/qemu-iotests/053   |  73 +
 tests/qemu-iotests/053.out   |  17 +++
 tests/qemu-iotests/common.filter |   2 +-
 tests/qemu-iotests/group |   1 +
 25 files changed, 862 insertions(+), 243 deletions(-)
 create mode 100755 tests/qemu-iotests/053
 create mode 100644 tests/qemu-iotests/053.out



Re: [Qemu-devel] [PULL 00/20] Block patches

2012-04-20 Thread Andreas Färber
Am 13.03.2012 03:23, schrieb Anthony Liguori:
 On 03/12/2012 10:19 AM, Kevin Wolf wrote:
 The following changes since commit
 a348f108842fb928563865c9918642900cd0d477:

Add missing const attributes for MemoryRegionOps (2012-03-11
 11:40:15 +)

 are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony

 Alex Barcelo (4):
coroutine: adding sigaltstack method (.c source)
coroutine: adding configure choose mechanism for coroutine backend
coroutine: adding configure option for sigaltstack coroutine
 backend
test-coroutine: add performance test for nesting

 Kevin Wolf (8):
qcow2: Add some tracing
qcow2: Add error messages in qcow2_truncate
qemu-iotests: Mark some tests as quick
make check: Add qemu-iotests subset
Add 'make check-block'
qcow2: Factor out count_cow_clusters
qcow2: Add qcow2_alloc_clusters_at()
qcow2: Reduce number of I/O requests

 Paolo Bonzini (6):
Group snapshot: Fix format name for backing file
use QSIMPLEQ_FOREACH_SAFE when freeing list elements
qapi: complete implementation of unions
rename blockdev-group-snapshot-sync
add mode field to blockdev-snapshot-sync transaction item
qmp: convert blockdev-snapshot-sync to a wrapper around
 transactions

 Stefan Hajnoczi (2):
qed: do not evict in-use L2 table cache entries
block: handle -EBUSY in bdrv_commit_all()
 
 
 Pulled.  Thanks.
 
 And the make check integration with qemu-iotest is sweet!

Anthony, seems you forgot to push?

Reason I'm asking is that I've been seeing the following annoying
problem on master:

$ make check-block
/home/andreas/QEMU/qemu/tests/qemu-iotests-quick.sh
hostname: Name or service not known
hostname: Name or service not known
QEMU  -- this_should_be_unused
QEMU_IMG  -- /home/andreas/QEMU/build/qemu-img
QEMU_IO   -- /home/andreas/QEMU/build/qemu-io
IMGFMT-- qcow2
IMGPROTO  -- file
PLATFORM  -- Linux/x86_64  3.1.9-1.4-desktop

002 [12:07:08] [12:07:14] - output mismatch (see 002.out.bad)
--- 002.out 2012-04-15 03:15:14.764142157 +0200
+++ 002.out.bad 2012-04-20 12:07:14.829106591 +0200
@@ -1,4 +1,5 @@
 QA output created by 002
+hostname: Name or service not known
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

 == reading whole image ==
004 [12:07:14] [12:07:15] - output mismatch (see 004.out.bad)
--- 004.out 2012-04-15 03:15:14.764142157 +0200
+++ 004.out.bad 2012-04-20 12:07:15.449108889 +0200
@@ -1,4 +1,5 @@
 QA output created by 004
+hostname: Name or service not known
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

 write before image boundary
011 [12:07:15] [12:07:16] - output mismatch (see 011.out.bad)
--- 011.out 2012-04-15 03:15:14.764142157 +0200
+++ 011.out.bad 2012-04-20 12:07:16.991114606 +0200
@@ -1,4 +1,5 @@
 QA output created by 011
+hostname: Name or service not known

 creating image
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
012 [12:07:17] [12:07:17] - output mismatch (see 012.out.bad)
--- 012.out 2012-04-15 03:15:14.764142157 +0200
+++ 012.out.bad 2012-04-20 12:07:17.195115362 +0200
@@ -1,4 +1,5 @@
 QA output created by 012
+hostname: Name or service not known
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

 == mark image read-only
016 [12:07:17] [12:07:17] [not run]
016 -- not suitable for this image format: qcow2
017 [12:07:17] [12:07:21] - output mismatch (see 017.out.bad)
--- 017.out 2012-04-15 03:15:14.779142203 +0200
+++ 017.out.bad 2012-04-20 12:07:21.347130741 +0200
@@ -1,4 +1,5 @@
 QA output created by 017
+hostname: Name or service not known
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 Filling base image

019 [12:07:21] [12:07:25] - output mismatch (see 019.out.bad)
--- 019.out 2012-04-15 03:15:14.779142203 +0200
+++ 019.out.bad 2012-04-20 12:07:25.920147663 +0200
@@ -1,4 +1,5 @@
 QA output created by 019
+hostname: Name or service not known
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
cluster_size=65536
 Filling base image

020 [12:07:25] [12:07:29] - output mismatch (see 020.out.bad)
--- 020.out 2012-04-15 03:15:14.780142206 +0200
+++ 020.out.bad 2012-04-20 12:07:29.987162699 +0200
@@ -1,4 +1,5 @@
 QA output created by 020
+hostname: Name or service not known
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 Filling base image

024 [12:07:30] [12:07:32] - output mismatch (see 024.out.bad)
--- 024.out 2012-04-15 03:15:14.784142219 +0200
+++ 024.out.bad 2012-04-20 12:07:32.842173240 +0200
@@ -1,4 +1,5 @@
 QA output created by 024
+hostname: Name or service not known
 Creating backing file

 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
cluster_size=65536
025 [12:07:32] [12:07:38] - output mismatch 

Re: [Qemu-devel] [PULL 00/20] Block patches

2012-04-20 Thread Andreas Färber
Am 20.04.2012 12:16, schrieb Andreas Färber:
 Am 13.03.2012 03:23, schrieb Anthony Liguori:
 On 03/12/2012 10:19 AM, Kevin Wolf wrote:
 The following changes since commit
 a348f108842fb928563865c9918642900cd0d477:

Add missing const attributes for MemoryRegionOps (2012-03-11
 11:40:15 +)

 are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony

 Alex Barcelo (4):
coroutine: adding sigaltstack method (.c source)
coroutine: adding configure choose mechanism for coroutine backend
coroutine: adding configure option for sigaltstack coroutine
 backend
test-coroutine: add performance test for nesting

 Kevin Wolf (8):
qcow2: Add some tracing
qcow2: Add error messages in qcow2_truncate
qemu-iotests: Mark some tests as quick
make check: Add qemu-iotests subset
Add 'make check-block'
qcow2: Factor out count_cow_clusters
qcow2: Add qcow2_alloc_clusters_at()
qcow2: Reduce number of I/O requests

 Paolo Bonzini (6):
Group snapshot: Fix format name for backing file
use QSIMPLEQ_FOREACH_SAFE when freeing list elements
qapi: complete implementation of unions
rename blockdev-group-snapshot-sync
add mode field to blockdev-snapshot-sync transaction item
qmp: convert blockdev-snapshot-sync to a wrapper around
 transactions

 Stefan Hajnoczi (2):
qed: do not evict in-use L2 table cache entries
block: handle -EBUSY in bdrv_commit_all()


 Pulled.  Thanks.

 And the make check integration with qemu-iotest is sweet!
 
 Anthony, seems you forgot to push?

Oops, I retreat the question, should've looked at the dates more closely
- thread being bumped to top was due to a problem, not due to the PULL
as I assumed.

Below problem with make check-block still applies though. :)

Andreas

 
 Reason I'm asking is that I've been seeing the following annoying
 problem on master:
 
 $ make check-block
 /home/andreas/QEMU/qemu/tests/qemu-iotests-quick.sh
 hostname: Name or service not known
 hostname: Name or service not known
 QEMU  -- this_should_be_unused
 QEMU_IMG  -- /home/andreas/QEMU/build/qemu-img
 QEMU_IO   -- /home/andreas/QEMU/build/qemu-io
 IMGFMT-- qcow2
 IMGPROTO  -- file
 PLATFORM  -- Linux/x86_64  3.1.9-1.4-desktop
 
 002   [12:07:08] [12:07:14] - output mismatch (see 002.out.bad)
 --- 002.out   2012-04-15 03:15:14.764142157 +0200
 +++ 002.out.bad   2012-04-20 12:07:14.829106591 +0200
 @@ -1,4 +1,5 @@
  QA output created by 002
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 
  == reading whole image ==
 004   [12:07:14] [12:07:15] - output mismatch (see 004.out.bad)
 --- 004.out   2012-04-15 03:15:14.764142157 +0200
 +++ 004.out.bad   2012-04-20 12:07:15.449108889 +0200
 @@ -1,4 +1,5 @@
  QA output created by 004
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 
  write before image boundary
 011   [12:07:15] [12:07:16] - output mismatch (see 011.out.bad)
 --- 011.out   2012-04-15 03:15:14.764142157 +0200
 +++ 011.out.bad   2012-04-20 12:07:16.991114606 +0200
 @@ -1,4 +1,5 @@
  QA output created by 011
 +hostname: Name or service not known
 
  creating image
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 012   [12:07:17] [12:07:17] - output mismatch (see 012.out.bad)
 --- 012.out   2012-04-15 03:15:14.764142157 +0200
 +++ 012.out.bad   2012-04-20 12:07:17.195115362 +0200
 @@ -1,4 +1,5 @@
  QA output created by 012
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 
  == mark image read-only
 016   [12:07:17] [12:07:17] [not run]
   016 -- not suitable for this image format: qcow2
 017   [12:07:17] [12:07:21] - output mismatch (see 017.out.bad)
 --- 017.out   2012-04-15 03:15:14.779142203 +0200
 +++ 017.out.bad   2012-04-20 12:07:21.347130741 +0200
 @@ -1,4 +1,5 @@
  QA output created by 017
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
  Filling base image
 
 019   [12:07:21] [12:07:25] - output mismatch (see 019.out.bad)
 --- 019.out   2012-04-15 03:15:14.779142203 +0200
 +++ 019.out.bad   2012-04-20 12:07:25.920147663 +0200
 @@ -1,4 +1,5 @@
  QA output created by 019
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 cluster_size=65536
  Filling base image
 
 020   [12:07:25] [12:07:29] - output mismatch (see 020.out.bad)
 --- 020.out   2012-04-15 03:15:14.780142206 +0200
 +++ 020.out.bad   2012-04-20 12:07:29.987162699 +0200
 @@ -1,4 +1,5 @@
  QA output created by 020
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
  Filling base image
 
 024   [12:07:30] [12:07:32] - output 

Re: [Qemu-devel] [PULL 00/20] Block patches

2012-04-20 Thread Kevin Wolf
Am 20.04.2012 12:16, schrieb Andreas Färber:
 Am 13.03.2012 03:23, schrieb Anthony Liguori:
 On 03/12/2012 10:19 AM, Kevin Wolf wrote:
 The following changes since commit
 a348f108842fb928563865c9918642900cd0d477:

Add missing const attributes for MemoryRegionOps (2012-03-11
 11:40:15 +)

 are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony

 Alex Barcelo (4):
coroutine: adding sigaltstack method (.c source)
coroutine: adding configure choose mechanism for coroutine backend
coroutine: adding configure option for sigaltstack coroutine
 backend
test-coroutine: add performance test for nesting

 Kevin Wolf (8):
qcow2: Add some tracing
qcow2: Add error messages in qcow2_truncate
qemu-iotests: Mark some tests as quick
make check: Add qemu-iotests subset
Add 'make check-block'
qcow2: Factor out count_cow_clusters
qcow2: Add qcow2_alloc_clusters_at()
qcow2: Reduce number of I/O requests

 Paolo Bonzini (6):
Group snapshot: Fix format name for backing file
use QSIMPLEQ_FOREACH_SAFE when freeing list elements
qapi: complete implementation of unions
rename blockdev-group-snapshot-sync
add mode field to blockdev-snapshot-sync transaction item
qmp: convert blockdev-snapshot-sync to a wrapper around
 transactions

 Stefan Hajnoczi (2):
qed: do not evict in-use L2 table cache entries
block: handle -EBUSY in bdrv_commit_all()


 Pulled.  Thanks.

 And the make check integration with qemu-iotest is sweet!
 
 Anthony, seems you forgot to push?
 
 Reason I'm asking is that I've been seeing the following annoying
 problem on master:
 
 $ make check-block
 /home/andreas/QEMU/qemu/tests/qemu-iotests-quick.sh
 hostname: Name or service not known
 hostname: Name or service not known
 QEMU  -- this_should_be_unused
 QEMU_IMG  -- /home/andreas/QEMU/build/qemu-img
 QEMU_IO   -- /home/andreas/QEMU/build/qemu-io
 IMGFMT-- qcow2
 IMGPROTO  -- file
 PLATFORM  -- Linux/x86_64  3.1.9-1.4-desktop
 
 002   [12:07:08] [12:07:14] - output mismatch (see 002.out.bad)
 --- 002.out   2012-04-15 03:15:14.764142157 +0200
 +++ 002.out.bad   2012-04-20 12:07:14.829106591 +0200
 @@ -1,4 +1,5 @@
  QA output created by 002
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 
  == reading whole image ==
 004   [12:07:14] [12:07:15] - output mismatch (see 004.out.bad)
 --- 004.out   2012-04-15 03:15:14.764142157 +0200
 +++ 004.out.bad   2012-04-20 12:07:15.449108889 +0200
 @@ -1,4 +1,5 @@
  QA output created by 004
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 
  write before image boundary
 011   [12:07:15] [12:07:16] - output mismatch (see 011.out.bad)
 --- 011.out   2012-04-15 03:15:14.764142157 +0200
 +++ 011.out.bad   2012-04-20 12:07:16.991114606 +0200
 @@ -1,4 +1,5 @@
  QA output created by 011
 +hostname: Name or service not known
 
  creating image
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 012   [12:07:17] [12:07:17] - output mismatch (see 012.out.bad)
 --- 012.out   2012-04-15 03:15:14.764142157 +0200
 +++ 012.out.bad   2012-04-20 12:07:17.195115362 +0200
 @@ -1,4 +1,5 @@
  QA output created by 012
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 
  == mark image read-only
 016   [12:07:17] [12:07:17] [not run]
   016 -- not suitable for this image format: qcow2
 017   [12:07:17] [12:07:21] - output mismatch (see 017.out.bad)
 --- 017.out   2012-04-15 03:15:14.779142203 +0200
 +++ 017.out.bad   2012-04-20 12:07:21.347130741 +0200
 @@ -1,4 +1,5 @@
  QA output created by 017
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
  Filling base image
 
 019   [12:07:21] [12:07:25] - output mismatch (see 019.out.bad)
 --- 019.out   2012-04-15 03:15:14.779142203 +0200
 +++ 019.out.bad   2012-04-20 12:07:25.920147663 +0200
 @@ -1,4 +1,5 @@
  QA output created by 019
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 cluster_size=65536
  Filling base image
 
 020   [12:07:25] [12:07:29] - output mismatch (see 020.out.bad)
 --- 020.out   2012-04-15 03:15:14.780142206 +0200
 +++ 020.out.bad   2012-04-20 12:07:29.987162699 +0200
 @@ -1,4 +1,5 @@
  QA output created by 020
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
  Filling base image
 
 024   [12:07:30] [12:07:32] - output mismatch (see 024.out.bad)
 --- 024.out   2012-04-15 03:15:14.784142219 +0200
 +++ 024.out.bad   2012-04-20 12:07:32.842173240 +0200
 @@ -1,4 +1,5 @@
  QA output created by 024
 +hostname: Name or service not known
  Creating backing 

Re: [Qemu-devel] [PULL 00/20] Block patches

2012-04-20 Thread Andreas Färber
Am 20.04.2012 12:37, schrieb Kevin Wolf:
 Am 20.04.2012 12:16, schrieb Andreas Färber:
 [...] I've been seeing the following annoying
 problem on master:

 $ make check-block
 /home/andreas/QEMU/qemu/tests/qemu-iotests-quick.sh
 hostname: Name or service not known
 hostname: Name or service not known
 QEMU  -- this_should_be_unused
 QEMU_IMG  -- /home/andreas/QEMU/build/qemu-img
 QEMU_IO   -- /home/andreas/QEMU/build/qemu-io
 IMGFMT-- qcow2
 IMGPROTO  -- file
 PLATFORM  -- Linux/x86_64  3.1.9-1.4-desktop

 002  [12:07:08] [12:07:14] - output mismatch (see 002.out.bad)
 --- 002.out  2012-04-15 03:15:14.764142157 +0200
 +++ 002.out.bad  2012-04-20 12:07:14.829106591 +0200
 @@ -1,4 +1,5 @@
  QA output created by 002
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

  == reading whole image ==
 004  [12:07:14] [12:07:15] - output mismatch (see 004.out.bad)
 --- 004.out  2012-04-15 03:15:14.764142157 +0200
 +++ 004.out.bad  2012-04-20 12:07:15.449108889 +0200
 @@ -1,4 +1,5 @@
  QA output created by 004
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

  write before image boundary
 011  [12:07:15] [12:07:16] - output mismatch (see 011.out.bad)
 --- 011.out  2012-04-15 03:15:14.764142157 +0200
 +++ 011.out.bad  2012-04-20 12:07:16.991114606 +0200
 @@ -1,4 +1,5 @@
  QA output created by 011
 +hostname: Name or service not known

  creating image
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 012  [12:07:17] [12:07:17] - output mismatch (see 012.out.bad)
 --- 012.out  2012-04-15 03:15:14.764142157 +0200
 +++ 012.out.bad  2012-04-20 12:07:17.195115362 +0200
 @@ -1,4 +1,5 @@
  QA output created by 012
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

  == mark image read-only
 016  [12:07:17] [12:07:17] [not run]
  016 -- not suitable for this image format: qcow2
 017  [12:07:17] [12:07:21] - output mismatch (see 017.out.bad)
 --- 017.out  2012-04-15 03:15:14.779142203 +0200
 +++ 017.out.bad  2012-04-20 12:07:21.347130741 +0200
 @@ -1,4 +1,5 @@
  QA output created by 017
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
  Filling base image

 019  [12:07:21] [12:07:25] - output mismatch (see 019.out.bad)
 --- 019.out  2012-04-15 03:15:14.779142203 +0200
 +++ 019.out.bad  2012-04-20 12:07:25.920147663 +0200
 @@ -1,4 +1,5 @@
  QA output created by 019
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
 cluster_size=65536
  Filling base image

 020  [12:07:25] [12:07:29] - output mismatch (see 020.out.bad)
 --- 020.out  2012-04-15 03:15:14.780142206 +0200
 +++ 020.out.bad  2012-04-20 12:07:29.987162699 +0200
 @@ -1,4 +1,5 @@
  QA output created by 020
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
  Filling base image

 024  [12:07:30] [12:07:32] - output mismatch (see 024.out.bad)
 --- 024.out  2012-04-15 03:15:14.784142219 +0200
 +++ 024.out.bad  2012-04-20 12:07:32.842173240 +0200
 @@ -1,4 +1,5 @@
  QA output created by 024
 +hostname: Name or service not known
  Creating backing file

  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
 cluster_size=65536
 025  [12:07:32] [12:07:38] - output mismatch (see 025.out.bad)
 --- 025.out  2012-04-15 03:15:14.784142219 +0200
 +++ 025.out.bad  2012-04-20 12:07:38.543194283 +0200
 @@ -1,4 +1,5 @@
  QA output created by 025
 +hostname: Name or service not known
  === Creating image

  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
 027  [12:07:38] [12:07:39] - output mismatch (see 027.out.bad)
 --- 027.out  2012-04-15 03:15:14.78514 +0200
 +++ 027.out.bad  2012-04-20 12:07:39.340197224 +0200
 @@ -1,4 +1,5 @@
  QA output created by 027
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728

  == writing first cluster to populate metadata ==
 029  [12:07:39] [12:07:49] - output mismatch (see 029.out.bad)
 --- 029.out  2012-04-15 03:15:14.78514 +0200
 +++ 029.out.bad  2012-04-20 12:07:49.395234274 +0200
 @@ -1,4 +1,5 @@
  QA output created by 029
 +hostname: Name or service not known
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
 cluster_size=65536
  wrote 4096/4096 bytes at offset 0
  4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 031  [12:07:49] [12:07:49] - output mismatch (see 031.out.bad)
 --- 031.out  2012-04-19 17:15:59.313430818 +0200
 +++ 031.out.bad  2012-04-20 12:07:49.787235706 +0200
 @@ -1,4 +1,5 @@
  QA output created by 031
 +hostname: Name or service not known

  === Create image with unknown header extension ===

 Not run: 016
 Failures: 002 004 011 012 017 019 020 024 025 027 029 

Re: [Qemu-devel] [PULL 00/20] Block patches

2012-04-20 Thread Kevin Wolf
Am 20.04.2012 12:38, schrieb Andreas Färber:
 Am 20.04.2012 12:37, schrieb Kevin Wolf:
 Am 20.04.2012 12:16, schrieb Andreas Färber:
 [...] I've been seeing the following annoying
 problem on master:

 However `hostname` returns myhostname.site just fine, and I don't
 understand why a user's local hostname should be causing 100% test
 failures for block I/O tests in the first place...

 Could someone please check on that?

 common.config has this line:

HOST=`hostname -s`

 Does hostname -s work as well when you invoke it manually?
 
 Ah no, that one doesn't. (I spotted just `hostname` in common.rc.)

Interesting that it can fail when getting the full host name works.

 But anyway,
 $HOST seems to be completely unused, so I guess we could just remove
 this line.
 
 Maybe it matters for NBD or iSCSI? But if prerequisites were not right I
 would expect the tests to be skipped, not failing.

I suspect the author (Christoph?) just didn't expect that this could
ever fail.

And well, qemu-iotests doesn't do any NBD or iSCSI tests (yet). I
grepped for HOST and found no user at all.

Kevin



[Qemu-devel] [PULL 00/20] Block patches

2012-03-12 Thread Kevin Wolf
The following changes since commit a348f108842fb928563865c9918642900cd0d477:

  Add missing const attributes for MemoryRegionOps (2012-03-11 11:40:15 +)

are available in the git repository at:
  git://repo.or.cz/qemu/kevin.git for-anthony

Alex Barcelo (4):
  coroutine: adding sigaltstack method (.c source)
  coroutine: adding configure choose mechanism for coroutine backend
  coroutine: adding configure option for sigaltstack coroutine backend
  test-coroutine: add performance test for nesting

Kevin Wolf (8):
  qcow2: Add some tracing
  qcow2: Add error messages in qcow2_truncate
  qemu-iotests: Mark some tests as quick
  make check: Add qemu-iotests subset
  Add 'make check-block'
  qcow2: Factor out count_cow_clusters
  qcow2: Add qcow2_alloc_clusters_at()
  qcow2: Reduce number of I/O requests

Paolo Bonzini (6):
  Group snapshot: Fix format name for backing file
  use QSIMPLEQ_FOREACH_SAFE when freeing list elements
  qapi: complete implementation of unions
  rename blockdev-group-snapshot-sync
  add mode field to blockdev-snapshot-sync transaction item
  qmp: convert blockdev-snapshot-sync to a wrapper around transactions

Stefan Hajnoczi (2):
  qed: do not evict in-use L2 table cache entries
  block: handle -EBUSY in bdrv_commit_all()

 Makefile.objs   |4 +
 block.c |8 +-
 block.h |2 +-
 block/qcow2-cache.c |   18 +++
 block/qcow2-cluster.c   |  279 +--
 block/qcow2-refcount.c  |   28 
 block/qcow2.c   |   12 ++
 block/qcow2.h   |3 +
 block/qed-l2-cache.c|   22 +++-
 blockdev.c  |  192 +++--
 configure   |   41 +-
 coroutine-sigaltstack.c |  334 +++
 hmp-commands.hx |9 +-
 hmp.c   |6 +-
 qapi-schema-test.json   |   10 ++
 qapi-schema.json|   74 +++---
 qemu-img.c  |2 +-
 qmp-commands.hx |   62 +---
 scripts/qapi-types.py   |6 +
 scripts/qapi-visit.py   |   31 -
 test-coroutine.c|   27 
 test-qmp-input-visitor.c|   18 +++
 test-qmp-output-visitor.c   |   34 +
 tests/Makefile  |   12 ++-
 tests/check-block.sh|   21 +++
 tests/qemu-iotests-quick.sh |   17 +++
 tests/qemu-iotests/group|   24 ++--
 trace-events|   25 
 28 files changed, 1054 insertions(+), 267 deletions(-)
 create mode 100644 coroutine-sigaltstack.c
 create mode 100755 tests/check-block.sh
 create mode 100755 tests/qemu-iotests-quick.sh



Re: [Qemu-devel] [PULL 00/20] Block patches

2012-03-12 Thread Anthony Liguori

On 03/12/2012 10:19 AM, Kevin Wolf wrote:

The following changes since commit a348f108842fb928563865c9918642900cd0d477:

   Add missing const attributes for MemoryRegionOps (2012-03-11 11:40:15 +)

are available in the git repository at:
   git://repo.or.cz/qemu/kevin.git for-anthony

Alex Barcelo (4):
   coroutine: adding sigaltstack method (.c source)
   coroutine: adding configure choose mechanism for coroutine backend
   coroutine: adding configure option for sigaltstack coroutine backend
   test-coroutine: add performance test for nesting

Kevin Wolf (8):
   qcow2: Add some tracing
   qcow2: Add error messages in qcow2_truncate
   qemu-iotests: Mark some tests as quick
   make check: Add qemu-iotests subset
   Add 'make check-block'
   qcow2: Factor out count_cow_clusters
   qcow2: Add qcow2_alloc_clusters_at()
   qcow2: Reduce number of I/O requests

Paolo Bonzini (6):
   Group snapshot: Fix format name for backing file
   use QSIMPLEQ_FOREACH_SAFE when freeing list elements
   qapi: complete implementation of unions
   rename blockdev-group-snapshot-sync
   add mode field to blockdev-snapshot-sync transaction item
   qmp: convert blockdev-snapshot-sync to a wrapper around transactions

Stefan Hajnoczi (2):
   qed: do not evict in-use L2 table cache entries
   block: handle -EBUSY in bdrv_commit_all()



Pulled.  Thanks.

And the make check integration with qemu-iotest is sweet!

Regards,

Anthony Liguori




  Makefile.objs   |4 +
  block.c |8 +-
  block.h |2 +-
  block/qcow2-cache.c |   18 +++
  block/qcow2-cluster.c   |  279 +--
  block/qcow2-refcount.c  |   28 
  block/qcow2.c   |   12 ++
  block/qcow2.h   |3 +
  block/qed-l2-cache.c|   22 +++-
  blockdev.c  |  192 +++--
  configure   |   41 +-
  coroutine-sigaltstack.c |  334 +++
  hmp-commands.hx |9 +-
  hmp.c   |6 +-
  qapi-schema-test.json   |   10 ++
  qapi-schema.json|   74 +++---
  qemu-img.c  |2 +-
  qmp-commands.hx |   62 +---
  scripts/qapi-types.py   |6 +
  scripts/qapi-visit.py   |   31 -
  test-coroutine.c|   27 
  test-qmp-input-visitor.c|   18 +++
  test-qmp-output-visitor.c   |   34 +
  tests/Makefile  |   12 ++-
  tests/check-block.sh|   21 +++
  tests/qemu-iotests-quick.sh |   17 +++
  tests/qemu-iotests/group|   24 ++--
  trace-events|   25 
  28 files changed, 1054 insertions(+), 267 deletions(-)
  create mode 100644 coroutine-sigaltstack.c
  create mode 100755 tests/check-block.sh
  create mode 100755 tests/qemu-iotests-quick.sh







[Qemu-devel] [PULL 00/20] Block patches

2011-09-20 Thread Kevin Wolf
The following changes since commit 530889ff95659d8fea81eb556e5706387fdddfa7:

  sun4u: don't set up isa_mem_base (2011-09-18 12:00:19 +)

are available in the git repository at:
  git://repo.or.cz/qemu/kevin.git for-anthony

Alexander Motin (1):
  AHCI Port Interrupt Enable register cleaning on soft reset

Fam Zheng (1):
  VMDK: fix leak of extent_file

Frediano Ziglio (2):
  posix-aio-compat: Removed unused offset variable
  block: avoid SIGUSR2

Kevin Wolf (1):
  raw-posix: Fix bdrv_flush error return values

Paolo Bonzini (11):
  nbd: support feature negotiation
  nbd: sync API definitions with upstream
  nbd: support NBD_SET_FLAGS ioctl
  scsi-generic: do not disable FUA
  dma-helpers: rename is_write to to_dev
  dma-helpers: allow including from target-independent code
  dma-helpers: rewrite completion/cancellation
  scsi-disk: commonize iovec creation between reads and writes
  scsi-disk: lazily allocate bounce buffer
  scsi: fix sign extension problems
  linux-aio: remove process requests callback

Sage Weil (4):
  rbd: ignore failures when reading from default conf location
  rbd: update comment heading
  rbd: call flush, if available
  rbd: allow escaping in config string

 block/nbd.c|4 +-
 block/raw-posix.c  |9 +-
 block/rbd.c|   83 ++
 block/vmdk.c   |   14 ++--
 cpus.c |5 ---
 dma-helpers.c  |   58 +++
 dma.h  |   10 --
 hw/ide/ahci.c  |8 +++--
 hw/ide/core.c  |2 +-
 hw/ide/macio.c |2 +-
 hw/scsi-bus.c  |   22 -
 hw/scsi-disk.c |   84 +++-
 hw/scsi-generic.c  |6 
 linux-aio.c|   11 +--
 nbd.c  |   42 +
 nbd.h  |   20 ++--
 posix-aio-compat.c |   34 +++--
 qemu-nbd.c |   13 
 18 files changed, 254 insertions(+), 173 deletions(-)



[Qemu-devel] [PULL 00/20] Block patches

2010-09-21 Thread Kevin Wolf
The following changes since commit a287916c712b0c57a97cd35c663c5e7ba061bc7e:

  Merge remote branch 'mst/for_anthony' into staging (2010-09-20 13:22:20 -0500)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git for-anthony

Bernhard Kohl (2):
  scsi-generic: add missing reset handler
  scsi_bus: fix length and xfer_mode for RESERVE and RELEASE commands

Christoph Hellwig (5):
  use qemu_blockalign consistently
  raw-posix: handle  512 byte alignment correctly
  virtio-blk: propagate the required alignment
  scsi-disk: propagate the required alignment
  ide: propagate the required alignment

Kevin Wolf (10):
  vvfat: Fix segfault on write to read-only disk
  vvfat: Fix double free for opening the image rw
  vvfat: Use cache=unsafe
  qcow2: Move sync out of write_refcount_block_entries
  qcow2: Move sync out of update_refcount
  qcow2: Move sync out of qcow2_alloc_clusters
  qcow2: Get rid of additional sync on COW
  cutils: qemu_iovec_copy and qemu_iovec_memset
  qcow2: Avoid bounce buffers for AIO read requests
  qcow2: Avoid bounce buffers for AIO write requests

Laurent Vivier (2):
  Improve qemu-nbd performance by 4400 %
  nbd: correctly manage default port

Stefan Hajnoczi (1):
  blkverify: Add block driver for verifying I/O

 Makefile.objs  |2 +-
 block/blkverify.c  |  382 
 block/nbd.c|2 -
 block/qcow2-cluster.c  |   19 ++-
 block/qcow2-refcount.c |   13 ++-
 block/qcow2-snapshot.c |2 +
 block/qcow2.c  |  115 +--
 block/qcow2.h  |4 +-
 block/raw-posix.c  |   79 ++
 block/vvfat.c  |   26 +++-
 cutils.c   |   50 +-
 docs/blkverify.txt |   69 +
 hw/ide/core.c  |4 +-
 hw/scsi-bus.c  |3 +-
 hw/scsi-disk.c |   10 +-
 hw/scsi-generic.c  |   21 +++-
 hw/sd.c|2 +-
 hw/virtio-blk.c|1 +
 nbd.c  |   25 +++-
 posix-aio-compat.c |2 +-
 qemu-common.h  |3 +
 qemu-io.c  |2 +-
 qemu-nbd.c |8 +-
 23 files changed, 721 insertions(+), 123 deletions(-)
 create mode 100644 block/blkverify.c
 create mode 100644 docs/blkverify.txt



Re: [Qemu-devel] [PULL 00/20] Block patches

2010-09-21 Thread Anthony Liguori

On 09/21/2010 10:21 AM, Kevin Wolf wrote:

The following changes since commit a287916c712b0c57a97cd35c663c5e7ba061bc7e:

   Merge remote branch 'mst/for_anthony' into staging (2010-09-20 13:22:20 
-0500)

are available in the git repository at:

   git://repo.or.cz/qemu/kevin.git for-anthony
   


Pulled.  Thanks.

Regards,

Anthony Liguori


Bernhard Kohl (2):
   scsi-generic: add missing reset handler
   scsi_bus: fix length and xfer_mode for RESERVE and RELEASE commands

Christoph Hellwig (5):
   use qemu_blockalign consistently
   raw-posix: handle  512 byte alignment correctly
   virtio-blk: propagate the required alignment
   scsi-disk: propagate the required alignment
   ide: propagate the required alignment

Kevin Wolf (10):
   vvfat: Fix segfault on write to read-only disk
   vvfat: Fix double free for opening the image rw
   vvfat: Use cache=unsafe
   qcow2: Move sync out of write_refcount_block_entries
   qcow2: Move sync out of update_refcount
   qcow2: Move sync out of qcow2_alloc_clusters
   qcow2: Get rid of additional sync on COW
   cutils: qemu_iovec_copy and qemu_iovec_memset
   qcow2: Avoid bounce buffers for AIO read requests
   qcow2: Avoid bounce buffers for AIO write requests

Laurent Vivier (2):
   Improve qemu-nbd performance by 4400 %
   nbd: correctly manage default port

Stefan Hajnoczi (1):
   blkverify: Add block driver for verifying I/O

  Makefile.objs  |2 +-
  block/blkverify.c  |  382 
  block/nbd.c|2 -
  block/qcow2-cluster.c  |   19 ++-
  block/qcow2-refcount.c |   13 ++-
  block/qcow2-snapshot.c |2 +
  block/qcow2.c  |  115 +--
  block/qcow2.h  |4 +-
  block/raw-posix.c  |   79 ++
  block/vvfat.c  |   26 +++-
  cutils.c   |   50 +-
  docs/blkverify.txt |   69 +
  hw/ide/core.c  |4 +-
  hw/scsi-bus.c  |3 +-
  hw/scsi-disk.c |   10 +-
  hw/scsi-generic.c  |   21 +++-
  hw/sd.c|2 +-
  hw/virtio-blk.c|1 +
  nbd.c  |   25 +++-
  posix-aio-compat.c |2 +-
  qemu-common.h  |3 +
  qemu-io.c  |2 +-
  qemu-nbd.c |8 +-
  23 files changed, 721 insertions(+), 123 deletions(-)
  create mode 100644 block/blkverify.c
  create mode 100644 docs/blkverify.txt