On 25 April 2018 at 20:57, Warner Losh <i...@bsdimp.com> wrote: > I’ve foolishly volunteered to rebase all the changes that the bad-user > mode folks have done to a recent master rev to get these changes upstreamed. > A number of people have been working on this for a long time. It’s possible > now to run almost any FreeBSD binary from all the architectures. We use it > to do ‘native’ builds of tens of thousands of packages in a chroot (so > building FreeBSD/arm packages on a FreeBSD amd64 box). The diffs are quite > large (on the order of 42k lines), so I anticipate some bumps in moving > this stuff upstream.
So, first up, thanks for agreeing to do this. It sounds from your mail like you're already pretty well aware of the usual pitfalls with this kind of work, and I don't really have much to add that's QEMU specific that nobody else has said already. One question I do have is about the other BSDs: bsd-user at least in theory is supposed to support freebsd, netbsd and openbsd. Your patchsets should fix freebsd, but do you know what the status is of netbsd and openbsd? Upstream we do compiletest but no runtime testing; I think last time I tried it they didn't work very well, but it would be worth checking with the other BSDs downstream to see if they're using bsd-user and to make sure we don't break anything that is currently working for netbsd/openbsd... thanks -- PMM