[et-mgmt-tools] [PATCH] check a UUID format

Hugh Brock hbrock at redhat.com
Tue Apr 3 13:31:47 UTC 2007


S.Sakamoto wrote:
> Hi
> 
> When I install by virt-intall with invalid UUID(e.g."--uuid=4096 Characters"),
> virt-install freeze.
> 
> So, here's the patch adds to check a UUID with following format:
>     xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ( xx should be in hexadecimal )
> 
> Signed-off-by: Shigeki Sakamoto <fj0588di at aa.jp.fujitsu.com>
> 
> 
> Thanks,
> Shigeki Sakamoto.
> 
Hi! Thanks for this, I have committed it. Note that I loosened the 
restriction on the format a little bit; a 32-digit hex number is also 
valid, without the dashes.

Thanks,
--Hugh

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




More information about the et-mgmt-tools mailing list