synchronization in hypervisor
Hi,
I want to add two hypercalls, and to synchronize between them, which is, first wait in one hypercall, and up it in another, is there a synchronization mechanism i can use in xen hypervisor?which part of code can i reference?Thanks. Shawn Hu
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
What's the problem you're trying to solve?
If you just want to synchronize between VMs, there are a number of ways to solve it without adding hypercalls:
* Share a memory page, and let the two VMs syncronize directly, without needing to use the hypervisor
* Calling SCHEDOP_block on one VM, and then sending an event channel from another VM
* Have a VM pause itself, and have another VM un-pause it
-George
Quoted 9 lines · 胡少龙
Hi,
I want to add two hypercalls, and to synchronize between them, which
is, first wait in one hypercall, and up it in another, is there
a synchronization mechanism i can use in xen hypervisor?which part of
code can i reference?Thanks.
Shawn
Hu
Quoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel