Re: [PATCH 4/5] docs/system/target-sparc: Improve the Sparc documentation

2024-04-19 Thread Brad Smith
On 2024-04-18 4:27 p.m., Mark Cave-Ayland wrote: On 07/03/2024 17:43, Thomas Huth wrote: Add some words about how to enable or disable boolean features, and remove the note about a Linux kernel being available on the QEMU website (they have been removed long ago already). Signed-off-by:

Re: [PATCH for-9.0] meson.build: Disable -fzero-call-used-regs on OpenBSD

2024-04-11 Thread Brad Smith
On 4/11/2024 8:12 AM, Thomas Huth wrote: On 11/04/2024 14.08, Thomas Huth wrote: QEMU currently does not work on OpenBSD since the -fzero-call-used-regs That should be "OpenBSD 7.5" ... older versions are fine since they are using an older version of Clang that does not have

[PATCH] tests/vm: update openbsd image to 7.5

2024-04-10 Thread Brad Smith
tests/vm: update openbsd to release 7.5 Signed-off-by: Brad Smith --- This exposes a further issue with Clang 16 and the ROP exploits flag usage at the moment.. https://gitlab.com/qemu-project/qemu/-/issues/2278 tests/vm/openbsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [PATCH 1/2] tests/vm: skip X11 in openbsd installation

2023-03-22 Thread Brad Smith
On 2023-03-22 9:40 a.m., Thomas Huth wrote: On 22/03/2023 14.38, Philippe Mathieu-Daudé wrote: On 22/3/23 13:36, Daniel P. Berrangé wrote: As a VM used only for automated testing there is no need to install the X11 stack. Signed-off-by: Daniel P. Berrangé ---   tests/vm/openbsd | 3 +--   1

Re: [PATCH] thread-posix: add support for setting threads name on OpenBSD

2023-02-16 Thread Brad Smith
ping. On 2022-12-18 3:22 a.m., Brad Smith wrote: Make use of pthread_set_name_np() to be able to set the threads name on OpenBSD. Signed-off-by: Brad Smith --- meson.build | 12 util/qemu-thread-posix.c | 9 - 2 files changed, 20 insertions(+), 1

Re: [PULL 4/9] MAINTAINERS: Remove bouncing mail address from Kamil Rytarowski

2023-01-20 Thread Brad Smith
I e-mailed his business address and received a bounce back from Google saying the account does not exist. On 1/18/2023 6:34 AM, Thomas Huth wrote: When sending mail to Kamil's address, it's bouncing with a message that the mailbox is full. This already happens since summer 2022, and the last

Re: [PATCH] qga: Add initial OpenBSD and NetBSD support

2022-12-26 Thread Brad Smith
On 12/26/2022 9:02 AM, Konstantin Kostiuk wrote: the series was merged Thank you.

[PATCH] thread-posix: add support for setting threads name on OpenBSD

2022-12-18 Thread Brad Smith
Make use of pthread_set_name_np() to be able to set the threads name on OpenBSD. Signed-off-by: Brad Smith --- meson.build | 12 util/qemu-thread-posix.c | 9 - 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index

[PATCH] FreeBSD: Upgrade to 12.4 release

2022-12-07 Thread Brad Smith
FreeBSD: Upgrade to 12.4 release Signed-off-by: Brad Smith --- .gitlab-ci.d/cirrus.yml | 2 +- tests/vm/freebsd| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml index 634a73a742..785b163aa6 100644 --- a/.gitlab

[PATCH] qga: Add initial OpenBSD and NetBSD support

2022-11-12 Thread Brad Smith
qga: Add initial OpenBSD and NetBSD support Signed-off-by: Brad Smith --- meson.build | 2 +- qga/commands-bsd.c | 5 + qga/commands-posix.c | 9 +++-- qga/main.c | 6 +++--- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build

[PATCH] qga: Add initial OpenBSD support

2022-10-30 Thread Brad Smith
qga: Add initial OpenBSD support Signed-off-by: Brad Smith --- meson.build | 2 +- qga/commands-bsd.c | 5 + qga/commands-posix.c | 9 +++-- qga/main.c | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index

Re: [PATCH v2] tests: Add sndio to the FreeBSD CI containers / VM

2022-10-25 Thread Brad Smith
Thank you. On October 25, 2022 11:10:49 a.m. Thomas Huth wrote: On 25/10/2022 17.02, Brad Smith wrote: tests: Add sndio to the FreeBSD CI containers / VM Signed-off-by: Brad Smith --- Thanks, queued to my testing-next branch: https://gitlab.com/thuth/qemu/-/commits/testing-next

Re: [PATCH v2] tests: Add sndio to the FreeBSD CI containers / VM

2022-10-25 Thread Brad Smith
On 10/25/2022 10:36 AM, Thomas Huth wrote: On 07/10/2022 09.21, Brad Smith wrote: tests: Add sndio to the FreeBSD CI containers / VM --- Patch description is missing "Signed-off-by" line ... to follow our QEMU development process, could you please reply with such a line to

[PATCH v2] tests: Add sndio to the FreeBSD CI containers / VM

2022-10-25 Thread Brad Smith
tests: Add sndio to the FreeBSD CI containers / VM Signed-off-by: Brad Smith --- .gitlab-ci.d/cirrus/freebsd-12.vars | 2 +- .gitlab-ci.d/cirrus/freebsd-13.vars | 2 +- tests/docker/dockerfiles/alpine.docker| 3 +- tests/docker/dockerfiles/centos8.docker

[PATCH] tests/vm: update openbsd to release 7.2

2022-10-23 Thread Brad Smith
tests/vm: update openbsd to release 7.2 Signed-off-by: Brad Smith --- tests/vm/openbsd | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 6f1b6f5b98..eaeb201e91 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -22,8 +22,8

Re: [PATCH v2] tests: Add sndio to the FreeBSD CI containers / VM

2022-10-07 Thread Brad Smith
On 10/7/2022 4:33 PM, Warner Losh wrote: On Fri, Oct 7, 2022 at 1:21 AM Brad Smith wrote: tests: Add sndio to the FreeBSD CI containers / VM ---  .gitlab-ci.d/cirrus/freebsd-12.vars           |   2 +-  .gitlab-ci.d/cirrus/freebsd-13.vars           |   2 +-  tests/docker

[PATCH v2] tests: Add sndio to the FreeBSD CI containers / VM

2022-10-07 Thread Brad Smith
tests: Add sndio to the FreeBSD CI containers / VM --- .gitlab-ci.d/cirrus/freebsd-12.vars | 2 +- .gitlab-ci.d/cirrus/freebsd-13.vars | 2 +- tests/docker/dockerfiles/alpine.docker| 3 +- tests/docker/dockerfiles/centos8.docker | 2 +-

[PATCH] tests: Add sndio to the FreeBSD CI containers / VM

2022-09-28 Thread Brad Smith
tests: Add sndio to the FreeBSD CI containers / VM Signed-off-by: Brad Smith --- .gitlab-ci.d/cirrus/freebsd-12.vars | 2 +- .gitlab-ci.d/cirrus/freebsd-13.vars | 2 +- tests/vm/freebsd| 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.d

Re: [PATCH v3] audio: Add sndio backend

2022-09-19 Thread Brad Smith
On 9/9/2022 2:12 AM, Volker Rümelin wrote: Am 07.09.22 um 15:23 schrieb Alexandre Ratchov: sndio is the native API used by OpenBSD, although it has been ported to other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.). Signed-off-by: Brad Smith Signed-off-by: Alexandre Ratchov

Re: [PATCH] tests/vm: update NetBSD to 9.3

2022-09-19 Thread Brad Smith
On September 19, 2022 9:05:31 a.m. Thomas Huth wrote: On 06/09/2022 03.04, Brad Smith wrote: tests/vm: update NetBSD to 9.3 Signed-off-by: Brad Smith --- tests/vm/netbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/netbsd b/tests/vm/netbsd index da6773ff59

[PATCH] tests/vm: update NetBSD to 9.3

2022-09-05 Thread Brad Smith
tests/vm: update NetBSD to 9.3 Signed-off-by: Brad Smith --- tests/vm/netbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/netbsd b/tests/vm/netbsd index da6773ff59..aa54338dfa 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -22,8 +22,8 @@ class NetBSDVM

Re: [PATCH] tests/vm: update openbsd to release 7.1

2022-05-05 Thread Brad Smith
The checksum can be found here... https://cdn.openbsd.org/pub/OpenBSD/7.1/amd64/SHA256 SHA256 (install71.iso) = d3a7c5b9bf890bc404304a1c96f9ee72e1d9bbcf9cc849c1133bdb0d67843396 On 5/5/2022 10:45 PM, Warner Losh wrote: On Thu, May 5, 2022 at 5:32 PM Brad Smith wrote: tests/vm/openbsd

[PATCH] tests/vm: update openbsd to release 7.1

2022-05-05 Thread Brad Smith
tests/vm/openbsd: Update to release 7.1 Signed-off-by: Brad Smith --- tests/vm/openbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 337fe7c303..dc34b2718b 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -22,8 +22,8

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-23 Thread Brad Smith
On 4/20/2022 6:13 AM, Thomas Huth wrote: On 19/04/2022 18.24, Daniel P. Berrangé wrote: On Mon, Apr 11, 2022 at 08:55:19AM +0200, Thomas Huth wrote: On 11/04/2022 01.50, Brad Smith wrote: On 4/10/2022 5:06 AM, Peter Maydell wrote: On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: On 4/8/2022

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-14 Thread Brad Smith
On 4/11/2022 2:55 AM, Thomas Huth wrote: On 11/04/2022 01.50, Brad Smith wrote: On 4/10/2022 5:06 AM, Peter Maydell wrote: On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: On 4/8/2022 12:47 PM, Thomas Huth wrote: QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big important distro

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-10 Thread Brad Smith
On 4/10/2022 5:06 AM, Peter Maydell wrote: On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: On 4/8/2022 12:47 PM, Thomas Huth wrote: QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big important distro that did not have a pre-packaged libslirp has been dismissed. All other major

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-09 Thread Brad Smith
On 4/8/2022 12:47 PM, Thomas Huth wrote: QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big important distro that did not have a pre-packaged libslirp has been dismissed. All other major distros seem to have a libslirp package in their distribution already - according to repology.org:

Re: [PULL 18/30] configure, meson: move guest-agent, tools to meson

2022-03-17 Thread Brad Smith
Trying out 7.0.0-rc0 I noticed after this commit that the guest agent does not build on the BSD's and macOS. From the configure scrip it went from..   elif [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then   guest_agent=yes to this in meson.build..

Re: [PATCH v2] audio: Add sndio backend

2022-01-15 Thread Brad Smith
On 12/19/2021 4:07 PM, Volker Rümelin wrote: Hi Alexandre, sndio is the native API used by OpenBSD, although it has been ported to other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.). Signed-off-by: Brad Smith Signed-off-by: Alexandre Ratchov --- Thank you for the reviews

[PATCH v2] FreeBSD: Upgrade to 12.3 release

2022-01-04 Thread Brad Smith
FreeBSD: Upgrade to 12.3 release Note, since libtasn1 was fixed in 12.3 [*], this commit re-enables GnuTLS. [*] https://gitlab.com/gnutls/libtasn1/-/merge_requests/71 Signed-off-by: Brad Smith Tested-by: Thomas Huth Reviewed-by: Warner Losh --- .gitlab-ci.d/cirrus.yml | 5 + tests/vm

[PATCH] FreeBSD: Upgrade to 12.3 release

2022-01-03 Thread Brad Smith
FreeBSD: Upgrade to 12.3 release Signed-off-by: Brad Smith Tested-by: Thomas Huth --- .gitlab-ci.d/cirrus.yml | 5 + tests/vm/freebsd| 8 +++- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml index d273a9e713

Re: [PATCH v2 for-6.2] meson.build: Support ncurses on MacOS and OpenBSD

2021-11-18 Thread Brad Smith
: - Only define _XOPEN_SOURCE_EXTENDED when curses.h is used. - Extended to fix OpenBSD, too (untested!) meson.build | 5 - ui/curses.c | 4 2 files changed, 8 insertions(+), 1 deletion(-) Tested-by: Brad Smith

Re: [PATCH] audio: Add sndio backend

2021-11-18 Thread Brad Smith
On 11/14/2021 8:18 AM, Christian Schoenebeck wrote: On Samstag, 13. November 2021 21:40:39 CET Brad Smith wrote: On 11/8/2021 8:03 AM, Christian Schoenebeck wrote: On Sonntag, 7. November 2021 06:19:26 CET Brad Smith wrote: audio: Add sndio backend Add a sndio backend. Hi Brad! sndio

Re: [PATCH] audio: Add sndio backend

2021-11-13 Thread Brad Smith
On 11/10/2021 1:22 AM, WANG Xuerui wrote: On 2021/11/7 13:19, Brad Smith wrote: audio: Add sndio backend Add a sndio backend. sndio is the native API used by OpenBSD, although it has been ported to other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.). The C code is from

Re: [PATCH] audio: Add sndio backend

2021-11-13 Thread Brad Smith
On 11/8/2021 9:58 AM, Paolo Bonzini wrote: On 11/7/21 06:19, Brad Smith wrote:   if not get_option('spice_protocol').auto() or have_system @@ -1301,6 +1306,7 @@ if have_system   'oss': oss.found(),   'pa': pulse.found(),   'sdl': sdl.found(), +    'sndio': sndio.found

Re: [PATCH] audio: Add sndio backend

2021-11-13 Thread Brad Smith
On 11/8/2021 8:03 AM, Christian Schoenebeck wrote: On Sonntag, 7. November 2021 06:19:26 CET Brad Smith wrote: audio: Add sndio backend Add a sndio backend. Hi Brad! sndio is the native API used by OpenBSD, although it has been ported to other *BSD's and Linux (packages for Ubuntu, Debian

Re: [PATCH] audio: Add sndio backend

2021-11-09 Thread Brad Smith
On 11/8/2021 9:58 AM, Paolo Bonzini wrote: On 11/7/21 06:19, Brad Smith wrote:   if not get_option('spice_protocol').auto() or have_system @@ -1301,6 +1306,7 @@ if have_system   'oss': oss.found(),   'pa': pulse.found(),   'sdl': sdl.found(), +    'sndio': sndio.found

[PATCH] audio: Add sndio backend

2021-11-06 Thread Brad Smith
audio: Add sndio backend Add a sndio backend. sndio is the native API used by OpenBSD, although it has been ported to other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.). The C code is from Alexandre Ratchov and the rest of the bits are from me. --- audio/audio.c |

Re: [PATCH] tests/vm: update openbsd to release 7.0

2021-10-18 Thread Brad Smith
On 10/18/2021 2:28 AM, Thomas Huth wrote: On 17/10/2021 00.56, Brad Smith wrote: tests/vm: update openbsd to release 7.0 Signed-off-by: Brad Smith ---   tests/vm/openbsd | 4 ++--   1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index

[PATCH] tests/vm: update openbsd to release 7.0

2021-10-16 Thread Brad Smith
tests/vm: update openbsd to release 7.0 Signed-off-by: Brad Smith --- tests/vm/openbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index c4c78a80f1..abf510e117 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -22,8 +22,8

Re: [PATCH] tests/vm/openbsd: Move timezone set to after disk setup

