[Intel-gfx] unbinding graphics driver

Kay, Allen M allen.m.kay at intel.com
Wed Oct 5 03:50:18 CEST 2011


I'm working on assigning Intel graphics to a guest OS in Xen/KVM environment.  Before assigning the device to the guest OS, I need to first unbind the i915 driver from the device in the host kernel.

If I unbind the i915 driver  by doing "echo -n 0000:00:02.0 > /sys/bus/pci/devices/0000:00:02.0/driver/unbind", I get a kernel oops with no stack trace.  Is this something theoretically allowed?

I have also tried to prevent the i915 driver from loading by renaming the drm directory in /lib/modules to drm.0.  However, i915 driver is still loaded from somewhere, I don't know how it can happen.  Is there a easy way to disable the i915 driver in the kernel?

Allen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111004/1cc95804/attachment.html>


More information about the Intel-gfx mailing list