Bug 1657637
| Summary: | Wrong werror default for -device drive=<node-name> | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Kevin Wolf <kwolf> |
| Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | chayang, coli, ddepaula, juzhang, mrezanin, rbalakri, virt-maint, xuwei |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-2.12.0-46.module+el8+2351+e14a4632 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1631615 | Environment: | |
| Last Closed: | 2019-06-14 00:55:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1631615 | ||
| Bug Blocks: | |||
|
Description
Kevin Wolf
2018-12-10 08:14:01 UTC
QA_ACK+, please? Fix included in qemu-kvm-2.12.0-46.module+el8+2351+e14a4632 1. Reproduced this issue on "kernel-4.18.0-40.el8" + "qemu-kvm-2.12.0-45.module+el8+2313+d65431a0.x86_64"
1) Boot the guest with blockdev/drive + werror in default mode:
blockdev:
-blockdev driver=raw,file.driver=file,node-name=driver_system_disk,cache.no-flush=on,cache.direct=off,file.filename=/root/win1.raw \
-device virtio-blk-pci,drive=driver_system_disk,id=system-disk,bus=pci.0,addr=0x3 \
drive:
-drive node-name=image_drive1,if=none,aio=threads,cache=none,format=raw,file=/root/win1.raw \
-device virtio-blk-pci,drive=image_drive1,bus=pci.0 \
2) Run some write operations on the guest:
# dd if=/dev/zero of=test.bin bs=1M oflag=direct
3) Check the VM status in qmp/hmp:
qmp:
{"timestamp": {"seconds": 1544607796, "microseconds": 522300}, "event": "BLOCK_IO_ERROR", "data": {"device": "", "node-name": "driver_system_disk", "reason": "No space left on device", "operation": "write", "action": "report"}}
{"timestamp": {"seconds": 1544607796, "microseconds": 522494}, "event": "BLOCK_IO_ERROR", "data": {"device": "", "node-name": "driver_system_disk", "reason": "No space left on device", "operation": "write", "action": "report"}}
hmp:
(qemu) info status
VM status: running
2. This issue was fixed on "kernel-4.18.0-40.el8" + "qemu-kvm-2.12.0-47.module+el8+2367+d2ba437c.x86_64"
1) Boot the guest with blockdev/drive + werror in default mode:
2) Run some write operations on the guest:
# dd if=/dev/zero of=test.bin bs=1M oflag=direct
3) Check the VM status in qmp/hmp:
qmp:
{"timestamp": {"seconds": 1544666508, "microseconds": 843206}, "event": "BLOCK_IO_ERROR", "data": {"device": "", "nospace": true, "node-name": "driver_system_disk", "reason": "No space left on device", "operation": "write", "action": "stop"}}
{"timestamp": {"seconds": 1544666508, "microseconds": 843318}, "event": "BLOCK_IO_ERROR", "data": {"device": "", "nospace": true, "node-name": "driver_system_disk", "reason": "No space left on device", "operation": "write", "action": "stop"}}
{"timestamp": {"seconds": 1544666508, "microseconds": 848617}, "event": "STOP"}
hmp:
(qemu) info status
VM status: paused (io-error)
*** Bug 1643351 has been marked as a duplicate of this bug. *** |