2021-10-16 Thread Brad Smith
Yes, this is the correct order. The timezone question comes after the install sets are extracted. Signed-off-by: Brad Smith On 10/13/2021 12:31 PM, Richard Henderson wrote: Currently the install gets stuck waiting for the timezone when the installer is waiting on the disk. Swap the two

Re: [PATCH 3/3] dtc: Update to version 1.6.1

2021-10-01 Thread Brad Smith
On 10/1/2021 1:54 PM, Brad Smith wrote: On 10/1/2021 5:44 AM, Daniel P. Berrangé wrote: On Fri, Oct 01, 2021 at 10:37:51AM +0100, Peter Maydell wrote: On Fri, 1 Oct 2021 at 10:10, Daniel P. Berrangé wrote: On Thu, Sep 30, 2021 at 09:10:12AM +0200, Thomas Huth wrote: On 27/08/2021 14.09

Re: [PATCH 3/3] dtc: Update to version 1.6.1

2021-10-01 Thread Brad Smith
On 10/1/2021 5:44 AM, Daniel P. Berrangé wrote: On Fri, Oct 01, 2021 at 10:37:51AM +0100, Peter Maydell wrote: On Fri, 1 Oct 2021 at 10:10, Daniel P. Berrangé wrote: On Thu, Sep 30, 2021 at 09:10:12AM +0200, Thomas Huth wrote: On 27/08/2021 14.09, Thomas Huth wrote: The dtc submodule is

Re: Rust in Qemu BoF followup: Rust vs. qemu platform support

2021-09-19 Thread Brad Smith
On 9/17/2021 4:58 AM, David Gibson wrote: Hi all, At the qemu-in-rust BoF at KVM Forum, I volunteered to look into whether Rust supported all the host/build platforms that qemu does, which is obviously vital if we want to make Rust a non-optional component of the build. I've added the

Re: [PATCH 00/11] Fixes for clang-13 plus tcg/ppc

2021-08-13 Thread Brad Smith
. But please double-check. r~ Cc: Alex Bennée Cc: Brad Smith Cc: David Gibson Cc: Eric Blake Cc: Gerd Hoffmann Cc: Greg Kurz Cc: Jason Wang Cc: Laurent Vivier Cc: qemu-bl...@nongnu.org Cc: qemu-...@nongnu.org Cc: Vladimir Sementsov-Ogievskiy Richard Henderson (11): nbd/server: Remove

Re: [PATCH] tests/vm: update NetBSD to 9.2

2021-06-30 Thread Brad Smith
hilippe Mathieu-Daudé" (maintainer:Build and test au...) Thomas Huth (maintainer:Build and test au...) Wainer dos Santos Moschetta (reviewer:Build and test au...) Willian Rampazzo (reviewer:Build and test au...) qemu-devel@nongnu.org (open list:All patches CC here) On 6/2/21 7:21 PM, Brad Sm

Re: [PATCH] tests/vm: update NetBSD to 9.2

2021-06-29 Thread Brad Smith
ping. On 6/3/2021 3:19 AM, Gerd Hoffmann wrote: On Wed, Jun 02, 2021 at 01:21:49PM -0400, Brad Smith wrote: tests/vm: update NetBSD to 9.2 Signed-off-by: Brad Smith Tested-by: Gerd Hoffmann

Re: [PATCH] tests/vm: update openbsd to release 6.9

2021-06-29 Thread Brad Smith
ping. On 5/31/2021 12:55 AM, Gerd Hoffmann wrote: On Sun, May 30, 2021 at 10:01:28PM -0400, Brad Smith wrote: tests/vm: update openbsd to release 6.9 Signed-off-by: Brad Smith Tested-by: Gerd Hoffmann

Re: [PATCH] meson.build: Support ncurses on MacOS

2021-06-14 Thread Brad Smith
On 6/14/2021 1:45 AM, Philippe Mathieu-Daudé wrote: On 6/13/21 8:33 AM, Stefan Weil wrote: Am 13.06.21 um 03:40 schrieb Brad Smith: This same problem also applies to OpenBSD as we have the same version of ncurses with support for wide characters. I have a similar patch in our QEMU port

Re: [PATCH] meson.build: Support ncurses on MacOS

2021-06-12 Thread Brad Smith
This same problem also applies to OpenBSD as we have the same version of ncurses with support for wide characters. I have a similar patch in our QEMU port. On 6/12/2021 4:03 AM, Stefan Weil wrote: MacOS provides header files for curses 5.7 with support for wide characters, but requires

[PATCH] tests/vm: update NetBSD to 9.2

2021-06-02 Thread Brad Smith
tests/vm: update NetBSD to 9.2 Signed-off-by: Brad Smith --- tests/vm/netbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/netbsd b/tests/vm/netbsd index b9efc269d2..4cc58df130 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -22,8 +22,8 @@ class NetBSDVM

[PATCH] tests/vm: update openbsd to release 6.9

2021-05-30 Thread Brad Smith
tests/vm: update openbsd to release 6.9 Signed-off-by: Brad Smith --- tests/vm/openbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 4d1399378e..c4c78a80f1 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -22,8 +22,8

Re: [PATCH] oslib-posix: Remove OpenBSD workaround for fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure

