Rework disks to have pluggable backends.
authorccardenas <ccardenas@openbsd.org>
Sat, 25 Aug 2018 04:16:09 +0000 (04:16 +0000)
committerccardenas <ccardenas@openbsd.org>
Sat, 25 Aug 2018 04:16:09 +0000 (04:16 +0000)
commit9617633b7f0fd3591eb4ab25fa928acf80e426f5
tree53c9004c7d2ba6315505a0e8ba6a1018e690c88e
parent678d37b983c607e52a77354ed8b51fce2ee53303
Rework disks to have pluggable backends.

This is prep work for adding qcow2 image support.

From Ori Bernstein.  Many thanks!

Tested by many.

OK ccardenas@
usr.sbin/vmd/Makefile
usr.sbin/vmd/vioraw.c [new file with mode: 0644]
usr.sbin/vmd/vioscsi.c
usr.sbin/vmd/virtio.c
usr.sbin/vmd/virtio.h