lguest: implement virtio-PCI MMIO accesses.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:11 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:36 +0000 (16:47 +1030)
commit93153077107ecfbf35a3412f6220521e8d8c14ba
tree4f682a617a3be2bebdf9191bd8ba14c1e12c0f44
parentd7fbf6e95e2c5e7ef97c463a97499d7a2341fb09
lguest: implement virtio-PCI MMIO accesses.

For each device, We need to include the vendor capabilities to demark
where virtio common, notification and ISR regions are (we put them
all in BAR0).

We need to handle the switching of the virtqueues using the accessors.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/lguest/lguest.c