Re: [Qemu-devel] [PATCH] build: change dist target to use xz

2013-01-08 Thread Brad Smith
On Fri, Jan 04, 2013 at 08:03:05PM -0500, Brad Smith wrote: > On Fri, Jan 04, 2013 at 05:41:41PM -0700, Eric Blake wrote: > > On 01/04/2013 05:28 PM, Brad Smith wrote: > > > On Thu, Aug 02, 2012 at 06:08:15AM -0400, Brad Smith wrote: > > >> If a compression format ot

Re: [Qemu-devel] [PATCH] optionrom: build with discrete CPP and AS steps

2013-01-09 Thread Brad Smith
On Sun, Jan 06, 2013 at 10:19:56AM +, Blue Swirl wrote: > Build option ROM .S files with separate preprocessor and > assembler steps because the C compiler could be unsuitable. > > Signed-off-by: Blue Swirl Can this please be commited? > --- > configure |7 ++- > rules.mak |7 +

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Brad Smith
On Fri, Jan 11, 2013 at 07:11:36PM +0100, Paolo Bonzini wrote: > Brad and Peter, > > as far as I know OpenBSD and Linux/ARM were the main users of > coroutine-gthread. Do you think we could dump it and rely on > coroutine-sigaltstack only? The differences in signal handling of the > gthread impl

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Brad Smith
On Fri, Jan 11, 2013 at 07:24:35PM +0100, Andreas F?rber wrote: > Am 11.01.2013 19:11, schrieb Paolo Bonzini: > > Brad and Peter, > > > > as far as I know OpenBSD and Linux/ARM were the main users of > > coroutine-gthread. Do you think we could dump it and rely on > > coroutine-sigaltstack only?

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Brad Smith
On Sat, Jan 12, 2013 at 12:08:47PM +, Peter Maydell wrote: > On 12 January 2013 09:07, Brad Smith wrote: > > On Fri, Jan 11, 2013 at 07:24:35PM +0100, Andreas F?rber wrote: > >> Am 11.01.2013 19:11, schrieb Paolo Bonzini: > >> > as far as I know OpenBSD and Li

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2013-01-17 Thread Brad Smith
The other question I have is if you look at the commit I mentioned as causing the crash (at least on OpenBSD) and revert that change from either 1.3.0 or HEAD branch and build QEMU on OS X does the crashing you're experiencing go away? -- You received this bug notification because you are a membe

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2013-01-17 Thread Brad Smith
Before the patch in question was commited running QEMU 1.3.0 hosted on OpenBSD I was able to cause QEMU to crash reproducibly by just booting OpenBSD within QEMU and upon the kernel accessing the virtual disk to read the disklabel or during an install writing the disklabel. After the patch was appl

[Qemu-devel] [PATCH] Use clock_gettime() on OpenBSD

2013-03-29 Thread Brad Smith
init_get_clock() already indicates to get_clock() to utilize clock_gettime() with a monotonic clock but OpenBSD was missing from the list of OS's to use a monotonic clock on. What I don't understand is why is init_get_clock() not called anywhere? diff --git a/include/qemu/timer.h b/include/qemu/

[Qemu-devel] [PATCH] Add configure clock_gettime() monotonic time test

2013-04-02 Thread Brad Smith
Replace the hardcoded list of OS's utilizing clock_gettime() for monotonic time with a configure test. This is to fix the use of monotonic time on OpenBSD but allows for other POSIX compliant OS's such as NetBSD to also utilize clock_gettime(). Signed-off-by: Brad Smith diff --git a

Re: [Qemu-devel] [PATCH] Add configure clock_gettime() monotonic time test

2013-04-02 Thread Brad Smith
On Tue, Apr 02, 2013 at 06:45:17PM +0200, Paolo Bonzini wrote: > Il 02/04/2013 17:42, Brad Smith ha scritto: > > Replace the hardcoded list of OS's utilizing clock_gettime() for monotonic > > time with a configure test. This is to fix the use of monotonic time on > > Op

Re: [Qemu-devel] [PATCH] Add configure clock_gettime() monotonic time test

2013-04-03 Thread Brad Smith
On Wed, Apr 03, 2013 at 10:18:51AM +0200, Paolo Bonzini wrote: > Il 03/04/2013 00:52, Peter Maydell ha scritto: > > On 2 April 2013 17:45, Paolo Bonzini wrote: > >> Il 02/04/2013 17:42, Brad Smith ha scritto: > >>> Replace the hardcoded list of OS's util

Re: [Qemu-devel] [PATCH] Add configure clock_gettime() monotonic time test

2013-04-03 Thread Brad Smith
On Wed, Apr 03, 2013 at 03:22:24PM -0400, Brad Smith wrote: > On Wed, Apr 03, 2013 at 10:18:51AM +0200, Paolo Bonzini wrote: > > Il 03/04/2013 00:52, Peter Maydell ha scritto: > > > On 2 April 2013 17:45, Paolo Bonzini wrote: > > >> Il 02/04/2013 17:42, Brad Smith h

Re: [Qemu-devel] [PATCH] Add configure clock_gettime() monotonic time test

2013-04-04 Thread Brad Smith
On Wed, Apr 03, 2013 at 03:22:24PM -0400, Brad Smith wrote: > On Wed, Apr 03, 2013 at 10:18:51AM +0200, Paolo Bonzini wrote: > > Il 03/04/2013 00:52, Peter Maydell ha scritto: > > > On 2 April 2013 17:45, Paolo Bonzini wrote: > > >> Il 02/04/2013 17:42, Brad Smith h

[Qemu-devel] [PATCH] Allow clock_gettime() monotonic clock to be utilized on more OS's

2013-04-04 Thread Brad Smith
Allow the clock_gettime() code using monotonic clock to be utilized on more POSIX compliannt OS's. This started as a fix for OpenBSD which was listed in one function as part of the previous hard coded list of OS's for the functions to support but not in the other. Signed-off-by:

Re: [Qemu-devel] [PATCH v2 0/2] configure: fix coroutine backend selection logic

2013-04-05 Thread Brad Smith
On Thu, Apr 04, 2013 at 11:22:22AM +0100, Peter Maydell wrote: > Ping^2! > > PS: I note that the patches script doesn't list a patch > in the 'to:foo' list if foo was forgotten on initial send but > cc'd on subsequent pings... > > thanks > -- PMM I'd love to see this go in. This would remove the

Re: [Qemu-devel] [PATCH] Remove OSS support for OpenBSD

2013-05-24 Thread Brad Smith
On Wed, May 08, 2013 at 07:39:25AM -0400, Brad Smith wrote: > Remove the OSS support for OpenBSD. The OSS API has not been usable > for quite some time. > > Signed-off-by: Brad Smith ping. > diff --git a/audio/ossaudio.c b/audio/ossaudio.c > index 00be9c9..007c641 10

[Qemu-devel] [PATCH] Remove OSS support for OpenBSD

2013-05-24 Thread Brad Smith
Remove the OSS support for OpenBSD. The OSS API has not been usable for quite some time. Signed-off-by: Brad Smith diff --git a/audio/ossaudio.c b/audio/ossaudio.c index 00be9c9..007c641 100644 --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -25,11 +25,7 @@ #include #include #include

Re: [Qemu-devel] [PATCH] Remove OSS support for OpenBSD

2013-05-24 Thread Brad Smith
On Sat, May 25, 2013 at 12:51:23AM +0200, Laszlo Ersek wrote: > On 05/08/13 13:39, Brad Smith wrote: > > Remove the OSS support for OpenBSD. The OSS API has not been usable > > for quite some time. > > > > Signed-off-by: Brad Smith > > > > diff --gi

Re: [Qemu-devel] qemu & openpty

2013-06-05 Thread Brad Smith
On 05/06/13 6:28 AM, Michael Tokarev wrote: Hello. One of old issues with compatibility between different *Nix systems was the way how pty pairs were allocated. And qemu have a twist in #includes, depending on which platform it is run, and quite some compat cruft in qemu-char.c about this issue

Re: [Qemu-devel] qemu & openpty

