[Qemu-block] [PATCH for-2.3 1/4] ide: fix cmd_write_pio when nsectors 1

2015-03-19 Thread John Snow
We need to adjust the sector being written to prior to calling ide_transfer_start, otherwise we'll write to the same sector again. Signed-off-by: John Snow js...@redhat.com --- hw/ide/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index

[Qemu-block] [PATCH for-2.3 4/4] ahci-test: improve rw buffer patterns

2015-03-19 Thread John Snow
My pattern was cyclical every 256 bytes, so it missed a fairly obvious failure case. Add some rand() pepper into the test pattern, and for large patterns that exceed 256 sectors, start writing an ID per-sector so that we never generate identical sector patterns. Signed-off-by: John Snow

Re: [Qemu-block] [Qemu-devel] [PATCH v2 2/3] block: Introduce BDS.growing

2015-03-19 Thread Eric Blake
On 03/19/2015 01:03 PM, Max Reitz wrote: This flag is set if the BDS's size can be increased by writing beyond its end. Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 4 block/blkdebug.c | 2 ++ block/blkverify.c | 2 ++ block/iscsi.c

Re: [Qemu-block] [PATCH v5 05/13] block: Move BDS close notifiers into BB

2015-03-19 Thread Eric Blake
On 03/03/2015 01:13 PM, Max Reitz wrote: The only remaining user of the BDS close notifiers is NBD which uses them to determine when a BDS tree is being ejected. This patch removes the BDS-level close notifiers and adds a notifier list to the BlockBackend structure that is invoked whenever a

Re: [Qemu-block] [Qemu-devel] [PULL 0/3] Block patches for 2.3.0-rc1

2015-03-19 Thread Peter Maydell
On 19 March 2015 at 15:16, Kevin Wolf kw...@redhat.com wrote: The following changes since commit cd232acfa0d70002fed89e9293f04afda577a513: Update version for v2.3.0-rc0 release (2015-03-17 18:58:33 +) are available in the git repository at: git://repo.or.cz/qemu/kevin.git

[Qemu-block] [PATCH v2 1/3] iotests: Make nested read in 072 and 089 read-only

2015-03-19 Thread Max Reitz
iotests 072 and 089 create a nested qcow2-in-qcow2 image. This should be opened read-only, for one because it is indeed read only, and also because writing to it would probably turn out bad (the outer qcow2 image cannot grow on demand, so no clusters can be allocated for the inner one).

Re: [Qemu-block] [PATCH v5 09/13] block: Add list of all BlockDriverStates

2015-03-19 Thread Eric Blake
On 03/03/2015 01:13 PM, Max Reitz wrote: Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 10 ++ include/block/block_int.h | 2 ++ 2 files changed, 12 insertions(+) Might be nice to mention in the commit message why it is useful. But the code looked

[Qemu-block] [PULL 1/3] raw-posix: Deprecate host floppy passthrough

2015-03-19 Thread Kevin Wolf
From: Markus Armbruster arm...@redhat.com Raise your hand if you have a physical floppy drive in a computer you've powered on in 2015. Okay, I see we got a few weirdos in the audience. That's okay, weirdos are welcome here. Kidding aside, media change detection doesn't fully work, isn't going