Bug 974010
Summary: | It should report error while the bps or iops values are not supported by guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xuesong Zhang <xuzhang> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, dyuan, honzhang, mzhan, shyu, zhwang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.1.0-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 12:41:21 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: |
Description
Xuesong Zhang
2013-06-13 09:30:52 UTC
Upstream patch proposed: https://www.redhat.com/archives/libvir-list/2013-June/msg00979.html Now fixed upstream: commit d3c87884927e6b745d0a5680e6d94a40c4f484f7 Author: Ján Tomko <jtomko> AuthorDate: 2013-06-24 14:18:14 +0200 Commit: Ján Tomko <jtomko> CommitDate: 2013-06-24 14:18:14 +0200 qemu: check if block I/O limits fit into long long We can only pass values up to LLONG_MAX through JSON and QEMU checks if the int64_t number is not negative at startup since 1.5.0. https://bugzilla.redhat.com/show_bug.cgi?id=974010 git describe: v1.0.6-120-gd3c8788 Reproduce the bug with same version #rpm -qa libvirt qemu-kvm kernel qemu-kvm-1.5.0-2.el7.x86_64 libvirt-1.0.6-1.el7.x86_64 kernel-3.9.0-0.55.el7.x86_64 verify this bug with libvirt-1.1.0-1.el7.x86_64. Steps: 1. prepare one running guest. 2. Set iotune total_bytes_sec # virsh blkdeviotune kvm-rhel6.3-x86_64-qcow2-virtio vda --total-bytes-sec 12212221112000930000 error: Unable to change block I/O throttle error: numerical overflow: block I/O throttle limit value must be less than 9223372036854775807 3. Set iotune total_bytes_sec with option --config #virsh blkdeviotune kvm-rhel6.3-x86_64-qcow2-virtio hda --total-bytes-sec 12212221112000930000 --config error: Unable to change block I/O throttle error: numerical overflow: block I/O throttle limit value must be less than 9223372036854775807 4. check in the inactive dumpxml # virsh dumpxml kvm-rhel6.3-x86_64-qcow2-virtio --inactive |grep -A 5 disk <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/var/lib/libvirt/images/kvm-rhel6.3-x86_64-qcow2.img'/> <target dev='hda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </disk> ...... The error is clear, so verify this bug. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |