muli
2008-10-28T10:07:56Z

[v8] Userspace patches for PCI device assignment

This patchset enables device assignment for KVM hosts for PCI
devices. It uses the Intel IOMMU by default if available.

Changes from v7->v8 in in particular order:

- various formatting fixes, DEBUG cleanups, cast removals, etc.
- s/strncpy/snprintf/
- split initialization in two phases per aliguori's suggestion
- bail out on errors when we can't limp on
- do ioperm on every cpu and vcpu (Weidong Han)
- use pwrite/pread where applicable
- split r_virtbase into different fields for memory and IO
- fix destruction of MMIO regions (Disheng Su and Weidong Han)

Changes from v6->v7 in no particular order:

- formatting changes: adhere to qemu style
- use strncmp, strncpy etc. instead of the insecure ones
- move from array to linked list
- change iopl() to ioperm() (Weidong Han)
- other small changes as suggested during the review of v6.