2013-06-05 Thread Brad Smith
On 05/06/13 6:28 AM, Michael Tokarev wrote: Hello. One of old issues with compatibility between different *Nix systems was the way how pty pairs were allocated. And qemu have a twist in #includes, depending on which platform it is run, and quite some compat cruft in qemu-char.c about this issue

Re: [Qemu-devel] qemu & openpty

2013-06-05 Thread Brad Smith
On 05/06/13 6:28 AM, Michael Tokarev wrote: Hello. One of old issues with compatibility between different *Nix systems was the way how pty pairs were allocated. And qemu have a twist in #includes, depending on which platform it is run, and quite some compat cruft in qemu-char.c about this issue

Re: [Qemu-devel] [RFC] Policy for supported hosts/platforms

2013-06-05 Thread Brad Smith
On 05/06/13 10:04 AM, Anthony Liguori wrote: Hi, Below is the coverage we currently have in buildbot. It's not terribly complete but I suspect it does reflect what people are actually testing and care about. In terms of policy, we should consider buildbot coverage as a requirement for a platf

Re: [Qemu-devel] [Qemu-stable] [PATCH for 1.5] ui/gtk.c: Fix *BSD build of Gtk+ UI

2013-06-05 Thread Brad Smith
On 25/05/13 5:14 AM, Michael Tokarev wrote: 24.05.2013 22:47, Brad Smith wrote: +++ b/include/qemu-common.h #elif defined CONFIG_BSD +# include Kinda late nit picking about it now. It's not. And it's not nitpicking really, we're carrying a ton of unnecessary #includes w

Re: [Qemu-devel] kFreeBSD and USB support

2013-06-05 Thread Brad Smith
On 05/06/13 4:34 PM, Ed Maste wrote: On 5 June 2013 16:17, Michael Tokarev wrote: Hello. On debian we, for a long time, used the following hack in a build script of qemu: # Hack alert. qemu-1.3 still needs this. # On recent kFreebsd, old USB host API has been removed, # but qemu did not lear

Re: [Qemu-devel] [PATCH v2] create qemu_openpty_raw() helper function and move it to a separate file

2013-06-07 Thread Brad Smith
headers out of qemu-common.h, which isn't a place for such specific headers really. Signed-off-by: Michael Tokarev --- Changes since v1: - added a forgotten #include for *BSD, which was recently added into qemu-common.h by Brad Smith, and which I intended to use in qemu-openpty.c too

Re: [Qemu-devel] [PATCH v2] create qemu_openpty_raw() helper function and move it to a separate file

2013-06-12 Thread Brad Smith
, and other rather specific system headers out of qemu-common.h, which isn't a place for such specific headers really. So guys/gals what do you think of this? It builds on OpenBSD and FreeBSD as verified by Brad Smith and me, and it builds on Linux. And it is trivial enough for qemu-tr

Re: [Qemu-devel] solaris x86 in qemu?

2013-06-13 Thread Brad Smith
On 13/06/13 3:51 AM, Michael Tokarev wrote: I think that supporting solaris as _guest_ OS is an important goal for qemu/kvm (as opposed to _host_). IMO both are important goals. I don't think it would be that big of a deal to find one or two people to provide Solaris x64 10 and/or 11.1 builds

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2013-06-30 Thread Brad Smith
Any OS X and NetBSD users still affected by this issue should test this patch.. http://lists.nongnu.org/archive/html/qemu-devel/2013-06/msg05335.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/108

Re: [Qemu-devel] Buildbot Failures

2013-09-12 Thread Brad Smith
On 29/08/13 5:57 AM, Charlie Shepherd wrote: Hi all, This is an attempt to do some triaging of the 18 current buildbot failures[1]. default_openbsd_current (offline): http://buildbot.b1-systems.de/qemu/builders/default_openbsd_current/builds/509/steps/compile/logs/stdio ASoptionrom/mu

Re: [Qemu-devel] [PATCH] Ensure PCIR is aligned to 4 bytes

