On Thu, Apr 26, 2018 at 5:22 AM, Kamil Rytarowski <n...@gmx.com> wrote:
> On 26.04.2018 10:11, Peter Maydell wrote: > > 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... > > > > I'm looking forward to see it updated for FreeBSD first. We can > reschedule NetBSD part for later. > > Feel free to CC me for code review. > Sure. Will do. Do you have NetBSD patches against the git repo as well? Warner