'Returns xml for libvirt.'

def get_config(self, connection_info, disk_info):

    conf = super(LibvirtVZStorageVolumeDriver, self).get_config(connection_info, disk_info)
    conf.source_type = 'file'
    conf.driver_cache = 'writethrough'
    conf.source_path = connection_info['data']['device_path']
    conf.driver_format = connection_info['data'].get('format', 'raw')
    return conf
