vmd: fix vioscsi dump and restore
authorpd <pd@openbsd.org>
Thu, 1 Feb 2018 18:33:27 +0000 (18:33 +0000)
committerpd <pd@openbsd.org>
Thu, 1 Feb 2018 18:33:27 +0000 (18:33 +0000)
commit84dba573397ea8bcda50e94a7b54ab660bc4147d
treefc53a76efb04bd8cd1b1eb630a3364df3e405329
parentfe73d15b292ce0182ff27bda77447e139ced8cb0
vmd: fix vioscsi dump and restore

This unbreaks send / receive. Also tested send / receive for vms with cdrom
by booting install62.iso on a vm with a small empty disk, send to file,
receive into a new vm and running an install of bsd* and base.

ok ccardenas@
usr.sbin/vmd/virtio.c