[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Swapping frame contents



On Sun, Oct 4, 2015 at 12:37 PM, Bilal Bakht Ahmad <tringingly@xxxxxxxxx> wrote:
> Is there any way the contents of 2 frames be swapped given their gmfn/mfn?

Probably?

Your question isn't very detailed; you might benefit from reading this:

http://wiki.xenproject.org/wiki/Asking_Developer_Questions

Would the following algorithm work?
- pause VM
- copy data from gmfn A into temporary buffer
- copy data from gmfn B into gmfn A
- copy data from temporary buffer into gmfn B
- unpause VM

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.