> Since virtio devices can live on two busses (sysbus with Syborg or PCI),
> we need to introduce a set of virtio specific functions.
>...
> Inside the VirtIODevice, there would be corresponding function pointers,
>  and depending on whether it was a PCI device or a Syborg device, it would
>  call pci_memory_map or cpu_physical_memory_map.

You mean VirtIOBindings not VirtIODevice, right?  Virtio devices should not be 
accessing guest memory directly, they should be using a virtqueue.

Paul


Reply via email to