On 01/03/17 09:18, Sean Bruno wrote: > > I'm pondering where to start with getting FreeBSD's bsd-user code into > shape so it could actually be reviewed and accepted now that its sort of > working again (signal handling fixed finally). > > I almost feel like the existing code should be purged, except that it > gives a good history (and this seems lazy to me). > > As a first pass, I guess, I'd like to at least make i386 user run on > x86_64. What would you folks like to see in a first pass? > > sean > > ref: https://github.com/seanbruno/qemu-bsd-user/tree/bsd-user >
Primitive example of what I think I should base my patchset on. Its invasive and large. https://github.com/seanbruno/qemu-bsd-user/tree/merge1 That branch, is all the bsd-user changes that are pending in one large "splat". It excludes the new architectures (arm, aarch64, mips, mips64) that we are actively using. i386-bsd-user when compiled statically on x86_64 will run a static (rescue) sh ... so, I think that's good. x86_64 running on x86_64 just blows up. As for sparc/sparc64 ... I'm tempted to delete them as nobody in freebsd is actively maintaining them nor do we have any expectation that they will work someday. sean
signature.asc
Description: OpenPGP digital signature