Hi, Here's the 6th version of this patch. I've split out the part with the opaque env pointer through libkvm and the tiny patch for the bool. Hence, this patch obviously require my two previous patches. Let me know if there's further objections. Thanks, Jes