Skip to contentSkip to conversation

Page access during migration

DISCUSSION Anthony Nocentino 2 participants 3 messages Jan 26, 2009 – Jan 28, 2009

lore
Share & tools
lore
#0 lore raw

All,
I'm investigating modifying the live migration process. During the
live migration (xc_domain_save.c) is it possible to get a pointer to a guest's page descriptor (struct page)? If this is possible, could you please describe the process.

Thank You,
Anthony

#1 lore raw
Quoted 4 lines

I'm investigating modifying the live migration process. During the
live migration (xc_domain_save.c) is it possible to get a pointer to a guest's page descriptor (struct page)? If this is possible, could you please describe the process.

You'd likely have to use a hypercall that could pass you mfn of the the struct page you're looking for and then map that in.

#2 lore raw

Mike,
Thanks for the reply, staring at the hypercalls in xen.h I didn't see
anything that jumped right out at me. What I would like to do is take a peek at the flags in the page descriptor.

Are you referring to something like mapping foreign frames as mentioned in /xen-3.3.0/docs/misc/grant-tables.txt?

Thanks,
anthony

Quoted 8 lines · Mike Sun
Quoted 5 lines

I'm investigating modifying the live migration process.
During the
live migration (xc_domain_save.c) is it possible to get a pointer to a guest's page descriptor (struct page)? If this is possible, could you please describe the process.

You'd likely have to use a hypercall that could pass you mfn of the the struct page you're looking for and then map that in.