Update vdev.c

last tests