2013-09-12 Thread Brad Smith
On 20/01/13 1:12 PM, David Woodhouse wrote: The PCI Firmware Specification apparently requires that the PCI Data Structure be DWORD-aligned. The implementation in OVMF also requires this, so vgabios ROMs don't work there. With this fixed, I can now initialise the VGA ROM from EFI, and EFI can dis

Re: [Qemu-devel] [PATCH] Ensure PCIR is aligned to 4 bytes

2013-09-20 Thread Brad Smith
On 19/09/13 12:53 PM, Sebastian Herbszt wrote: Brad Smith wrote: On 20/01/13 1:12 PM, David Woodhouse wrote: The PCI Firmware Specification apparently requires that the PCI Data Structure be DWORD-aligned. The implementation in OVMF also requires this, so vgabios ROMs don't work there.

Re: [Qemu-devel] [PATCH] Ensure PCIR is aligned to 4 bytes

2013-09-25 Thread Brad Smith
On 21/09/13 12:38 PM, Sebastian Herbszt wrote: Brad Smith wrote: On 19/09/13 12:53 PM, Sebastian Herbszt wrote: Brad Smith wrote: On 20/01/13 1:12 PM, David Woodhouse wrote: The PCI Firmware Specification apparently requires that the PCI Data Structure be DWORD-aligned. The implementation in

Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-29 Thread Brad Smith
On 20/11/11 12:34 PM, Blue Swirl wrote: On Sun, Nov 20, 2011 at 09:11, Avi Kivity wrote: On 11/15/2011 08:12 PM, Avi Kivity wrote: Change the default on x86 Linux hosts to building PIE (position independent executables); instead of restricting the option to user-only targets, apply it to all t

[Qemu-devel] [Bug 902720] [NEW] TIME_MAX not set correctly for OpenBSD in qemu-common.h

2011-12-10 Thread Brad Smith
Public bug reported: Looking at the OpenBSD buildbot logs I noticed a warning that appears to be a bug in the code. OpenBSD has a 32-bit time_t on all archs at the moment (32-bit and 64-bit). CCi386-softmmu/monitor.o /buildbot-qemu/default_openbsd_current/build/monitor.c: In function 'exp

[Qemu-devel] [PATCH] build: change dist target to use xz

2012-08-03 Thread Brad Smith
If a compression format other than gzip is used we might as well move to xz instead of bzip2. 11.0M qemu-1.1.1-1.tar.gz 9.2M qemu-1.1.1-1.tar.bz2 7.3M qemu-1.1.1-1.tar.xz --- Makefile |6 +++--- scripts/make-release |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) d

[Qemu-devel] newer system features ACPI, MSI?

2006-03-05 Thread Brad Smith
I'm looking at QEMU to help develop some device drivers and a couple of new features would be really useful. First is bios support for ACPI so we can run Windows Vista/Longhorn in QEMU. Second is PCI Message Signaled Interrupts (MSI) supported in modern Intel CPUs. Is there an effort to add thes

