Modify hypervisor to support file backend
Modify hypervisor to support file backend

The driver in the xen config file needs to be changed when dealing with
files rather then bdevs.

This patch does two things:
- Add _GetConfigFileDiskData to XenHypervisor which returns the correct
  disk xen config line. This function checks the logical disk type of
  every given block device, such that also hybrid (e.g. mixed drbd and
  file VBDs) are possible
- Make Xen[Pvm|Hvm]Hypervisor._WriteConfigFile() a classmethod to be
  able to call the helper function _GetConfigFileDiskData() in their
  parent XenHypervisor

Reviewed-by: iustinp


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