Description of problem: virsh happily accepts a non-numeric (e.g. 'xyz') cellno assuming it to be 0. Later versions (RHEL 6+) flag this as an error. Version-Release number of selected component (if applicable): libvirt-0.8.2-25.el5 How reproducible: Easy Steps to Reproduce: 1. virsh freecell xyz Actual results: # virsh freecell xyz 0: 3024308 kB Expected results: # virsh freecell xyz error: cell number has to be a number Additional info: Discovered this with a new 'freecell' test on libvirt autotest, However problem is easily reproducable by hand. It's a very minor issue, but filling it anyway in case it's an easy fix.
It may be an easy fix, but backporting introduces risk, and since the problem only occurs on invalid input and only impacts virsh, you are better off passing valid input rather than asking us to backport a fix. At this point, we want to backport as little as possible into RHEL 5, focusing purely on bugs that have a larger impact to libvirtd itself. I'm marking this as WONTFIX.
Understood, and fair enough. Thanks for taking a look.