[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 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 -fzero-call-used

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: Thomas

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 me

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, D

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'

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

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 is

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 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 fi

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 cur

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 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 re

[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] 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'

[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] 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: [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

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

[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

[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] 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

[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

[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

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

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

[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] 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

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] util: fix building on OpenBSD/powerpc

2024-06-22 Thread Brad Smith
util: fix building on OpenBSD/powerpc Signed-off-by: Brad Smith --- util/cpuinfo-ppc.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/util/cpuinfo-ppc.c b/util/cpuinfo-ppc.c index b2d8893a06..d459c9c87e 100644 --- a/util/cpuinfo-ppc.c +++ b/util

[PATCH] util/cpuinfo-aarch64: Add OpenBSD support

2024-06-22 Thread Brad Smith
util/cpuinfo-aarch64: Add OpenBSD support Signed-off-by: Brad Smith --- util/cpuinfo-aarch64.c | 32 1 file changed, 32 insertions(+) diff --git a/util/cpuinfo-aarch64.c b/util/cpuinfo-aarch64.c index 4c8a005715..8a8c0a30a8 100644 --- a/util/cpuinfo-aarch64.c

Re: [PATCH] util/cpuinfo-aarch64: Add OpenBSD support

2024-06-25 Thread Brad Smith
On 2024-06-23 6:08 p.m., Richard Henderson wrote: On 6/23/24 10:55, Richard Henderson wrote: On 6/22/24 19:12, Brad Smith wrote: +    if (sysctl(mib, 2, &isar0, &len, NULL, 0) != -1) { +  if (ID_AA64ISAR0_ATOMIC(isar0) >= ID_AA64ISAR0_ATOMIC_IMPL) +    info |= CPUINFO_LSE

Re: [PATCH] util: fix building on OpenBSD/powerpc

2024-06-25 Thread Brad Smith
On 2024-06-23 6:03 p.m., Richard Henderson wrote: On 6/23/24 10:53, Richard Henderson wrote: On 6/22/24 19:03, Brad Smith wrote: util: fix building on OpenBSD/powerpc Signed-off-by: Brad Smith ---   util/cpuinfo-ppc.c | 20   1 file changed, 12 insertions(+), 8 deletions

[PATCH] tcg/riscv: Fix building on OpenBSD/riscv64

2024-06-26 Thread Brad Smith
tcg/riscv: Fix building on OpenBSD/riscv64 Signed-off-by: Brad Smith --- tcg/riscv/tcg-target.c.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/tcg/riscv/tcg-target.c.inc b/tcg/riscv/tcg-target.c.inc index 639363039b..aeae9a8ad8 100644 --- a/tcg/riscv/tcg-target.c.inc +++ b/tcg

[PATCH v2] util: fix building on OpenBSD/powerpc

2024-06-26 Thread Brad Smith
util: fix building on OpenBSD/powerpc Signed-off-by: Brad Smith --- v2: Keep headers in the same order as they originally were. util/cpuinfo-ppc.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/util/cpuinfo-ppc.c b/util/cpuinfo-ppc.c index b2d8893a06

[PATCH] tcg/riscv: Fix building on OpenBSD/riscv64

2024-06-26 Thread Brad Smith
tcg/riscv: Fix building on OpenBSD/riscv64 Use ucontext_t/struct sigcontext member name from machine/signal.h instead of Linux specific name. Signed-off-by: Brad Smith --- tcg/riscv/tcg-target.c.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/tcg/riscv/tcg-target.c.inc b/tcg/riscv

[PATCH] util/cpuinfo-ppc: Add FreeBSD support

2024-06-27 Thread Brad Smith
util/cpuinfo-ppc: Add FreeBSD support Signed-off-by: default avatarBrad Smith --- util/cpuinfo-ppc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/cpuinfo-ppc.c b/util/cpuinfo-ppc.c index 47af55aa0c..0ad634b46f 100644 --- a/util/cpuinfo-ppc.c +++ b/util/cpuinfo-p

[PATCH] util/cpuinfo-ppc: Add FreeBSD support

2024-06-27 Thread Brad Smith
util/cpuinfo-ppc: Add FreeBSD support Signed-off-by: Brad Smith --- With corrected sign-off. Also this was based on the tcg-next branch. util/cpuinfo-ppc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/cpuinfo-ppc.c b/util/cpuinfo-ppc.c index 47af55aa0c

Re: [PATCH] util/cpuinfo-ppc: Add FreeBSD support

2024-06-28 Thread Brad Smith
On 2024-06-28 12:19 p.m., Richard Henderson wrote: On 6/27/24 19:00, Brad Smith wrote: util/cpuinfo-ppc: Add FreeBSD support Signed-off-by: Brad Smith --- With corrected sign-off. Also this was based on the tcg-next branch.   util/cpuinfo-ppc.c | 7 ++-   1 file changed, 6 insertions

[PATCH v2] util/cpuinfo-ppc: Add FreeBSD support

2024-06-28 Thread Brad Smith
util/cpuinfo-ppc: Add FreeBSD support Signed-off-by: Brad Smith --- v2: Use ifndef with PPC_FEATURE2_ARCH_3_1 util/cpuinfo-ppc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/util/cpuinfo-ppc.c b/util/cpuinfo-ppc.c index 47af55aa0c..f0b9b895f1 100644 --- a/util

Re: [PATCH] tests/functional/qemu_test: Use Python hashlib instead of external programs

2024-09-10 Thread Brad Smith
On 2024-09-10 4:17 p.m., Thomas Huth wrote: Some systems (like OpenBSD) do not have the sha256sum or sha512sum programs installed by default. Use the Python hashlib instead so we don't have to rely on the external programs. On OpenBSD they're named sha256 and sha512. Reported-by: Peter Maydel

Re: [PATCH] tests/functional/qemu_test: Use Python hashlib instead of external programs

2024-09-13 Thread Brad Smith
On 2024-09-10 10:06 p.m., Brian Cain wrote: On 9/10/2024 5:26 PM, Brad Smith wrote: On 2024-09-10 4:17 p.m., Thomas Huth wrote: Some systems (like OpenBSD) do not have the sha256sum or sha512sum programs installed by default. Use the Python hashlib instead so we don't have to rely o

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] 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

[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: update openbsd to release 7.0

2021-10-17 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

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: [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

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 d

[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 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

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 Ra

[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 +- .../dockerfiles/de

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

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

[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 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-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 rel

[Qemu-devel] [PATCH v2] tap-bsd: OpenBSD uses tap(4) now

2016-10-06 Thread Brad Smith
Update the tap-bsd code now that OpenBSD uses tap(4). Signed-off-by: Brad Smith --- v2: Allow the code to deal with newer vs older OpenBSD releases diff --git a/net/tap-bsd.c b/net/tap-bsd.c index c506ac3..6c96922 100644 --- a/net/tap-bsd.c +++ b/net/tap-bsd.c @@ -35,6 +35,10 @@ #include

Re: [Qemu-devel] [PATCH v2] tap-bsd: OpenBSD uses tap(4) now

2016-10-15 Thread Brad Smith
On 10/06/16 21:28, Brad Smith wrote: Update the tap-bsd code now that OpenBSD uses tap(4). Signed-off-by: Brad Smith --- v2: Allow the code to deal with newer vs older OpenBSD releases ping. diff --git a/net/tap-bsd.c b/net/tap-bsd.c index c506ac3..6c96922 100644 --- a/net/tap-bsd.c +++ b

Re: [Qemu-devel] R: [PATCH v2] Unbreak FreeBSD build after optionrom update.

2016-08-06 Thread Brad Smith
On 08/01/16 06:47, Paolo Bonzini wrote: On 26/07/2016 23:07, Sean Bruno wrote: Thanks for the pointer to the right fix. Confirmed that your changes DTRT for FreeBSD. I still need the LD_EMULATION addition, which I have sent to the list as a separate patch for review. Great, thanks! Paolo

Re: [Qemu-devel] [PULL 1/1] Add optionrom compatible with fw_cfg DMA version

2016-08-06 Thread Brad Smith
On 07/14/16 09:52, Paolo Bonzini wrote: diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index 2cdda87..d88ce11 100644 --- a/pc-bios/optionrom/Makefile +++ b/pc-bios/optionrom/Makefile @@ -9,22 +9,46 @@ $(call set-vpath, $(SRC_PATH)/pc-bios/optionrom) .PHONY : all clean buil

Re: [Qemu-devel] [PULL 1/1] Add optionrom compatible with fw_cfg DMA version

2016-08-10 Thread Brad Smith
On 08/08/16 04:50, Paolo Bonzini wrote: On 07/08/2016 01:53, Brad Smith wrote: On 07/14/16 09:52, Paolo Bonzini wrote: diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index 2cdda87..d88ce11 100644 --- a/pc-bios/optionrom/Makefile +++ b/pc-bios/optionrom/Makefile @@ -9,22

Re: [Qemu-devel] [PATCH for-2.7] pc-bios/optionrom: Fix OpenBSD build with better detection of linker emulation

2016-08-10 Thread Brad Smith
On 08/08/16 12:11, Peter Maydell wrote: The various host OSes are irritatingly variable about the name of the linker emulation we need to pass to ld's -m option to build the i386 option ROMs. Instead of doing this via a CONFIG ifdef, check in configure whether any of the emulation names we know a

<    1   2   3   >