[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#704574: KVM device assignment may result in panic



On Wed, 2013-04-03 at 05:32 +0100, Ben Hutchings wrote:
> Package: src:linux-2.6
> Version: 2.6.32-48squeeze1
> Severity: important
> Tags: upstream fixed-upstream patch
> 
> I'm trying to test backports of some security fixes releated to KVM
> device assignment, not having tried to use this feature in squeeze.
> 
> Every time I try to assign a device using virt-manager, the kernel
> panics - even with a kernel version before any of the backported fixes
> in this area (2.6.32-41).
[...]

This happens when the device is rapidly assigned and then de-assigned to
a VM.  This is happening on my test system because libvirt decides the
devices I'm choosing are unsuitable, but not before assigning them (very
weird behaviour).

There is a workaround which is to use kernel parameter
'intel_iommu=on,strict' rather than simply 'intel_iommu=on', but this
can have a significant performance impact.

Ben.

-- 
Ben Hutchings
Power corrupts.  Absolute power is kind of neat.
                           - John Lehman, Secretary of the US Navy 1981-1987

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: