[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48A063C7.3080504@goop.org>
Date: Mon, 11 Aug 2008 09:07:35 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Dave Hansen <dave@...ux.vnet.ibm.com>
CC: containers@...ts.linux-foundation.org,
Theodore Tso <tytso@....edu>, linux-kernel@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support
Dave Hansen wrote:
> On Sun, 2008-08-10 at 07:55 -0700, Jeremy Fitzhardinge wrote:
>
>> Struct pt_regs is not ABI, and can (and has) changed on x86. It's not
>> suitable for a checkpoint structure because it only contains the
>> registers that the kernel trashes, not all usermode registers (on i386,
>> it leaves out %gs, for example). asm-x86/ptrace-abi.h does define stuff
>> that's fixed in stone; it expresses it in terms of a register array,
>> with constants defining what element is which register.
>>
>
> Thanks for the explanation.
>
> I just want to reduce the coding and maintenance burden here. Xen must
> do this for partition mobility, right? Does it define all its own
> stuff?
>
You mean save/restore/migrate? Yes, it defines all its own stuff.
Checkpoint-resume on a whole VM is a rather simpler operation than a
subset of processes.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists