[Libvirt-cim] [PATCH] Make IsMigratable return "not migratable" instead of error, unless an error

Jay Gagnon grendel at linux.vnet.ibm.com
Fri Mar 21 14:50:45 UTC 2008


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1206037711 25200
> # Node ID 205b3e4958957713fd45a211c6229f09af19e243
> # Parent  c8c0e264c75cccccb40ff0de1cfdfc7a14c3d65a
> Make IsMigratable return "not migratable" instead of error, unless an error
> really occurred.  Log the failure of an individual check for tracking down
> an error.  It really seems that a status message return value to indicate
> *why* something isn't migratable.
>
> Signed-off-by: Dan Smith <danms at us.ibm.com>
>
>
>   
I'd agree that it would nice to be able to give a little info back. Nice 
upside to having the log_status function broken out like that is if the 
clients ever decide they can handle the additional info it will be easy 
for us to make the change. +1


-- 

-Jay




More information about the Libvirt-cim mailing list