[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1321684] [NEW] block_stream command stalls
From: |
mcpacino |
Subject: |
[Qemu-devel] [Bug 1321684] [NEW] block_stream command stalls |
Date: |
Wed, 21 May 2014 09:55:26 -0000 |
Public bug reported:
block_stream command stalls near finishing.
I tried 1.7.1, 2.0.0 and the master versions. All of them stalled.
But the 1.1.2 could finish the job.
Here is how to reproduce it:
$ sudo $QEMU \
-enable-kvm -cpu qemu64 -m 1024 \
-monitor stdio \
-drive file=./i1,if=none,id=drive_0,cache=none,aio=native -device
virtio-blk-pci,drive=drive_0,bus=pci.0,addr=0x5 \
QEMU 2.0.50 monitor - type 'help' for more information
(qemu) VNC server running on `127.0.0.1:5900'
(qemu) snapshot_blkdev drive_0 s1
Formatting 's1', fmt=qcow2 size=26843545600 backing_file='./i1'
backing_fmt='qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
(qemu) block_stream drive_0
(qemu) info block-jobs
Streaming device drive_0: Completed 400818176 of 26843545600 bytes, speed limit
0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 904396800 of 26843545600 bytes, speed limit
0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 23401070592 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 26513768448 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) main-loop: WARNING: I/O thread spun for 1000 iterations
info block-jobs
Streaming device drive_0: Completed 26841513984 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 26841513984 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 26841513984 of 26843545600 bytes, speed
limit 0 bytes/s
#### here, the progress stopped at 26841513984 ####
$ qemu-img info i1
image: i1
file format: qcow2
virtual size: 25G (26843545600 bytes)
disk size: 1.0G
cluster_size: 2097152
Format specific information:
compat: 1.1
lazy refcounts: false
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321684
Title:
block_stream command stalls
Status in QEMU:
New
Bug description:
block_stream command stalls near finishing.
I tried 1.7.1, 2.0.0 and the master versions. All of them stalled.
But the 1.1.2 could finish the job.
Here is how to reproduce it:
$ sudo $QEMU \
-enable-kvm -cpu qemu64 -m 1024 \
-monitor stdio \
-drive file=./i1,if=none,id=drive_0,cache=none,aio=native -device
virtio-blk-pci,drive=drive_0,bus=pci.0,addr=0x5 \
QEMU 2.0.50 monitor - type 'help' for more information
(qemu) VNC server running on `127.0.0.1:5900'
(qemu) snapshot_blkdev drive_0 s1
Formatting 's1', fmt=qcow2 size=26843545600 backing_file='./i1'
backing_fmt='qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
(qemu) block_stream drive_0
(qemu) info block-jobs
Streaming device drive_0: Completed 400818176 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 904396800 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 23401070592 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 26513768448 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) main-loop: WARNING: I/O thread spun for 1000 iterations
info block-jobs
Streaming device drive_0: Completed 26841513984 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 26841513984 of 26843545600 bytes, speed
limit 0 bytes/s
(qemu) info block-jobs
Streaming device drive_0: Completed 26841513984 of 26843545600 bytes, speed
limit 0 bytes/s
#### here, the progress stopped at 26841513984 ####
$ qemu-img info i1
image: i1
file format: qcow2
virtual size: 25G (26843545600 bytes)
disk size: 1.0G
cluster_size: 2097152
Format specific information:
compat: 1.1
lazy refcounts: false
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321684/+subscriptions