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

Re: [Xen-devel] Swapping frame contents



This is exactly what we're looking to do. Do you know of any relevant areas in the Xen source code where this may be taking place?

On Mon, Oct 5, 2015 at 3:08 PM, George Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote:
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



--
Bilal Bakht Ahmad
_______________________________________________
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®.