Hello, Sorry if this is the wrong list to post this question.
I am working on some application that use the Xen low level interfaces. Commonly, I'm seeing this: ==7203== ==7203== Warning: noted but unhandled ioctl 0x305000 with no size/direction hints ==7203== This could cause spurious value errors to appear. ==7203== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. I've examined the docs/html/dist.readme-missing.html and adding hints for xen hypercalls and other ioctls (for Xen privcmd) seems very straight forward, at least for Linux. I have several questions before I begin: 1 - Is syswrap-generic.c (in PRE(sys_ioctl) and POST(sys_ioctl) respectively) the right place for these? That's where _NR_ioctl is handled for everything from what I can see. If they should be broken out into another module, I'll need some guidance :) 2 - I should VKI namespaceize the few constants and structures needed and add them in include/vki/vki-{arch}.h? I noted the presence of _VKI_IOC() in both x86 and amd64. Since these aren't coming out of linux, would it be appropriate to put them in vki-virt-{arch}.h and include them in vki-{arch}.h ? 3 - Is there any reason why these were not added as of yet, i.e. was the issue of Xen being a moving target a problem? While Xen may add more ioctls in the future, the existing will not change. 4 - Where should I post a RFC for the patch prior to creating a bug and attaching it, or should I just upload it? It seemed almost too easy, so I want to be sure I'm not missing something. Thanks for making and maintaining such a very useful tool! --Tim ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users