Implemented virtio-block
authorKyle Milka <kmilka1995@gmail.com>
Fri, 22 Jul 2016 16:09:51 +0000 (09:09 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Jul 2016 22:35:26 +0000 (18:35 -0400)
commitc7c7552633e48742e4467011845d06a4cf37958a
treeb171194086161e7f953a64e2456266930d0cff05
parent6f3699b94a3d88619ff8e2e12b486674a7ff1512
Implemented virtio-block

We were able to get various Linux kernels to mount a disk image. Used
linux/lguest.c and virtio_net.c as starting points. This included adding
the block device struct and request and init functions.

Change-Id: I91a603d5a6e9c27c87a29d0784de6fe17cc94916
Signed-off-by: Kyle Milka <kmilka@google.com>
Signed-off-by: Gan Shun Lim <ganshun@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/vmm/vmrunkernel.c
user/vmm/include/vmm/virtio_blk.h
user/vmm/include/vmm/vmm.h
user/vmm/virtio.c
user/vmm/virtio_blk.c [new file with mode: 0644]