Skip to contentSkip to conversation

synchronization in hypervisor

DISCUSSION 胡少龙 2 participants 2 messages Aug 1, 2010 – Aug 2, 2010

lore
Share & tools
lore

胡少龙

author
#0 lore raw

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

#1 lore raw

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