[Intel-gfx] unbinding graphics driver
Kay, Allen M
allen.m.kay at intel.com
Tue Oct 4 18:50:18 PDT 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Intel-gfx