 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH] tools/libs/light/libxl_pci.c: explicitly grant access to Intel IGD opregion
 On 3/15/22 7:38 AM, Jan Beulich wrote: On 14.03.2022 04:41, Chuck Zmudzinski wrote: I have one more comment to add here. I am not intending to define igd_opregion as a data structure 3 pages (12k) long, much less as a pointer to such a structure. However, it would be nice to have access to the actual data structure in libxl, because we could use it to validate its contents. I looked in the code for the i915 Linux kernel module, and the IGD opregion does have a signature that we could check if we have access to it. That would mitigate my concerns expressed in my first version of the patch about a false positive when identifying an Intel IGD. Hvmloader should probably also do this check before it maps the Intel IGD into guest memory if that is possible. However, I expect that it is not a memory that libxl has access to. It is probably a structure in kernel space, but it might be possible for libxl to ask the hypervisor for access to it. Perhaps the libxl maintainers can shed some light on that possibility. If this is possible, I will include such a check for the validity of the contents in the IGD in version 2 of the patch. Regards, Chuck 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |