[CRIU] [PATCH 05/23] include/restorer.h: use the alias UserRegsEntry for UserX86RegsEntry

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 14 06:46:44 EST 2013


On 01/14/2013 02:14 PM, Pavel Emelyanov wrote:
> Can it be a typedef instead?

I think it does.

Nevertheless I have the following idea: what do you think about
collecting all structures of this kind into single structure
and choose appropriate structure while compiling. E.g.
the structure UserRegsEntry would look like this:

struct UserRegsEntry {
     UserX86RegsEntry x86;
     UserArmRegsEntry arm;
};

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list