2021-05-30 Thread Brad Smith
ping. On 4/1/2021 1:34 PM, Brad Smith wrote: OpenBSD prior to 6.3 required a workaround to utilize fcntl(F_SETFL) on memory devices. Since modern verions of OpenBSD that are only officialy supported and buildable on do not have this issue I am garbage collecting this workaround. Signed-off

Re: [PATCH] tcg/ppc: Fix building with Clang

2021-05-27 Thread Brad Smith
On 5/2/2021 12:02 AM, Brad Smith wrote: On 4/22/2021 11:39 AM, Richard Henderson wrote: On 4/22/21 2:20 AM, Peter Maydell wrote: On Thu, 22 Apr 2021 at 06:18, Richard Henderson I'm thinking something like #if !defined(_CALL_SYSV) && \   !defined(_CALL_DARWIN) &&

Re: [PATCH] tap-bsd: Remove special casing for older OpenBSD releases

2021-05-05 Thread Brad Smith
On 5/5/2021 10:19 PM, Jason Wang wrote: 在 2021/5/2 下午12:10, Brad Smith 写道: On 4/1/2021 3:24 AM, Jason Wang wrote: 在 2021/3/30 上午4:38, Brad Smith 写道: On 3/28/2021 11:58 PM, Jason Wang wrote: 在 2021/3/29 上午11:03, Brad Smith 写道: It very much is correct. We don't care about such releases

Re: [PATCH 1/7] migration: use GDateTime for formatting timestamp in snapshot names

2021-05-05 Thread Brad Smith
Thank you. On 5/5/2021 6:36 AM, Daniel P. Berrangé wrote: The GDateTime APIs provided by GLib avoid portability pitfalls, such as some platforms where 'struct timeval.tv_sec' field is still 'long' instead of 'time_t'. When combined with automatic cleanup, GDateTime often results in simpler code

Re: [PATCH] tap-bsd: Remove special casing for older OpenBSD releases

2021-05-01 Thread Brad Smith
On 4/1/2021 3:24 AM, Jason Wang wrote: 在 2021/3/30 上午4:38, Brad Smith 写道: On 3/28/2021 11:58 PM, Jason Wang wrote: 在 2021/3/29 上午11:03, Brad Smith 写道: It very much is correct. We don't care about such releases anymore. So is there a doc/wiki to say Qemu doesn't support those OpenBSD

Re: [PATCH] oslib-posix: Remove OpenBSD workaround for fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure

2021-05-01 Thread Brad Smith
ping. On 4/1/2021 1:34 PM, Brad Smith wrote: OpenBSD prior to 6.3 required a workaround to utilize fcntl(F_SETFL) on memory devices. Since modern verions of OpenBSD that are only officialy supported and buildable on do not have this issue I am garbage collecting this workaround. Signed-off

Re: [PATCH] tcg/ppc: Fix building with Clang

2021-05-01 Thread Brad Smith
On 4/22/2021 11:39 AM, Richard Henderson wrote: On 4/22/21 2:20 AM, Peter Maydell wrote: On Thu, 22 Apr 2021 at 06:18, Richard Henderson I'm thinking something like #if !defined(_CALL_SYSV) && \   !defined(_CALL_DARWIN) && \   !defined(_CALL_AIX) && \   !defined(_CALL_ELF) # if

[PATCH] tcg/ppc: Fix building with Clang

2021-04-20 Thread Brad Smith
on OpenBSD/powerpc. Signed-off-by: Brad Smith diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index 838ccfa42d..d2611832e5 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -25,6 +25,11 @@ #include "elf.h" #include "../tcg-pool.c.inc" +/* C

tcg/ppc: Fix building with Clang

2021-04-20 Thread Brad Smith
on OpenBSD/powerpc. Signed-off-by: Brad Smith diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index 838ccfa42d..d2611832e5 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -25,6 +25,11 @@ #include "elf.h" #include "../tcg-pool.c.inc" +/* C

[PATCH] oslib-posix: Remove OpenBSD workaround for fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure

2021-04-01 Thread Brad Smith
OpenBSD prior to 6.3 required a workaround to utilize fcntl(F_SETFL) on memory devices. Since modern verions of OpenBSD that are only officialy supported and buildable on do not have this issue I am garbage collecting this workaround. Signed-off-by: Brad Smith diff --git a/util/oslib-posix.c

Re: [PATCH] migration: Remove time_t cast for OpenBSD

2021-04-01 Thread Brad Smith
On 4/1/2021 4:14 AM, Daniel P. Berrangé wrote: On Wed, Mar 31, 2021 at 03:26:16PM -0400, Brad Smith wrote: On 3/13/2021 6:33 PM, Brad Smith wrote: On 3/11/2021 1:39 PM, Daniel P. Berrangé wrote: On Thu, Mar 11, 2021 at 06:28:57PM +, Dr. David Alan Gilbert wrote: * Laurent Vivier (laur

Re: [PATCH] migration: Remove time_t cast for OpenBSD

2021-03-31 Thread Brad Smith
On 3/13/2021 6:33 PM, Brad Smith wrote: On 3/11/2021 1:39 PM, Daniel P. Berrangé wrote: On Thu, Mar 11, 2021 at 06:28:57PM +, Dr. David Alan Gilbert wrote: * Laurent Vivier (laur...@vivier.eu) wrote: Le 08/03/2021 à 12:46, Thomas Huth a écrit : On 22/02/2021 08.28, Brad Smith wrote

Re: [PATCH] tap-bsd: Remove special casing for older OpenBSD releases

2021-03-29 Thread Brad Smith
On 3/28/2021 11:58 PM, Jason Wang wrote: 在 2021/3/29 上午11:03, Brad Smith 写道: It very much is correct. We don't care about such releases anymore. So is there a doc/wiki to say Qemu doesn't support those OpenBSD release? The (OpenBSD itself and QEMU) project only makes a concerted effort

Re: [PATCH] tap-bsd: Remove special casing for older OpenBSD releases

2021-03-28 Thread Brad Smith
It very much is correct. We don't care about such releases anymore. On March 28, 2021 10:24:51 p.m. Jason Wang wrote: 在 2021/3/27 上午7:49, Brad Smith 写道: OpenBSD added support for tap(4) 10 releases ago. Remove the special casing for older releases. Signed-off-by: Brad Smith diff --git

[PATCH] tap-bsd: Remove special casing for older OpenBSD releases

2021-03-26 Thread Brad Smith
OpenBSD added support for tap(4) 10 releases ago. Remove the special casing for older releases. Signed-off-by: Brad Smith diff --git a/net/tap-bsd.c b/net/tap-bsd.c index 77aaf674b1..59dfcdfae0 100644 --- a/net/tap-bsd.c +++ b/net/tap-bsd.c @@ -35,10 +35,6 @@ #include #endif -#if defined

Re: [PATCH] migration: Remove time_t cast for OpenBSD

2021-03-13 Thread Brad Smith
On 3/11/2021 1:39 PM, Daniel P. Berrangé wrote: On Thu, Mar 11, 2021 at 06:28:57PM +, Dr. David Alan Gilbert wrote: * Laurent Vivier (laur...@vivier.eu) wrote: Le 08/03/2021 à 12:46, Thomas Huth a écrit : On 22/02/2021 08.28, Brad Smith wrote: OpenBSD has supported 64-bit time_t across

Re: [PATCH] migration: Remove time_t cast for OpenBSD

2021-03-09 Thread Brad Smith
On 3/8/2021 6:46 AM, Thomas Huth wrote: On 22/02/2021 08.28, Brad Smith wrote: OpenBSD has supported 64-bit time_t across all archs since 5.5 released in 2014. Remove a time_t cast that is no longer necessary. Signed-off-by: Brad Smith diff --git a/migration/savevm.c b/migration/savevm.c

[PATCH] migration: Remove time_t cast for OpenBSD

2021-02-21 Thread Brad Smith
OpenBSD has supported 64-bit time_t across all archs since 5.5 released in 2014. Remove a time_t cast that is no longer necessary. Signed-off-by: Brad Smith diff --git a/migration/savevm.c b/migration/savevm.c index 52e2d72e4b..9557f85ba9 100644 --- a/migration/savevm.c +++ b/migration

[PATCH] tests/vm: update NetBSD to 9.1

2020-11-13 Thread Brad Smith
tests/vm: update NetBSD to 9.1 Signed-off-by: Brad Smith Reviewed-by: Gerd Hoffmann Tested-by: Gerd Hoffmann --- tests/vm/netbsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/vm/netbsd b/tests/vm/netbsd index 447de9747d..596717cc76 100755 --- a/tests/vm

Re: [PATCH] tests/vm: update openbsd to release 6.8

2020-11-10 Thread Brad Smith
On 11/9/2020 3:13 AM, Thomas Huth wrote: On 07/11/2020 07.07, Brad Smith wrote: ping. It's not directly my turf, but I can add it to my next testing-related pull request if nobody else picks this patch up before. Please, if you could. Thank you. Thomas On 10/27/2020 6:22 AM, Brad Smith

Re: [PATCH] tests/vm: update openbsd to release 6.8

2020-11-06 Thread Brad Smith
ping. On 10/27/2020 6:22 AM, Brad Smith wrote: On Tue, Oct 27, 2020 at 11:05:20AM +0100, Philippe Mathieu-Daud?? wrote: On 10/27/20 6:30 AM, Brad Smith wrote: tests/vm: update openbsd to release 6.8 A double dash at the end of a package name removes ambiguity when the intent is to install

Re: [PATCH] tests/vm: update openbsd to release 6.8

2020-10-27 Thread Brad Smith
On Tue, Oct 27, 2020 at 11:05:20AM +0100, Philippe Mathieu-Daud?? wrote: > On 10/27/20 6:30 AM, Brad Smith wrote: > > tests/vm: update openbsd to release 6.8 > > > > A double dash at the end of a package name removes ambiguity > > when the intent is to ins

[PATCH] tests/vm: update openbsd to release 6.8

2020-10-26 Thread Brad Smith
tests/vm: update openbsd to release 6.8 A double dash at the end of a package name removes ambiguity when the intent is to install a non-FLAVORed package. Signed-off-by: Brad Smith Reviewed-by: Gerd Hoffmann Tested-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daud?? diff --git a/tests

Re: [RFC PATCH v4 00/29] Hexagon patch series

2020-09-29 Thread Brad Smith
On 9/29/2020 1:01 PM, Philippe Mathieu-Daudé wrote: On 9/29/20 5:53 PM, Taylor Simpson wrote: -Original Message- From: Philippe Mathieu-Daudé On Behalf Of Philippe Mathieu-Daudé Sent: Tuesday, September 29, 2020 6:22 AM To: Taylor Simpson ; qemu-devel@nongnu.org Cc: a...@rev.ng;

Re: [PULL 147/150] meson: convert po/

2020-08-19 Thread Brad Smith
If you're in need of the tools then the package name needs to be gettext-tools. On August 19, 2020 4:06:32 a.m. Paolo Bonzini wrote: On 19/08/20 03:56, Brad Smith wrote: This last part is redundant. If glib2 and/or gtk+3 is installed then gettext is installed. The package name is wrong

Re: [PULL 147/150] meson: convert po/

2020-08-18 Thread Brad Smith
On 8/18/2020 10:10 AM, Paolo Bonzini wrote: From: Marc-André Lureau Meson warns if xgettext is not found. In the future we may want to add a required argument to i18n.gettext(); in the meanwhile, I am adding a --enable-gettext/--disable-gettext option and feature detection in configure.

Re: [PATCH] util: qemu_get_thread_id for OpenBSD

2020-07-15 Thread Brad Smith
. Reviewed-by: Brad Smith

Re: [PATCH] audio: Add sndio backend

2020-03-05 Thread Brad Smith
On 3/5/2020 3:50 AM, Gerd Hoffmann wrote: On Wed, Mar 04, 2020 at 07:04:07AM -0800, no-re...@patchew.org wrote: Patchew URL: https://patchew.org/QEMU/20200304145003.gb15...@humpty.home.comstyle.com/ Hi, This series seems to have some coding style problems. See output below for more

[PATCH] audio: Add sndio backend

2020-03-04 Thread Brad Smith
Add a sndio backend. sndio is the native API used by OpenBSD, although it has been ported to other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.). The C code is from Alexandre Ratchov and the rest of the bits are from me. Signed-off-by: Alexandre Ratchov Signed-off-by: Brad

Re: [PATCH] tests/vm: update openbsd to release 6.6

2019-12-19 Thread Brad Smith
ping. On 11/13/2019 10:33 PM, Brad Smith wrote: Thanks. Reviewed-by: Brad Smith On 10/18/2019 6:24 AM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann --- tests/vm/openbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index

Re: [PATCH] tests/vm: update openbsd to release 6.6

2019-11-13 Thread Brad Smith
Thanks. Reviewed-by: Brad Smith On 10/18/2019 6:24 AM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann --- tests/vm/openbsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index b92c39f89a6f..9f82cd459fde 100755 --- a/tests/vm

Re: [Qemu-devel] QEMU on OpenBSD is broken?

2019-05-18 Thread Brad Smith
I just noticed when I had replied that my e-mail was sent from a different name, by accident, as I was testing something with my e-mail client. On 5/18/2019 5:27 PM, Jim Payne wrote: On 5/16/2019 9:04 PM, Thomas Huth wrote: On 10/05/2019 12.46, Gerd Hoffmann wrote: This patch series changes

Re: [Qemu-devel] [PULL 02/29] ppc/spapr: Receive and store device tree blob from SLOF

2019-03-24 Thread Brad Smith
I filed a bug report for libfdt.. https://github.com/dgibson/dtc/issues/27 On 3/24/2019 12:03 AM, Brad Smith wrote: Now that I am checking out 4.0.0 rc's I see this diff is broken and depends on a function libfdt does not expose. The breakage is hidden by the fallback check in the configure

Re: [Qemu-devel] [PULL 02/29] ppc/spapr: Receive and store device tree blob from SLOF

2019-03-23 Thread Brad Smith
Now that I am checking out 4.0.0 rc's I see this diff is broken and depends on a function libfdt does not expose. The breakage is hidden by the fallback check in the configure script. On 1/8/2019 5:45 PM, David Gibson wrote: From: Alexey Kardashevskiy SLOF receives a device tree and updates

Re: [Qemu-devel] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the ports

2019-02-06 Thread Brad Smith
On 2/6/2019 3:25 PM, Alex Bennée wrote: Brad Smith writes: On 2/5/2019 8:57 AM, Brad Smith wrote: If someone could point me in the right direction as to how the image is created I could look at coming up with something newer. I would prefer that over some of the workarounds I've seen

Re: [Qemu-devel] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the ports

2019-02-06 Thread Brad Smith
On 2/5/2019 8:57 AM, Brad Smith wrote: If someone could point me in the right direction as to how the image is created I could look at coming up with something newer. I would prefer that over some of the workarounds I've seen to date. I started creating the image and then wondered what do I

Re: [Qemu-devel] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the ports

2019-02-05 Thread Brad Smith
On 2/5/2019 9:23 AM, Philippe Mathieu-Daudé wrote: Hi Brad, On 2/5/19 2:57 PM, Brad Smith wrote: If someone could point me in the right direction as to how the image is created I could look at coming up with something newer. I would prefer that over some of the workarounds I've seen to date

Re: [Qemu-devel] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the ports

2019-02-05 Thread Brad Smith
If someone could point me in the right direction as to how the image is created I could look at coming up with something newer. I would prefer that over some of the workarounds I've seen to date. On 2/5/2019 8:42 AM, Philippe Mathieu-Daudé wrote: Hi Peter, On 2/5/19 2:20 PM, Peter Maydell

Re: [Qemu-devel] [PULL v2 07/49] util: check the return value of fcntl in qemu_set_{block, nonblock}

2019-01-25 Thread Brad Smith
On 1/25/2019 1:53 PM, Philippe Mathieu-Daudé wrote: Hi, On 1/15/19 9:04 PM, Michael S. Tsirkin wrote: From: Li Qiang Assert that the return value is not an error. This is like commit 7e6478e7d4f for qemu_set_cloexec. Signed-off-by: Li Qiang Reviewed-by: Thomas Huth Reviewed-by: Michael

Re: [Qemu-devel] [PATCH RFC 8/9] tests: Add OpenBSD image

2019-01-25 Thread Brad Smith
On 1/25/2019 1:24 AM, Thomas Huth wrote: On 2019-01-25 01:48, Brad Smith wrote: On 1/24/2019 11:52 AM, Daniel P. Berrangé wrote: On Thu, Jan 24, 2019 at 05:10:19PM +0100, Philippe Mathieu-Daudé wrote: On 1/24/19 4:56 PM, Kamil Rytarowski wrote: On 24.01.2019 16:52, Philippe Mathieu-Daudé

Re: [Qemu-devel] [PATCH RFC 8/9] tests: Add OpenBSD image

2019-01-24 Thread Brad Smith
On 1/24/2019 11:52 AM, Daniel P. Berrangé wrote: On Thu, Jan 24, 2019 at 05:10:19PM +0100, Philippe Mathieu-Daudé wrote: On 1/24/19 4:56 PM, Kamil Rytarowski wrote: On 24.01.2019 16:52, Philippe Mathieu-Daudé wrote: On 8/16/17 9:21 AM, Fam Zheng wrote: The image is prepared following

Re: [Qemu-devel] [RFC PATCH] ui/egl: Silent '__HAIKU__ undefined' warnings on OpenBSD 6.1

2019-01-23 Thread Brad Smith
https://cgit.freedesktop.org/mesa/mesa/commit/include/EGL/eglplatform.h?id=f744c6c1e28fe363474550b94af42a8b7fc1c755 Unfortunately that issue has only been fixed very recently. There is a possibility of us updating from Mesa 17.3.9 to 18.3.x which would bring in this header fix, but I don't know

Re: [Qemu-devel] [PATCH 4/4] [RfC] audio: probe audio drivers by default

2019-01-23 Thread Brad Smith
On 1/23/2019 8:59 AM, Gerd Hoffmann wrote: Hi, What is the native sound interface for openbsd btw? oss doesn't compile (missing sys/soundcard.h header). OpenBSD uses sndio, a similar audio daemon to pulseaudio and it's enforced for all [well integrated] audio applications. Hmm. Yet

Re: [Qemu-devel] [PATCH v4] tests: vm: auto_install OpenBSD

2018-11-11 Thread Brad Smith
ping. On 10/30/2018 10:57 PM, Fam Zheng wrote: Upgrade OpenBSD to 6.4 using auto_install. Especially, drop SDL1, include SDL2. Also do the build in $HOME since both /var/tmp and /tmp are tmpfs with limited capacities. Signed-off-by: Fam Zheng --- v4: Use 6.4. [Brad] ---

Re: [Qemu-devel] [PATCH v3] oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSD

2018-11-05 Thread Brad Smith
ping. On 10/19/2018 8:52 AM, Brad Smith wrote: Use MAP_STACK in qemu_alloc_stack() on OpenBSD. Added to our 6.4 release. MAP_STACK Indicate that the mapping is used as a stack. This flag must be used in combination with MAP_ANON and MAP_PRIVATE

Re: [Qemu-devel] [PATCH v2] oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSD

2018-10-19 Thread Brad Smith
On 10/19/2018 7:55 AM, Peter Maydell wrote: On 18 October 2018 at 23:10, Brad Smith wrote: Use MAP_STACK in qemu_alloc_stack() on OpenBSD. Added to -current and will be in our soon to be 6.4 release. MAP_STACK Indicate that the mapping is used as a stack. This flag

[Qemu-devel] [PATCH v3] oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSD

2018-10-19 Thread Brad Smith
(), which zeroes the contents of the region -- there is no mprotect() equivalent operation, so there is no MAP_STACK-adding gadget. Signed-off-by: Brad Smith Reviewed-by: Kamil Rytarowski Reviewed-by: Peter Maydell diff --git a/util/oslib-posix.c b/util/oslib-posix.c index fbd0dc8c57..c1bee2a581

[Qemu-devel] [PATCH v2] oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSD

2018-10-18 Thread Brad Smith
only be set/cleared by mmap(), which zeroes the contents of the region -- there is no mprotect() equivalent operation, so there is no MAP_STACK-adding gadget. Signed-off-by: Brad Smith Reviewed-by: Kamil Rytarowski diff --git a/util/oslib-posix.c b/util/oslib-posix.c index fbd0dc8c57

  1   2   3   >