All of lore.kernel.org
 help / color / mirror / Atom feed
* How to determine memory size in HVM
@ 2009-06-08 14:12 James Harper
  2009-06-08 14:32 ` Keir Fraser
  0 siblings, 1 reply; 11+ messages in thread
From: James Harper @ 2009-06-08 14:12 UTC (permalink / raw)
  To: xen-devel

How can I tell how much memory my VM has under HVM? I want to have
something concrete to compare the 'target' value in xenstore to for
ballooning so I am reluctant to ask Windows the question. There seems to
be a nr_pages in start_info, but HVM doesn't have that...

My reason for not wanting to ask Windows how much memory is that if it
says we have 3.5G (reasonable without PAE) and xenstore says we have 4G
then I'm going to have to fudge things a bit to know whether we are
ballooning up or down etc.

I could just read the initial target value from xenstore on boot, but
even that could be changed before my drivers get to it.

Thanks

James

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

end of thread, other threads:[~2009-06-10 13:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 14:12 How to determine memory size in HVM James Harper
2009-06-08 14:32 ` Keir Fraser
2009-06-09  1:59   ` James Harper
2009-06-09  5:38     ` Keir Fraser
2009-06-10 10:47       ` George Dunlap
2009-06-09  7:42   ` James Harper
2009-06-10  8:24     ` Keir Fraser
2009-06-10  9:39       ` James Harper
2009-06-10 13:07         ` Keir Fraser
2009-06-10 13:28           ` James Harper
2009-06-10 13:54             ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.