xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* query the page type of a hvm page from within a hvm guest
@ 2011-04-07 10:12 Olaf Hering
  2011-04-07 11:16 ` Tim Deegan
  0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2011-04-07 10:12 UTC (permalink / raw)
  To: xen-devel


Now that kdump works with pv-on-hvm guests, one issue remains:
The balloon driver in the guest frees guest pages and marks them as
mmio. When the kernel crashes and the crash kernel attempts to read the
oldmem via /proc/vmcore a read from ballooned pages will generate 100%
load in dom0 because Xen asks qemu-dm for the page content. Since the
reads come in as 8byte requests each ballooned page is tried 512 times.

If the crash kernel had a way to ask the hypervisor wether a specific
guest gfn is ballooned and thus backed by ram, the load issue would not
happen.  There seems to be no interface to query the type of a guest gfn
from within the hvm guest.

Any ideas how to implement that?
I see HVMOP_set_mem_type, but no HVMOP_get_mem_type.


Olaf

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

end of thread, other threads:[~2011-05-03  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 10:12 query the page type of a hvm page from within a hvm guest Olaf Hering
2011-04-07 11:16 ` Tim Deegan
2011-05-02  9:17   ` Olaf Hering
2011-05-02  9:43     ` Jan Beulich
2011-05-02  9:56       ` Olaf Hering
2011-05-02 16:27       ` Olaf Hering
2011-05-03  7:49         ` Jan Beulich

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).