[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.