Bug 965016
Summary: | The libvirt hasn't correctly check I/O throttling capabilities for the QEMU binary | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Jia <ajia> |
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, dyuan, juzhang, mkletzan, mzhan, shyu, ydu, zhwang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.0.6-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 10:40:29 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
Alex Jia
2013-05-20 10:19:17 UTC
(In reply to Alex Jia from comment #0) > Description of problem: > Whether the QEMU binary supports block I/O throttling is irrelevant with VM > running or not, it only has relationship with QEMU and libvirt version, if a s/QEMU and libvirt version/QEMU version/ > VM isn't running, libvirt shouldn't allow to change block I/O throttling for > the VM. Of course, it may have effect on guest XML configuration with '--config' or '--current' option. In addition, if a VM is running then we can successfully change block I/O throttling parameters. # virsh domstate foo running # virsh blkdeviotune foo vda --write_iops_sec 100000 # virsh blkdeviotune foo vda total_bytes_sec: 0 read_bytes_sec : 0 write_bytes_sec: 0 total_iops_sec : 0 read_iops_sec : 0 write_iops_sec : 100000 Patch proposed upstream: http://www.redhat.com/archives/libvir-list/2013-May/msg01696.html Moving to POST with commit v1.0.5-371-g5af3ce8: commit 5af3ce827767707097affc5e001eab8cbabc28a7 Author: Martin Kletzander <mkletzan> Date: Thu May 23 13:07:34 2013 +0200 Fix blkdeviotune for shutoff domain Hi Martin, I'm trying to verify this bug with libvirt-1.0.6-1.el7.x86_64. And find when setread_bytes_sec for a shut off guest, virsh still succeed(like using --config flag), i'm not sure if this's expect result, could you help to confirm it, thanks! # virsh domstate test2 shut off # virsh blkdeviotune test2 vda total_bytes_sec: 0 read_bytes_sec : 0 write_bytes_sec: 0 total_iops_sec : 0 read_iops_sec : 0 write_iops_sec : 0 # virsh blkdeviotune test2 vda --read-bytes-sec 1000 # virsh blkdeviotune test2 vda total_bytes_sec: 0 read_bytes_sec : 1000 write_bytes_sec: 0 total_iops_sec : 0 read_iops_sec : 0 write_iops_sec : 0 (In reply to yanbing du from comment #5) yes, because by default, if the domain is not running, the flag '--config' is implied. Same with '--live' and running domain. (In reply to Martin Kletzander from comment #6) > (In reply to yanbing du from comment #5) > yes, because by default, if the domain is not running, the flag '--config' > is implied. Same with '--live' and running domain. Thanks for you confirm, then this bug can move to VERIFIED. 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. |