Re: [PATCH] virt-manager validation and error reporting improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cole Robinson wrote:
Cole Robinson wrote:
Hugh Brock wrote:

Needed to change "guest.os_type" to "self._guest.os_type" here and below, works fine with that change.


Your comment was actually at the removed portion of the code so I was confused for a minute, but yes, definitely change that.


NIT: Seems silly to copy the entire self._guest object here merely so you can hang onto the name. Why not just "name = self._guest.get_name()" followed later by "self._guest.name = name"?


Whoops, good call.


Otherwise looks pretty good. If you agree to the changes above I will apply it.


I agree, apply at will. :)

Thanks,
Cole


Since we found some other errors, here's the (hopefully) final incarnation of this patch.

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>

Thanks,
Cole



I have applied this, thanks!

However I think we could stand another small patch that tightens up the validation on the paravirt download URL. Right now it allows spaces and various other characters that are illegal in URLs...

Next step: localize the validation messages...

--Hugh

--
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock           | virt-manager http://virt-manager.org
hbrock@xxxxxxxxxx    | virtualization library http://libvirt.org

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux