diff -Nur NVIDIA-Linux-x86_64-319.23/kernel/nv-linux.h NVIDIA-Linux-x86_64-319.23-vfio-vgaarb-fix/kernel/nv-linux.h --- NVIDIA-Linux-x86_64-319.23/kernel/nv-linux.h 2013-05-17 04:00:02.000000000 +0200 +++ NVIDIA-Linux-x86_64-319.23-vfio-vgaarb-fix/kernel/nv-linux.h 2013-05-29 18:09:42.382925622 +0200 @@ -151,9 +151,9 @@ #error "struct file_operations compile test likely failed!" #endif -#if defined(CONFIG_VGA_ARB) -#include -#endif +//#if defined(CONFIG_VGA_ARB) +//#include +//#endif #if defined(NV_VM_INSERT_PAGE_PRESENT) #include diff -Nur NVIDIA-Linux-x86_64-319.23/kernel/nv.c NVIDIA-Linux-x86_64-319.23-vfio-vgaarb-fix/kernel/nv.c --- NVIDIA-Linux-x86_64-319.23/kernel/nv.c 2013-05-17 04:00:02.000000000 +0200 +++ NVIDIA-Linux-x86_64-319.23-vfio-vgaarb-fix/kernel/nv.c 2013-05-29 18:10:01.494277314 +0200 @@ -2914,12 +2914,12 @@ pci_set_master(dev); -#if defined(CONFIG_VGA_ARB) -#if defined(VGA_DEFAULT_DEVICE) - vga_tryget(VGA_DEFAULT_DEVICE, VGA_RSRC_LEGACY_MASK); -#endif - vga_set_legacy_decoding(dev, VGA_RSRC_NONE); -#endif +//#if defined(CONFIG_VGA_ARB) +//#if defined(VGA_DEFAULT_DEVICE) +// vga_tryget(VGA_DEFAULT_DEVICE, VGA_RSRC_LEGACY_MASK); +//#endif +// vga_set_legacy_decoding(dev, VGA_RSRC_NONE); +//#endif if (NV_IS_GVI_DEVICE(nv)) {