Enhance convert-constants list generation
Enhance convert-constants list generation

While looking at the hypervisor types in Constants.hs, I saw that the
'hyperTypes' list is using strings instead of names. This is due to
the fact that we require the entire elements in the list to be
identified (homogeneous lists), but the string "xen-pvm" is declared
by both 'defaultEnabledHypervisor' and 'htXenPvm'.

We can improve convert-constants by adding a list of names that we
know (statically) don't declare, but instead reuse values. Unless we
have an ADT parser, this is the best we can do, I think.

Signed-off-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>
Reviewed-by: Agata Murawska <4c8886dbe342c6966e25105100cfee09458faa93@google.com>

ganeti/ganeti,andir/ganeti,yiannist/ganeti,dimara/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,onponomarev/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,yiannist/ganeti,onponomarev/ganeti,dimara/ganeti,apyrgio/ganeti,yiannist/ganeti,grnet/snf-ganeti,mbakke/ganeti,ganeti/ganeti,andir/ganeti,leshchevds/ganeti,leshchevds/ganeti,bitemyapp/ganeti,andir/ganeti,leshchevds/ganeti,apyrgio/snf-ganeti,ganeti/ganeti,apyrgio/ganeti,grnet/snf-ganeti,bitemyapp/ganeti,apyrgio/snf-ganeti