tianyong1979sh
2010-Aug-31 01:19 UTC
[Xen-devel] how to intercept the key event across VM-borders
the following words is what i want to do.>> the operating envirnoment is like that:there is a host and a Virtual >> Machine(VM) of Xen.the host is Fedora13 and the VM is another OS. our >> command is that i want to intercept a special key ,such as F10. firstly i >> use the fuction XGrabKey() of Xlib. this fuction cannot intercept the F10 >> key event when the VM OS is full screen. then i use the fuction >> XGrabKeyboard .this function can intercep all the key event while others >> application in the host XServer cannot be responsed. maybe i think the >> XInput2 can resolve this problem . but i want to know how to resolve the >> problem by using the fucntion XGrabKey or XGrabKeyboard ?but someone who reply me is like that:>those functions are limited and cannot do what you are trying for >security-reasons. in fact i think it would be hard to be able to grab >keys across VM-borders at all.In the case what i described ,can not intercept the key event really? if i can ,how to intercept? thank you! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel