lguest: add PCI config space emulation to example launcher.
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)
commitd7fbf6e95e2c5e7ef97c463a97499d7a2341fb09
treeeb883c2c3178fa297cfa473b9dd572e88dd0534a
parent6a54f9ab0d65a2095de50160b8ca7ce6469aaac0
lguest: add PCI config space emulation to example launcher.

This handles ioport 0xCF8 and 0xCFC accesses, which are used to
read/write PCI device config space.

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