On Wed, Jun 25, 2014 at 04:39:07PM +0800, Chen, Tiejun wrote: > >In fact it's exactly what passthrough does. > >I wonder if more bits from ./hw/i386/kvm/pci-assign.c > >can be reused. How do you poke at the host device? sysfs? > > Yes, sysfs. > > Thanks > Tiejun
Then you should be able to re-use large chunks of ./hw/i386/kvm/pci-assign.c: basically everything that deals with emulation.