summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2012-12-10 10:32:57 -0700
committerBen Hutchings <ben@decadent.org.uk>2014-01-03 04:33:35 +0000
commit960c9d696b30cfed659cd56d4c7f1bfac7d9c424 (patch)
treec4277fa2838c6375807a5cea42b20417cffc5338 /net/lapb/lapb_timer.c
parentc2152747e746aceaa85360eb20b719a835c9d101 (diff)
KVM: Fix iommu map/unmap to handle memory slot moves
commit e40f193f5bb022e927a57a4f5d5194e4f12ddb74 upstream. The iommu integration into memory slots expects memory slots to be added or removed and doesn't handle the move case. We can unmap slots from the iommu after we mark them invalid and map them before installing the final memslot array. Also re-order the kmemdup vs map so we don't leave iommu mappings if we get ENOMEM. Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions