AFAIK, name is not contained in the domain's home path. Here is
a
patch I have been using for virDomainLookupByID().
Actually it is...
/local/domain/<num>/name
Cheers,
bryan
-
Bryan D. Payne
Graduate Student, Computer Science
Georgia Tech Information Security Center
http://www.bryanpayne.org