Re: [PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-02-03 Thread Josh Kunz
On Mon, Jan 20, 2020 at 3:36 AM Alex Bennée wrote: > Ahh the default build target for the BSDs is "check" but as bsd-user > doesn't have any checks it doesn't end up building. You can force it > with > > make vm-build-netbsd EXTRA_CONFIGURE_OPTS="--disable-system" > BUILD_TARGET="all" > > It

Re: [PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-01-20 Thread Alex Bennée
Josh Kunz writes: > On Tue, Jan 14, 2020 at 3:02 AM Alex Bennée wrote: > >> >> Josh Kunz writes: >> >> >> > >> > Not tested: >> > * Build/logging with bsd-user. I do not have easy access to a BSD >> > system. >> >> If you have the time we have vm-build-netbsd: >> >> make vm-build-netbsd

Re: [PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-01-16 Thread Josh Kunz
On Mon, Jan 13, 2020 at 7:06 PM Warner Losh wrote: > The bsd-user that is in tree doesn't work. I've been trying to catch up to > qemu head of tree, but I'm only up to 3.2... chances are the bsd-user > changes will not change the state of things... > Ah good to know. Would you all prefer I

Re: [PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-01-16 Thread Josh Kunz
On Tue, Jan 14, 2020 at 3:02 AM Alex Bennée wrote: > > Josh Kunz writes: > > > > > > Not tested: > > * Build/logging with bsd-user. I do not have easy access to a BSD > > system. > > If you have the time we have vm-build-netbsd: > > make vm-build-netbsd

Re: [PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-01-14 Thread Alex Bennée
Josh Kunz writes: > > Not tested: > * Build/logging with bsd-user. I do not have easy access to a BSD > system. If you have the time we have vm-build-netbsd: make vm-build-netbsd EXTRA_CONFIGURE_OPTS="--disable-system" Which will create a NetBSD image for you and run the build

Re: [PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-01-13 Thread Warner Losh
On Mon, Jan 13, 2020, 8:03 PM Josh Kunz wrote: > The linux-user and bsd-user trees both widely use a function called > `gemu_log` (notice the 'g') for miscellaneous and strace logging. This > function predates the newer `qemu_log` function, and has a few drawbacks > compared to `qemu_log`: > >

[PATCH 0/4] migration: Replace gemu_log with qemu_log

2020-01-13 Thread Josh Kunz
The linux-user and bsd-user trees both widely use a function called `gemu_log` (notice the 'g') for miscellaneous and strace logging. This function predates the newer `qemu_log` function, and has a few drawbacks compared to `qemu_log`: 1. Always logs to `stderr`, no logging redirection. 2.