* Do the suspend/resume tools work with current Xen?
@ 2004-01-21 17:35 Jacob Gorm Hansen
2004-01-21 18:09 ` Keir Fraser
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Gorm Hansen @ 2004-01-21 17:35 UTC (permalink / raw)
To: Xen list
hi,
I noticed that in arch/xeno/kernel/setup.c the contents of
phys_to_machine_mapping[] are initialised on boot, but not upon
resumption after suspend, which may be a problem with the newer Xen
mmu_update semantics, as XenoLinux will now need to access this mapping
to be able to correctly specify machine addresses, even after having
been moved to a set of new machine pages.
Has anyone used the save and restore tools with a recent Xen and do they
still work, or is it correct that this mapping needs to be
reinitialised?
thanks,
Jacob
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Do the suspend/resume tools work with current Xen?
2004-01-21 17:35 Do the suspend/resume tools work with current Xen? Jacob Gorm Hansen
@ 2004-01-21 18:09 ` Keir Fraser
2004-01-22 0:50 ` Jacob Gorm Hansen
0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2004-01-21 18:09 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: Xen list
> hi,
>
> I noticed that in arch/xeno/kernel/setup.c the contents of
> phys_to_machine_mapping[] are initialised on boot, but not upon
> resumption after suspend, which may be a problem with the newer Xen
> mmu_update semantics, as XenoLinux will now need to access this mapping
> to be able to correctly specify machine addresses, even after having
> been moved to a set of new machine pages.
>
> Has anyone used the save and restore tools with a recent Xen and do they
> still work, or is it correct that this mapping needs to be
> reinitialised?
The page frames containing the phys_to_machine_mapping[] are referred
to in the suspend record written by Xenolinux when it is suspended.
The mapping array is then rewritten by xc_linux_restore before
resuming the Xenolinux instance.
So yes -- that mapping does need to be reinitialised somewhere. The
default tools already do this.
-- Keir
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Do the suspend/resume tools work with current Xen?
2004-01-21 18:09 ` Keir Fraser
@ 2004-01-22 0:50 ` Jacob Gorm Hansen
0 siblings, 0 replies; 3+ messages in thread
From: Jacob Gorm Hansen @ 2004-01-22 0:50 UTC (permalink / raw)
To: Keir Fraser; +Cc: Xen list
On Wed, 2004-01-21 at 19:09, Keir Fraser wrote:
> So yes -- that mapping does need to be reinitialised somewhere. The
> default tools already do this.
Sorry, shows my lack of understanding of your resume code... Anyways,
going over this again actually cleared some things up for me, hopefully
my resume will actually work some day.
thanks,
Jacob
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-22 0:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-21 17:35 Do the suspend/resume tools work with current Xen? Jacob Gorm Hansen
2004-01-21 18:09 ` Keir Fraser
2004-01-22 0:50 ` Jacob Gorm Hansen
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.