xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Memory strategy in xen
@ 2013-11-17  0:26 Yunbin Wang
  2013-11-18 16:39 ` George Dunlap
       [not found] ` <5289F3A1.10000@citrix.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Yunbin Wang @ 2013-11-17  0:26 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 737 bytes --]

Hi all,
I'm a newer to xen. But now I need to do research about live migration in
xen. And now I'm confused with some questions:
1. Is shadowing page used in both paravirtualization and hvm mode? Since
from source code xc_domain_save.c, I see the following code to get dirty
memory bitmap,

frc = xc_shadow_control(
                    xch, dom, XEN_DOMCTL_SHADOW_OP_PEEK,
HYPERCALL_BUFFER(to_skip),
                    dinfo->p2m_size, NULL, 0, NULL);


2. The strategy about memory allocation in xen, I know that dom0 will get
all available memory at first, and xen will allocate memory via balloon
strategy to domU.

And now I need to know how balloon works?

Can anyone give me some ideas about questions above.

Thanks,
Yunbin Wang

[-- Attachment #1.2: Type: text/html, Size: 960 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-03 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17  0:26 Memory strategy in xen Yunbin Wang
2013-11-18 16:39 ` George Dunlap
     [not found] ` <5289F3A1.10000@citrix.com>
     [not found]   ` <CAEPeN01y7cD9kdFzBcmb+J7FJGL124x=xKNT0HAmimDFMkatSA@mail.gmail.com>
2013-12-03 14:18     ` Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).