'``get_device_path`` on systems using the virtio_blk driver
returns the target of a symlink matching
``/dev/disks/by-id/virtio-<volume.id>``.'

def test_get_device_path_virtio_blk_symlink(self):

    instance_id = self.blockdevice_api.compute_instance_id()
    cinder_volume = self.cinder.create(size=int(Byte(get_minimum_allocatable_size()).to_GiB().value))
    CINDER_VOLUME(id=cinder_volume.id).write()
    self.addCleanup(self._cleanup, instance_id, cinder_volume)
    volume = wait_for_volume_state(volume_manager=self.cinder, expected_volume=cinder_volume, desired_state=u'available', transient_states=(u'creating',))
    attached_volume = self.nova.create_server_volume(server_id=instance_id, volume_id=volume.id, device=None)
    volume = wait_for_volume_state(volume_manager=self.cinder, expected_volume=attached_volume, desired_state=u'in-use', transient_states=(u'available', u'attaching'))
    self.assertEqual(FilePath('/dev/disk/by-id/virtio-{}'.format(volume.id[:20])).realpath(), self.blockdevice_api.get_device_path(volume.id))
