public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [v10] Userspace patches for PCI device assignment
@ 2008-10-29 12:19 muli
  2008-10-29 12:19 ` [PATCH 1/6] device assignment: add ioctl wrappers muli
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: muli @ 2008-10-29 12:19 UTC (permalink / raw)
  To: avi; +Cc: kvm, anthony, weidong.han, benami, muli, amit.shah, allen.m.kay

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

Changes from v9->v10:

- really emove nr_assigned_devices and device_assignment_enabled and
  other cleanups

Changes from v8->v9 in no particular order:

- fixed DEBUG, removed uneeded headers
- introduce USE_KVM_DEVICE_ASSIGNMENT modeled after KVM_USE_PIT, per
  aliguori's suggestion
- only call term_printf from the monitor
- implement markmc's suggestions: don't overflow dev->regions, fix
  disable_iommu bogosity, fix usage and comment with regards to
  -pcidevice format, and some other bits

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.

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [v9] Userspace patches for PCI device assignment
@ 2008-10-29 10:22 muli
  2008-10-29 10:22 ` [PATCH 1/6] device assignment: add ioctl wrappers muli
  0 siblings, 1 reply; 31+ messages in thread
From: muli @ 2008-10-29 10:22 UTC (permalink / raw)
  To: avi; +Cc: kvm, anthony, weidong.han, benami, muli, amit.shah, allen.m.kay

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

Changes from v8->v9 in no particular order:

- fixed DEBUG, removed uneeded headers
- introduce USE_KVM_DEVICE_ASSIGNMENT modeled after KVM_USE_PIT, per
  aliguori's suggestion
- only call term_printf from the monitor
- implement markmc's suggestions: don't overflow dev->regions, fix
  disable_iommu bogosity, fix usage and comment with regards to
  -pcidevice format, and some other bits

Changes from v7->v8 in no 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.

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [v8] Userspace patches for PCI device assignment
@ 2008-10-28 10:06 muli
  2008-10-28 10:06 ` [PATCH 1/6] device assignment: add ioctl wrappers muli
  0 siblings, 1 reply; 31+ messages in thread
From: muli @ 2008-10-28 10:06 UTC (permalink / raw)
  To: avi; +Cc: kvm, anthony, weidong.han, benami, muli, amit.shah, allen.m.kay


[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.

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2008-10-30 13:23 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 12:19 [v10] Userspace patches for PCI device assignment muli
2008-10-29 12:19 ` [PATCH 1/6] device assignment: add ioctl wrappers muli
2008-10-29 12:19   ` [PATCH 2/6] device assignment: introduce pci_map_irq to get irq nr from pin number muli
2008-10-29 12:19     ` [PATCH 3/6] device assignment: introduce functions to correlate pin number and irq muli
2008-10-29 12:19       ` [PATCH 4/6] device assignment: build vtd.c for Intel IOMMU support muli
2008-10-29 12:20         ` [PATCH 5/6] device assignment: support for assigning PCI devices to guests muli
2008-10-29 12:20           ` [PATCH 6/6] device assignment: support for hot-plugging PCI devices muli
2008-10-29 12:27           ` [PATCH 5/6] device assignment: support for assigning PCI devices to guests Mark McLoughlin
2008-10-29 14:40             ` Muli Ben-Yehuda
2008-10-30 11:29 ` [v10] Userspace patches for PCI device assignment Avi Kivity
2008-10-30 12:44 ` Anthony Liguori
2008-10-30 13:23   ` Han, Weidong
  -- strict thread matches above, loose matches on Subject: below --
2008-10-29 10:22 [v9] " muli
2008-10-29 10:22 ` [PATCH 1/6] device assignment: add ioctl wrappers muli
2008-10-29 10:22   ` [PATCH 2/6] device assignment: introduce pci_map_irq to get irq nr from pin number muli
2008-10-29 10:22     ` [PATCH 3/6] device assignment: introduce functions to correlate pin number and irq muli
2008-10-29 10:22       ` [PATCH 4/6] device assignment: build vtd.c for Intel IOMMU support muli
2008-10-29 10:22         ` [PATCH 5/6] device assignment: support for assigning PCI devices to guests muli
2008-10-28 10:06 [v8] Userspace patches for PCI device assignment muli
2008-10-28 10:06 ` [PATCH 1/6] device assignment: add ioctl wrappers muli
2008-10-28 10:06   ` [PATCH 2/6] device assignment: introduce pci_map_irq to get irq nr from pin number muli
2008-10-28 10:06     ` [PATCH 3/6] device assignment: introduce functions to correlate pin number and irq muli
2008-10-28 10:06       ` [PATCH 4/6] device assignment: build vtd.c for Intel IOMMU support muli
2008-10-28 10:06         ` [PATCH 5/6] device assignment: support for assigning PCI devices to guests muli
2008-10-28 14:10           ` Han, Weidong
2008-10-28 15:32             ` Muli Ben-Yehuda
     [not found]           ` <715D42877B251141A38726ABF5CABF2C018683D874@pdsmsx503.ccr.corp.intel.com>
2008-10-28 15:31             ` Han, Weidong
2008-10-28 15:36           ` Han, Weidong
2008-10-28 15:47             ` Muli Ben-Yehuda
2008-10-28 15:45           ` Anthony Liguori
2008-10-28 15:53             ` Muli Ben-Yehuda
2008-10-29  7:56               ` Zhang, Xiantao
2008-10-29 10:27                 ` Muli Ben-Yehuda
2008-10-29  8:22               ` Han, Weidong
2008-10-29 10:25               ` Muli Ben-Yehuda
2008-10-29 10:39                 ` Muli Ben-Yehuda
2008-10-28 16:55           ` Mark McLoughlin
2008-10-29 10:31             ` Muli Ben-Yehuda
2008-10-29 11:07               ` Mark McLoughlin
2008-10-29 11:15               ` Mark McLoughlin
2008-10-29 11:47                 ` Muli Ben-Yehuda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox