virtio: fix the error return