|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Suspend or kill a syscall in hypervisor
2010/10/4 Carlo Maiero <zesster@xxxxxxxxx>
I've made a patch that intercept some type of (malicious) hypercall and syscall of domU in the hypervisor, and handle the log in the dom0.
How can i suspend or kill a certain syscall (or hypercall) on a vcpu?
The easy way is to suspend the virtual machine, but i think it's unnecessary.
To block the instruction, i think i've to clear vcpu register and skip to the next instruction, or set failure result in a register.
To stop the execution of the process i've to call a function in traps.c i think near line 400.
This function will wait for a value to be 1.
Which is the best way to implement a semaphore at this level?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|