WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] how to intercept the key event across VM-borders, tianyong1979sh <=