Hide Forgot
Description of problem: qemu-kvm: -drive if=none,id=drive0,rerror=stop,file=blkdebug:blkdebug.cfg:test.raw: could not open disk image blkdebug:blkdebug.cfg:test.raw: Operation not supported Version-Release number of selected component (if applicable): qemu-img-0.12.1.2-2.487.el6.x86_64 qemu-kvm-0.12.1.2-2.487.el6.x86_64 kernel-2.6.32-584.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.# cat blkdebug.conf [inject-error] event = "read_aio" errno = "28" 2.# qemu-img create test.raw 1G 3.# /usr/libexec/qemu-kvm -enable-kvm -m 1024 -cpu host -device virtio-scsi-pci -drive if=none,id=drive0,rerror=stop,file=blkdebug:blkdebug.cfg:test.raw -device scsi-hd,drive=drive0 -monitor stdio Actual results: qemu-kvm: -drive if=none,id=drive0,rerror=stop,file=blkdebug:blkdebug.cfg:test.raw: could not open disk image blkdebug:blkdebug.cfg:test.raw: Operation not supported Expected results: qemu launched and trigger error like this: [root@hp-dl388g7-02 ~]# /usr/libexec/qemu-kvm -enable-kvm -m 1024 -cpu host -device virtio-scsi-pci -drive if=none,id=drive0,rerror=stop,file=blkdebug:blkdebug.cfg:test.raw -device scsi-hd,drive=drive0 -monitor stdio QEMU 2.1.2 monitor - type 'help' for more information (qemu) VNC server running on `::1:5900' block I/O error in device 'drive0': No space left on device (28) Additional info: The expected result is from rhel7 with qemu-kvm-rhev-2.1.2-23.el7.x86_64, where blkdebug works well.
This is not a user visible feature. I'm not sure how important this is for RHEL 6. What is to achieve here? Can you give some justification in additional to the expectation?
(In reply to Fam Zheng from comment #2) > This is not a user visible feature. I'm not sure how important this is for > RHEL 6. What is to achieve here? Can you give some justification in > additional to the expectation? For my perspective, this feature is only for testing purpose, it might help to accomplish some test cases or trigger some potential bugs, but anyway, this might be in low severity.