Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: save/restore for xbd



On Mon, Apr 24, 2006 at 01:15:00AM -0400, Jed Davis wrote:
> I've modified xbd to keep a private copy of outstanding requests,
> except with the pseudo-physical addresses of the buffer pages instead
> of machine addresses, to allow replaying any that were lost on
> suspension.  This is, modulo some minor details (and the presence of
> an explanatory block comment), what the Linux blkfront does, as part
> of support for save/restore of a domU (under Xen 2).
> 
> The attached diff has been tested as far as it affects regular disk
> I/O (actual save/restore is still missing a few other pieces) but it's
> nontrivial enough that I felt I should have it looked at.
> 
> The xbd_suspend and xbd_resume functions are dead code at the moment,
> but won't stay that way.

This looks good. Thanks for working on this !

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index