|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] capturing SIGKILL in DomU 
| Hi, 
 I am trying to capture SIGKILL through event channel.
 
 On my Dom0, the following process is running (remaining code in attachment).
 
 
 
 
int main(void){
 int ret, dom, remote_dom;
 
 //initialize domains
 dom=0;
 remote_dom=2;
 
 //create the event channel
 ret = create_channel(dom, remote_dom);
 
 
 if (0 == ret) {
 printf("\n Event Channel established successfully \n");
 } else {
 return -1;    //EVENT_CHANNEL_CREATION_FAILED
 }
 
 //wait 20 seconds for an event to occur in DomU
 wait_for_event(20);
 
 //close the opened interfaces
 close_channel();
 
 return 0;
 
 }
 
 While this process is running; I killed a process in DomU using `kill SIGKILL pid`
 
 How can I capture this event (occured in DomU) at the Dom0. I watched /dev/xen/evtchn, but no notification.
 
 
 --
 Srujan D. Kotikela
 
  EcTest.c Description: Text Data
 _______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] capturing SIGKILL in DomU,
Srujan D. Kotikela <=
 |  |  | 
  
    |  |  |