Re: [Qemu-devel] [PATCH v3] Support for UDP unicast network backend

2012-01-06 Thread Kamil Rytarowski
W dniu 29.11.2011 20:55, Benjamin pisze: Signed-off-by: Benjamin --- net.c |6 - net/socket.c| 73 +- qemu-options.hx |2 + 3 files changed, 78 insertions(+), 3 deletions(-) diff --git a/net.c b/net.c index cb52

[Qemu-devel] UDP patch request

2011-11-20 Thread Kamil Rytarowski
Hello! As a user (not a developer) of GNS3 I ask you to include the patch for UDP. VirtualBox has included it, so it's time for QEMU now. There was discussion about it (p.ex http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg00787.html ) I wish I had it finally for Qemu 1.0. It makes p

Re: [Qemu-devel] Update *BSD images with gnu-sed and bash

2019-05-08 Thread Kamil Rytarowski
On 06.05.2019 12:12, Thomas Huth wrote: > On 26/04/2019 18.43, Laszlo Ersek wrote: >> On 04/25/19 08:00, Thomas Huth wrote: >>> On 24/04/2019 23.29, Wainer dos Santos Moschetta wrote: Hello Thomas, On 04/24/2019 07:37 AM, Thomas Huth wrote: > We are going to enable the qemu-iotes

Re: [Qemu-devel] Update *BSD images with gnu-sed and bash

2019-05-08 Thread Kamil Rytarowski
On 08.05.2019 10:07, Thomas Huth wrote: > On 08/05/2019 09.06, Kamil Rytarowski wrote: >> On 06.05.2019 12:12, Thomas Huth wrote: > [...] >>> Kamil, >>> >>> could you maybe help with the NetBSD image and the tests/vm/netbsd script? >>> >&g

Re: [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using serial console

2019-05-08 Thread Kamil Rytarowski
On 08.05.2019 10:56, Gerd Hoffmann wrote: > Instead of fetching the prebuilt image from patchew download the install > iso and prepare the image locally. Install to disk, using the serial > console. Create qemu user, configure ssh login. Install packages > needed for qemu builds. > I recommend

Re: [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using serial console

2019-05-09 Thread Kamil Rytarowski
On 09.05.2019 08:47, Gerd Hoffmann wrote: > Hi, > >> I recommend to add one extra step into generated image: >> >> echo security.pax.mprotect.enabled=0 >> /etc/sysctl.conf > > Done. > Thanks! Once there will be PaX MPROTECT support in qemu, we can and should drop it. >> Alternatively (and pr

Re: [Qemu-devel] [PATCH 00/13] tests/vm: serial console autoinstall, misc fixes.

2019-05-09 Thread Kamil Rytarowski
On 08.05.2019 10:56, Gerd Hoffmann wrote: > This patch series changes the way virtual machines for test builds are > managed. They are created locally on the developer machine now. The > installer is booted on the serial console and the scripts walks through > the dialogs to install and configure

Re: [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using serial console

2019-05-09 Thread Kamil Rytarowski
On 09.05.2019 18:39, Richard Henderson wrote: > On 5/8/19 11:47 PM, Gerd Hoffmann wrote: >> So, from looking at the patch it seems you need two mappings of the same >> page, one writable and one executable. >> >> Or, maybe it is also possible with one mapping which is writable first >> when you fil

Re: [Qemu-devel] [PATCH 00/13] tests/vm: serial console autoinstall, misc fixes.

2019-05-09 Thread Kamil Rytarowski
On 09.05.2019 15:57, Thomas Huth wrote: > On 09/05/2019 15.50, Gerd Hoffmann wrote: >> Hi, >> Do we have accelerator support for the BSDs? A "make check" for a full build takes ages, and I suspect tcg being used is part of the problem. I did my tests using "TARGET_LIST=x86_64-soft

Re: [Qemu-devel] [PATCH v3 00/14] tests/vm: serial console autoinstall, misc fixes.

2019-06-12 Thread Kamil Rytarowski
On 12.06.2019 19:35, Alex Bennée wrote: > > Alex Bennée writes: > >> Gerd Hoffmann writes: >> >>> This patch series changes the way virtual machines for test builds are >>> managed. They are created locally on the developer machine now. The >>> installer is booted on the serial console and th

Re: Python 2 and test/vm/netbsd

2019-10-16 Thread Kamil Rytarowski
On 16.10.2019 08:11, Thomas Huth wrote: On 16/10/2019 05.00, Eduardo Habkost wrote: On Tue, Sep 17, 2019 at 08:31:40PM -0300, Eduardo Habkost wrote: On Mon, Jul 01, 2019 at 07:25:27PM -0300, Eduardo Habkost wrote: On Mon, Jun 10, 2019 at 01:58:50PM +0100, Peter Maydell wrote: [...] The confi

Re: [PATCH v2] Do not use %m in common code to print error messages

2019-10-18 Thread Kamil Rytarowski
On 18.10.2019 15:42, Stefano Garzarella wrote: > On Fri, Oct 18, 2019 at 03:07:16PM +0200, Thomas Huth wrote: >> The %m format specifier is an extension from glibc - and when compiling >> QEMU for NetBSD, the compiler correctly complains, e.g.: >> >> /home/qemu/qemu-test.ELjfrQ/src/util/main-loop.c

Re: [PATCH v5 0/3] tests/vm: netbsd autoinstall, with IPv6 disabled

2019-10-21 Thread Kamil Rytarowski
On 21.10.2019 15:47, Alex Bennée wrote: > > Eduardo Habkost writes: > >> I'm numbering this series v5 because it's a new version of the >> patch sent by Gerd, at: >> >> Date: Mon, 17 Jun 2019 06:38:56 +0200 >> Message-Id: <20190617043858.8290-10-kra...@redhat.com> >> Subject: [PATCH v4 09/11

Re: Python 2 and test/vm/netbsd

2019-10-22 Thread Kamil Rytarowski
On 22.10.2019 15:16, Samuel Thibault wrote: > Eduardo Habkost, le ven. 18 oct. 2019 13:41:43 -0300, a ecrit: >> On Fri, Oct 18, 2019 at 06:00:19PM +0200, Samuel Thibault wrote: >>> It was implemented at the time of introduction of IPv6 in SLIRP. Perhaps >>> NetBSD has a slightly different behavior

Re: [PATCH v4 0/4] Implements the NetBSD Virtual Machine Monitor accelerator

2020-02-17 Thread Kamil Rytarowski
Ping? On 06.02.2020 22:32, Kamil Rytarowski wrote: > Hello QEMU Community! > > Over the past year the NetBSD team has been working hard on a new user-mode > API > for our hypervisor that will be released as part of the upcoming NetBSD 9.0. > This new API adds user-mode capabili

Re: [PATCH v2 3/4] Introduce the NVMM impl

2020-02-05 Thread Kamil Rytarowski
On 03.02.2020 12:51, Philippe Mathieu-Daudé wrote: > Except the XXX comments, LGTM but I'm not a X86 guy. > > These comments were old and I will drop them and resubmit.

Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments

2020-02-06 Thread Kamil Rytarowski
On 03.02.2020 12:54, Philippe Mathieu-Daudé wrote: >> @@ -2029,6 +2072,19 @@ static void qemu_whpx_start_vcpu(CPUState *cpu) >>   #endif >>   } >> >> +static void qemu_nvmm_start_vcpu(CPUState *cpu) >> +{ >> +    char thread_name[VCPU_THREAD_NAME_SIZE]; >> + >> +    cpu->thread = g_malloc0(sizeof(Q

[PATCH v3 0/4] Implements the NetBSD Virtual Machine Monitor accelerator

2020-02-06 Thread Kamil Rytarowski
Hello QEMU Community! Over the past year the NetBSD team has been working hard on a new user-mode API for our hypervisor that will be released as part of the upcoming NetBSD 9.0. This new API adds user-mode capabilities to create and manage virtual machines, configure memory mappings for guest mac

[PATCH v3 1/4] Add the NVMM vcpu API

2020-02-06 Thread Kamil Rytarowski
From: Maxime Villard Adds support for the NetBSD Virtual Machine Monitor (NVMM) stubs and introduces the nvmm.h sysemu API for managing the vcpu scheduling and management. Signed-off-by: Maxime Villard Signed-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Reviewed-by: Philippe Mathieu

[PATCH v3 2/4] Add the NetBSD Virtual Machine Monitor accelerator.

2020-02-06 Thread Kamil Rytarowski
From: Maxime Villard Introduces the configure support for the new NetBSD Virtual Machine Monitor that allows for hypervisor acceleration from usermode components on the NetBSD platform. Signed-off-by: Maxime Villard Signed-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Reviewed-by

[PATCH v3 4/4] Add the NVMM acceleration enlightenments

2020-02-06 Thread Kamil Rytarowski
From: Maxime Villard Implements the NVMM accelerator cpu enlightenments to actually use the nvmm-all accelerator on NetBSD platforms. Signed-off-by: Maxime Villard Signed-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Reviewed-by: Philippe Mathieu-Daudé --- cpus.c

[PATCH v3 3/4] Introduce the NVMM impl

2020-02-06 Thread Kamil Rytarowski
igned-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez --- target/i386/Makefile.objs |1 + target/i386/nvmm-all.c| 1221 + 2 files changed, 1222 insertions(+) create mode 100644 target/i386/nvmm-all.c diff --git a/target/i386/Makefile.objs b/target

Re: [PATCH v3 0/4] Implements the NetBSD Virtual Machine Monitor accelerator

2020-02-06 Thread Kamil Rytarowski
Am I supposed to do something with this or is this an issue in a script? On 06.02.2020 14:13, no-re...@patchew.org wrote: > Patchew URL: https://patchew.org/QEMU/20200206115731.13552-1-...@gmx.com/ > > > > Hi, > > This series seems to have some coding style problems. See output below for > more in

Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments

2020-02-06 Thread Kamil Rytarowski
On 06.02.2020 14:09, Philippe Mathieu-Daudé wrote: > On Thu, Feb 6, 2020 at 2:06 PM Markus Armbruster wrote: >> Kamil Rytarowski writes: >> >>> On 03.02.2020 12:54, Philippe Mathieu-Daudé wrote: >>>>> @@ -2029,6 +2072,19 @@ static void qemu_whpx_s

Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments

2020-02-06 Thread Kamil Rytarowski
On 06.02.2020 15:13, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> On 06.02.2020 14:09, Philippe Mathieu-Daudé wrote: >>> On Thu, Feb 6, 2020 at 2:06 PM Markus Armbruster wrote: >>>> Kamil Rytarowski writes: >>>> >>&g

Re: [PATCH v2 4/4] Add the NVMM acceleration enlightenments

2020-02-06 Thread Kamil Rytarowski
On 06.02.2020 17:07, Philippe Mathieu-Daudé wrote: > On 2/6/20 4:38 PM, Kamil Rytarowski wrote: >> On 06.02.2020 15:13, Markus Armbruster wrote: >>> Kamil Rytarowski writes: >>> >>>> On 06.02.2020 14:09, Philippe Mathieu-Daudé wrote: >>>>

[PATCH v4 1/4] Add the NVMM vcpu API

2020-02-06 Thread Kamil Rytarowski
From: Maxime Villard Adds support for the NetBSD Virtual Machine Monitor (NVMM) stubs and introduces the nvmm.h sysemu API for managing the vcpu scheduling and management. Signed-off-by: Maxime Villard Signed-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Reviewed-by: Philippe Mathieu

[PATCH v4 0/4] Implements the NetBSD Virtual Machine Monitor accelerator

2020-02-06 Thread Kamil Rytarowski
Hello QEMU Community! Over the past year the NetBSD team has been working hard on a new user-mode API for our hypervisor that will be released as part of the upcoming NetBSD 9.0. This new API adds user-mode capabilities to create and manage virtual machines, configure memory mappings for guest mac

[PATCH v4 2/4] Add the NetBSD Virtual Machine Monitor accelerator.

2020-02-06 Thread Kamil Rytarowski
From: Maxime Villard Introduces the configure support for the new NetBSD Virtual Machine Monitor that allows for hypervisor acceleration from usermode components on the NetBSD platform. Signed-off-by: Maxime Villard Signed-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Reviewed-by

[PATCH v4 4/4] Add the NVMM acceleration enlightenments

2020-02-06 Thread Kamil Rytarowski
From: Maxime Villard Implements the NVMM accelerator cpu enlightenments to actually use the nvmm-all accelerator on NetBSD platforms. Signed-off-by: Maxime Villard Signed-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Reviewed-by: Philippe Mathieu-Daudé Tested-by: Jared McNeill

[PATCH v4 3/4] Introduce the NVMM impl

2020-02-06 Thread Kamil Rytarowski
igned-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Tested-by: Jared McNeill --- target/i386/Makefile.objs |1 + target/i386/nvmm-all.c| 1226 + 2 files changed, 1227 insertions(+) create mode 100644 target/i386/nvmm-all.c diff --git a/target

[PATCH v4 3/4 FIXUP] Introduce the NVMM impl

2020-02-06 Thread Kamil Rytarowski
igned-off-by: Kamil Rytarowski Reviewed-by: Sergio Lopez Tested-by: Jared McNeill --- target/i386/Makefile.objs |1 + target/i386/nvmm-all.c| 1226 + 2 files changed, 1227 insertions(+) create mode 100644 target/i386/nvmm-all.c diff --git a/target

Re: [PATCH] tests/acceptance/ppc_prep_40p: Do not run NetBSD test by default

2020-02-11 Thread Kamil Rytarowski
Please use cdn.netbsd.org always. On 11.02.2020 14:19, Philippe Mathieu-Daudé wrote: > The ftp.netbsd.org server is slow and downloading the NetBSD ISO > takes too long. Do not include this test in the default suite. > > Similarly to commit 471c97a69b: > > Currently the Avocado framework does

Re: [PATCH v6 12/40] accel/nvmm: Implement AccelOpsClass::has_work()

2021-09-27 Thread Kamil Rytarowski
On 24.09.2021 11:38, Philippe Mathieu-Daudé wrote: > Since there is no specific NVMM handling for cpu_has_work() in > cpu_thread_is_idle(), implement NVMM has_work() handler as a > simple 'return false' code. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Kamil Ry

Re: [PATCH] nvmm: Fix support for stable version

2021-11-02 Thread Kamil Rytarowski
Reviewed-by: Kamil Rytarowski Paolo, could you please merge it? On 13.10.2021 15:54, nia wrote: > NVMM user version 1 is the version being shipped with netbsd-9, > which is the most recent stable branch of NetBSD. This makes it > possible to use the NVMM accelerator on the most rece

Re: [Qemu-devel] DragonFly BSD support

2017-06-14 Thread Kamil Rytarowski
On 14.06.2017 12:55, Antonio Huete Jiménez wrote: > > Hi all, > > According to 2.9 changelog page, DragonFly BSD will be listed as > unsupported with the possibility of dropping support completely in the > future: > > http://wiki.qemu.org/ChangeLog/2.9 > > I'd like to volunteer so that qemu can

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-06-19 Thread Kamil Rytarowski
On 19.06.2017 09:42, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> On 10.06.2017 17:15, Markus Armbruster wrote: >>> Kamil Rytarowski writes: >>> >>>> On 06.06.2017 16:56, Kamil Rytarowski wrote: >>>>> On 06.06.2017 16:34, P

[Qemu-devel] NetBSD maintenance

2017-04-22 Thread Kamil Rytarowski
Hello, I noted a call for NetBSD maintainers in the 2.9.0 release notes. I'm willing to attach a NetBSD machine to CI cluster and volunteer basic maintenance. I'm mostly interested in NetBSD as host & as guest as this is my daily and work driver on my desktop and development machines. If I under

Re: [Qemu-devel] NetBSD maintenance

2017-04-23 Thread Kamil Rytarowski
On 23.04.2017 12:19, Peter Maydell wrote: > On 23 April 2017 at 00:27, Kamil Rytarowski wrote: >> I noted a call for NetBSD maintainers in the 2.9.0 release notes. >> >> I'm willing to attach a NetBSD machine to CI cluster and volunteer basic >> maintenance. I&

Re: [Qemu-devel] NetBSD maintenance

2017-04-24 Thread Kamil Rytarowski
On 24.04.2017 09:26, Fam Zheng wrote: > On Mon, 04/24 00:45, Kamil Rytarowski wrote: >> I will have a look and try to build qemu from git (master branch). >> >> I also find it surprising that there was a call for CI machines and >> there is no infrastructure for it. &g

Re: [Qemu-devel] [PATCH] configure: Define NCURSES_WIDECHAR if we're using curses

2017-06-03 Thread Kamil Rytarowski
On 02.06.2017 23:58, Laszlo Ersek wrote: > On 06/02/17 16:35, Peter Maydell wrote: >> We want the wide character functions from the ncurses header. >> Unfortunately it doesn't provide them by default, but only >> if either: >> * NCURSES_WIDECHAR is defined (for ncurses 20111030 and up) >> * _XOPE

Re: [Qemu-devel] [PATCH] configure: Define NCURSES_WIDECHAR if we're using curses

2017-06-03 Thread Kamil Rytarowski
On 03.06.2017 12:13, Rainer Müller wrote: > On 2017-06-02 16:35, Peter Maydell wrote: >> diff --git a/configure b/configure >> index 0586ec9..6aca5d1 100755 >> --- a/configure >> +++ b/configure >> @@ -3053,6 +3053,8 @@ int main(void) { >> EOF >>IFS=: >>for curses_inc in $curses_inc_list;

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-06-05 Thread Kamil Rytarowski
On 05.06.2017 16:29, Michael Tokarev wrote: > 31.05.2017 15:00, Kamil Rytarowski wrote: >> Currently ivshmem requires eventfd() which is Linux specific. >> Do not and build it unconditionally on every Linux/BSD/Solaris. >> >> This patch indirectly fixes build failure o

Re: [Qemu-devel] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-06-06 Thread Kamil Rytarowski
On 06.06.2017 09:10, Michael Tokarev wrote: > 06.06.2017 09:54, Markus Armbruster wrote: > > [ ./configure --disable-linux-user --disable-system --static ] > >> I haven't, but here's a quick guess on what we need to squash into the >> patch: >> >> diff --git a/Makefile b/Makefile >> index c830d7a

Re: [Qemu-devel] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-06-06 Thread Kamil Rytarowski
On 06.06.2017 16:34, Peter Maydell wrote: > On 6 June 2017 at 14:38, Kamil Rytarowski wrote: >> I've linked qemu with the original patch and: >> ./configure --disable-linux-user --disable-system --static >> >> I got some warnings, I think they are originated from

Re: [Qemu-devel] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-06-10 Thread Kamil Rytarowski
On 06.06.2017 16:56, Kamil Rytarowski wrote: > On 06.06.2017 16:34, Peter Maydell wrote: >> On 6 June 2017 at 14:38, Kamil Rytarowski wrote: >>> I've linked qemu with the original patch and: >>> ./configure --disable-linux-user --disable-system --static >>&

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-06-10 Thread Kamil Rytarowski
On 10.06.2017 17:15, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> On 06.06.2017 16:56, Kamil Rytarowski wrote: >>> On 06.06.2017 16:34, Peter Maydell wrote: >>>> On 6 June 2017 at 14:38, Kamil Rytarowski wrote: >>>>> I've linke

Re: [Qemu-devel] Emulation without RWX

2017-06-13 Thread Kamil Rytarowski
On 13.06.2017 14:44, Peter Maydell wrote: > On 13 June 2017 at 12:54, Antonio Groza wrote: >> Hello, i am trying to emulate x86 on a platform that won't allow me to map >> memory pages as RWX(Apple's iOS) and i was wondering if there was any way >> of running qemu without doing that. I've had a br

Re: [Qemu-devel] [PATCH] configure: Detect native NetBSD curses(3)

2017-05-05 Thread Kamil Rytarowski
x1 ping On 26.04.2017 12:50, Kamil Rytarowski wrote: > NetBSD ships with traditional BSD curses with compatibility with ncurses. > qemu works nicely with the basesystem version of curses(3) from NetBSD. > > The only mismatch between curses(3) and ncurses is the lack of > curses_v

[Qemu-devel] [PATCH] ivshmem-server: Detect and use if there is required -lrt linking

2017-05-12 Thread Kamil Rytarowski
build issue on NetBSD. Signed-off-by: Kamil Rytarowski --- Makefile | 1 + configure | 20 2 files changed, 21 insertions(+) diff --git a/Makefile b/Makefile index 31d41a7eae..3248cb53d7 100644 --- a/Makefile +++ b/Makefile @@ -473,6 +473,7 @@ ivshmem-client$(EXESUF

[Qemu-devel] [PATCH] libvixl: Correct ordering of includes and fix NetBSD build

2017-05-12 Thread Kamil Rytarowski
failures on NetBSD. Signed-off-by: Kamil Rytarowski --- disas/libvixl/vixl/a64/disasm-a64.cc | 2 +- disas/libvixl/vixl/utils.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/disas/libvixl/vixl/a64/disasm-a64.cc b/disas/libvixl/vixl/a64/disasm-a64.cc index

[Qemu-devel] [PATCH] maintainers: Add myself as a NetBSD reviewer

2017-05-12 Thread Kamil Rytarowski
I volunteer to review NetBSD patches. Adding myself will help to not miss some of them. Restore NetBSD as a maintained host. All patches to make qemu/pkgsrc building have been emitted to review. Signed-off-by: Kamil Rytarowski --- MAINTAINERS | 6 ++ configure | 1 + 2 files changed, 7

Re: [Qemu-devel] [PATCH] libvixl: Correct ordering of includes and fix NetBSD build

2017-05-13 Thread Kamil Rytarowski
ibvixl. > > Regards, > > Phil. > > On 05/12/2017 10:54 PM, Kamil Rytarowski wrote: >> The __STDC_CONSTANT_MACROS symbol must be defined before including >> directly or indirectly in order to get support for macros >> for integer constants like INT8_C(). >>

[Qemu-devel] [PATCH] libvixl: Correct build failures on NetBSD

2017-05-13 Thread Kamil Rytarowski
, without altering the original sources: - __STDC_CONSTANT_MACROS - __STDC_LIMIT_MACROS - __STDC_FORMAT_MACROS Signed-off-by: Kamil Rytarowski --- disas/libvixl/Makefile.objs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/disas/libvixl/Makefile.objs b/disas/libvixl/Makefile.objs index

Re: [Qemu-devel] [PATCH] libvixl: Correct ordering of includes and fix NetBSD build

2017-05-15 Thread Kamil Rytarowski
On 15.05.2017 15:57, Eric Blake wrote: > On 05/13/2017 05:04 PM, Philippe Mathieu-Daudé wrote: >> Hi Kamil, >> >> I think it is safer to add it in disas/libvixl/Makefile.objs where >> QEMU_CFLAGS are tuned for libvixl. >> This way you don't need to modify upstream libvixl. >> > > Ah, right. disas/

Re: [Qemu-devel] [PATCH] maintainers: Add myself as a NetBSD reviewer

2017-05-15 Thread Kamil Rytarowski
On 15.05.2017 16:13, Stefan Hajnoczi wrote: > On Sat, May 13, 2017 at 04:21:43AM +0200, Kamil Rytarowski wrote: >> I volunteer to review NetBSD patches. >> Adding myself will help to not miss some of them. >> >> Restore NetBSD as a maintained host. >> >> A

Re: [Qemu-devel] [PATCH 0/3] Fix NetBSD build (don't build ivshmem tools)

2017-07-13 Thread Kamil Rytarowski
> > Most of this patchset is the work of Kamil Rytarowski; I just > split it up into easily-reviewable patches and fixed a few bugs. > Thank you for improving the patches! > Tested on Linux, on NetBSD, and on Linux with a '--disable-linux-user > --disable-system' co

Re: [Qemu-devel] tests/Makefile.include non-portable use of $RANDOM

2017-07-13 Thread Kamil Rytarowski
On 13.07.2017 19:32, Peter Maydell wrote: > Currently our test makefile does > >MALLOC_PERTURB_=$${MALLOC_PERTURB_:-$$((RANDOM % 255 + 1))} > > This works on bash, but $RANDOM is bash-specific. > On dash, it doesn't do what we want, but it does do something: > > $ echo $((RANDOM % 255 + 1))

Re: [Qemu-devel] [PATCH] tests: Handle $RANDOM not being supported by the shell

2017-07-14 Thread Kamil Rytarowski
line so they are always run under bash. > > Suggested-by: Eric Blake > Signed-off-by: Peter Maydell Reviewed-by: Kamil Rytarowski > --- > tests/Makefile.include | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/Makefile.include b/tests/Mak

Re: [Qemu-devel] [PATCH] tests: Handle $RANDOM not being supported by the shell

2017-07-14 Thread Kamil Rytarowski
On 14.07.2017 13:27, Kamil Rytarowski wrote: > On 14.07.2017 12:45, Peter Maydell wrote: >> In various places in our test makefiles and scripts we use the >> shell $RANDOM to create a random number. This is a bash >> specific extension, and doesn't work on other shells.

Re: [Qemu-devel] [PATCH] replace struct ucontext with ucontext_t type

2017-06-29 Thread Kamil Rytarowski
On 29.06.2017 15:12, Markus Armbruster wrote: > Peter Maydell writes: > >> On 28 June 2017 at 21:44, Khem Raj wrote: >>> The ucontext_t type had a tag struct ucontext until now >>> but newer glibc will drop it so we need to adjust and use >>> the exposed type instead >> >> If true this seems lik

Re: [Qemu-devel] [Bug 1691379] [NEW] NetBSD evbmips64el port installation doesn't work with qemu-system-mips64el.

2017-05-17 Thread Kamil Rytarowski
On 17.05.2017 10:10, Thomas Huth wrote: > On 17.05.2017 09:52, Utkarsh Anand wrote: >> Public bug reported: >> >> I successfully installed the NetBSD evbmips64el port on gxemul but was >> unable to install it on qemu. Trying to boot it on qemu takes me to the >> 'db>' prompt. Here's the output and

Re: [Qemu-devel] [Bug 1691379] [NEW] NetBSD evbmips64el port installation doesn't work with qemu-system-mips64el.

2017-05-17 Thread Kamil Rytarowski
On 17.05.2017 19:58, Kamil Rytarowski wrote: > On 17.05.2017 10:10, Thomas Huth wrote: >> On 17.05.2017 09:52, Utkarsh Anand wrote: >>> Public bug reported: >>> >>> I successfully installed the NetBSD evbmips64el port on gxemul but was >>> unable to

Re: [Qemu-devel] [Bug 1691379] [NEW] NetBSD evbmips64el port installation doesn't work with qemu-system-mips64el.

2017-05-18 Thread Kamil Rytarowski
On 18.05.2017 12:54, Aurelien Jarno wrote: > On 2017-05-18 04:29, Kamil Rytarowski wrote: >> On 17.05.2017 19:58, Kamil Rytarowski wrote: >>> On 17.05.2017 10:10, Thomas Huth wrote: >>>> On 17.05.2017 09:52, Utkarsh Anand wrote: >>>>> Public bug repor

Re: [Qemu-devel] [PATCH] ivshmem-server: Detect and use if there is required -lrt linking

2017-05-20 Thread Kamil Rytarowski
Hello, Excuse me for delay, I missed this mail. Please see in-line. On 17.05.2017 09:28, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> ivshmem-server makes use of the POSIX shared memory object interfaces. >> This library is provided on NetBSD in -lrt (POSIX

Re: [Qemu-devel] [PATCH] configure: Detect native NetBSD curses(3)

2017-05-20 Thread Kamil Rytarowski
Ping? Could someone please put it on the pull-request? Adding qemu-trivial@. On 08.05.2017 13:33, Alex Bennée wrote: > > Kamil Rytarowski writes: > >> NetBSD ships with traditional BSD curses with compatibility with ncurses. >> qemu works nicely with the basesystem vers

Re: [Qemu-devel] [PATCH] ivshmem-server: Detect and use if there is required -lrt linking

2017-05-22 Thread Kamil Rytarowski
On 22.05.2017 08:28, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> Hello, >> >> Excuse me for delay, I missed this mail. > > No problem. > >> Please see in-line. >> >> On 17.05.2017 09:28, Markus Armbruster wrote: >>> Ka

Re: [Qemu-devel] [PATCH] ivshmem-server: Detect and use if there is required -lrt linking

2017-05-23 Thread Kamil Rytarowski
On 23.05.2017 07:37, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> On 22.05.2017 08:28, Markus Armbruster wrote: >>> Kamil Rytarowski writes: >>> >>>> Hello, >>>> >>>> Excuse me for delay, I missed this mail. >>&

Re: [Qemu-devel] [PATCH] libvixl: Correct build failures on NetBSD

2017-05-23 Thread Kamil Rytarowski
Can we please merge it with master? On 14.05.2017 07:41, Philippe Mathieu-Daudé wrote: > On 05/14/2017 02:18 AM, Kamil Rytarowski wrote: >> Ensure that C99 macros are defined regardless of the inclusion order of >> headers in vixl. This is required at least on NetBSD. >>

Re: [Qemu-devel] [PATCH] ivshmem-server: Detect and use if there is required -lrt linking

2017-05-23 Thread Kamil Rytarowski
On 23.05.2017 17:07, Markus Armbruster wrote: > Kamil Rytarowski writes: > >> On 23.05.2017 07:37, Markus Armbruster wrote: >>> Kamil Rytarowski writes: >>> >>>> On 22.05.2017 08:28, Markus Armbruster wrote: >>>>> Kamil Rytarowski writ

[Qemu-devel] [PATCH] ivshmem-server: ivshmem-clean: Install only when eventfd() is available

2017-05-25 Thread Kamil Rytarowski
the linking addressed appropriately. Signed-off-by: Kamil Rytarowski --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 1a5ee4b909..84d8660354 100755 --- a/configure +++ b/configure @@ -4928,6 +4928,8 @@ if test "$want_tools" = "yes&q

[Qemu-devel] [PATCH] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-05-29 Thread Kamil Rytarowski
the linking addressed appropriately. Signed-off-by: Kamil Rytarowski Reviewed-by: Markus Armbruster --- configure| 2 ++ contrib/ivshmem-client/Makefile.objs | 2 +- contrib/ivshmem-server/Makefile.objs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff

Re: [Qemu-devel] [PATCH] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-05-30 Thread Kamil Rytarowski
On 30.05.2017 14:53, Eric Blake wrote: > On 05/30/2017 01:20 AM, Kamil Rytarowski wrote: >> Currently ivshmem requires eventfd() which is Linux specific. >> Do not and build it unconditionally on every Linux/BSD/Solaris. >> >> This patch indirectly fixes build failure o

Re: [Qemu-devel] [PATCH] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-05-31 Thread Kamil Rytarowski
On 31.05.2017 13:11, Markus Armbruster wrote: > Eric Blake writes: > >> On 05/30/2017 08:11 AM, Kamil Rytarowski wrote: >> >>>> >>>> Is this a v2 patch? If so, it's best to repost it as a new top-level >>>> thread rather than buried in r

[Qemu-devel] [PATCH v3] ivshmem-server: ivshmem-client: Build when eventfd() is available

2017-05-31 Thread Kamil Rytarowski
the linking addressed appropriately. Signed-off-by: Kamil Rytarowski Reviewed-by: Markus Armbruster --- configure| 2 ++ contrib/ivshmem-client/Makefile.objs | 2 +- contrib/ivshmem-server/Makefile.objs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff

Re: [Qemu-devel] [PATCH RFC 2/9] qemu.py: Add variable vga type

2017-08-16 Thread Kamil Rytarowski
On 16.08.2017 09:20, Fam Zheng wrote: > Some guests behave differently when no VGA is detected. Add a variable > to allow override the "none" default. > > Signed-off-by: Fam Zheng > --- > scripts/qemu.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/scripts/qemu.py

Re: [Qemu-devel] [PATCH RFC 0/9] tests: Add VM based build tests (for non-x86_64 and/or non-Linux)

2017-08-16 Thread Kamil Rytarowski
On 16.08.2017 09:20, Fam Zheng wrote: > Build tests in one 32 bit Linux guest and three BSD images are defined in this > series. This is a more managable way than the manually maintained virtual > machines in patchew. Also, one big advantage of ephemeral VMs over long > running > guests is the red

Re: [Qemu-devel] [PATCH RFC 7/9] tests: Add NetBSD image

2017-08-16 Thread Kamil Rytarowski
On 16.08.2017 09:21, Fam Zheng wrote: > The image is prepared following instructions as in: > > https://wiki.qemu.org/Hosts/BSD > > Signed-off-by: Fam Zheng > --- > tests/vm/netbsd | 44 > 1 file changed, 44 insertions(+) > create mode 100755 tests/

Re: [Qemu-devel] [PATCH RFC 0/9] tests: Add VM based build tests (for non-x86_64 and/or non-Linux)

2017-08-16 Thread Kamil Rytarowski
On 16.08.2017 12:13, Fam Zheng wrote: > On Wed, 08/16 11:24, Kamil Rytarowski wrote: >> On 16.08.2017 09:20, Fam Zheng wrote: >>> Build tests in one 32 bit Linux guest and three BSD images are defined in >>> this >>> series. This is a more managable way

Re: [Qemu-devel] [PATCH RFC v2 07/10] tests: Add NetBSD image

2017-08-17 Thread Kamil Rytarowski
On 17.08.2017 04:47, Fam Zheng wrote: > The image is prepared following instructions as in: > > https://wiki.qemu.org/Hosts/BSD > > Signed-off-by: Fam Zheng Reviewed-by: Kamil Rytarowski > --- > tests/vm/netbsd | 45 +

Re: [Qemu-devel] [PATCH v3 03/10] tests: Add vm test lib

2017-08-22 Thread Kamil Rytarowski
On 22.08.2017 13:19, Philippe Mathieu-Daudé wrote: > Hi Fam, > > On 08/22/2017 01:41 AM, Fam Zheng wrote: >> This is the common code to implement a "VM test" to >> >>1) Download and initialize a pre-defined VM that has necessary >>dependencies to build QEMU and SSH access. >> >>2) Arch

Re: [Qemu-devel] [PATCH v3 00/10] tests: Add VM based build tests (for non-x86_64 and/or non-Linux)

2017-08-22 Thread Kamil Rytarowski
On 22.08.2017 15:58, Paolo Bonzini wrote: > On 22/08/2017 06:41, Fam Zheng wrote: >> as it is not easy to automate. (The ideal approach is like the ubuntu.i386 >> script, which configures the guest on top of an official released image, >> fully >> automatically.) > > Out of curiosity, why can't t

Re: [Qemu-devel] [PATCH v3 00/10] tests: Add VM based build tests (for non-x86_64 and/or non-Linux)

2017-08-22 Thread Kamil Rytarowski
I propose to rename *bsd.img.xz (like netbsd.img.xz) to *bsd-version-arch.img.xz, like netbsd-7.1-amd64.img.xz. This will be more verbose about the version and leave room for image upgrades in future. On 22.08.2017 06:41, Fam Zheng wrote: > v3: Drop RFC. > Add Stefan's and Kamil's reviewed-bys

Re: [Qemu-devel] [PATCH v3 06/10] tests: Add NetBSD image

2017-08-23 Thread Kamil Rytarowski
On 22.08.2017 06:41, Fam Zheng wrote: > The image is prepared following instructions as in: > > https://wiki.qemu.org/Hosts/BSD > > Signed-off-by: Fam Zheng > Reviewed-by: Kamil Rytarowski > --- > tests/vm/netbsd | 45 +++

Re: [Qemu-devel] [PATCH 0/3] Fix NetBSD build (don't build ivshmem tools)

2017-07-20 Thread Kamil Rytarowski
On 20.07.2017 17:35, Peter Maydell wrote: > On 20 July 2017 at 12:20, Markus Armbruster wrote: >> Regardless of my inability to find CONFIG_IVSHMEM confusing (see PATCH >> 1), series >> Reviewed-by: Markus Armbruster > > Thanks; patchset applied to master. > > -- PMM > Thank you for this!

Re: [Qemu-devel] [Qemu-trivial] [PATCH for-2.10] util/oslib-posix.c: Avoid warning on NetBSD

2017-07-21 Thread Kamil Rytarowski
On 21.07.2017 12:22, Peter Maydell wrote: > On 20 July 2017 at 19:26, Eric Blake wrote: >> On 07/20/2017 11:32 AM, Peter Maydell wrote: >>> On NetBSD the compiler warns: >>> util/oslib-posix.c: In function 'sigaction_invoke': >>> util/oslib-posix.c:589:5: warning: missing braces around initializer

Re: [Qemu-devel] MAINTAINERS: surprising get_maintainer.pl output for ./configure

2017-07-25 Thread Kamil Rytarowski
On 25.07.2017 07:48, Thomas Huth wrote: > On 25.07.2017 00:40, Philippe Mathieu-Daudé wrote: >> Hi perl gurus :) >> >> after changing the ./configure I wanted to figure to whom email and got >> this: >> >> $ ./scripts/get_maintainer.pl -f configure >>

Re: [Qemu-devel] [PATCH] 9pfs: include for XATTR_SIZE_MAX

2017-07-30 Thread Kamil Rytarowski
On 29.07.2017 21:34, Peter Maydell wrote: > On 29 July 2017 at 14:50, Patrick Steinhardt wrote: >> On Fri, Jul 28, 2017 at 02:20:49PM -0300, Philippe Mathieu-Daudé wrote: >>> This is likely to break on BSD, but now than patchew has a NetBSD job >>> you can trigger a build RESENDing this patch. >

Re: [Qemu-devel] [PATCH] 9pfs: include for XATTR_SIZE_MAX

2017-07-30 Thread Kamil Rytarowski
On 30.07.2017 20:23, Peter Maydell wrote: > On 30 July 2017 at 17:51, Kamil Rytarowski wrote: >> On 29.07.2017 21:34, Peter Maydell wrote: >>> On 29 July 2017 at 14:50, Patrick Steinhardt wrote: >>>> On Fri, Jul 28, 2017 at 02:20:49PM -0300, Philippe Mathieu-Daudé

Re: [Qemu-devel] [PATCH] 9pfs: include for XATTR_SIZE_MAX

2017-07-31 Thread Kamil Rytarowski
On 31.07.2017 16:23, Fam Zheng wrote: > On Sun, 07/30 19:23, Peter Maydell wrote: >> On 30 July 2017 at 17:51, Kamil Rytarowski wrote: >>> On 29.07.2017 21:34, Peter Maydell wrote: >>>> On 29 July 2017 at 14:50, Patrick Steinhardt wrote: >>>>> On Fr

Re: [Qemu-devel] [Qemu-trivial] [PATCH 63/88] bsd-user/syscall: fix a memory leak on EFAULT, use g_new()

2017-10-07 Thread Kamil Rytarowski
On 07.10.2017 01:49, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé > --- > Kamil are you interested in maintaining bsd-user? :) > Long term yes, short term I'm occupied full-time on getting modern debuggers as fully-functional and as fully-featured on NetBSD as possible.

Re: [Qemu-devel] [PULL 00/27] vhost-user patches

2017-10-10 Thread Kamil Rytarowski
On 10.10.2017 19:42, Marc-André Lureau wrote: > Hi > > - Original Message - >> On 10 October 2017 at 18:10, Marc-André Lureau >> wrote: >>> The following changes since commit >>> 567d0a19c7998fa366598b83d5a6e5f0759d3ea9: >>> >>> Merge remote-tracking branch >>> 'remotes/ehabkost/tags/

Re: [Qemu-devel] [PULL 00/10] Ui 20171011 patches

2017-10-11 Thread Kamil Rytarowski
On 11.10.2017 16:37, Peter Maydell wrote: > The OpenBSD failure is because make now tries to run a > script that uses #!/bin/bash, and this machine doesn't > have bash installed. Do we really need to add bash to > our build-dependencies? The script doesn't seem like it's > doing anything that criti

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Kamil Rytarowski
On 14.11.2017 09:54, Yu Ning wrote: > Hello, > > As some of you may have noticed, since QEMU 2.9.0, an accelerator known > as “hax” has been available for Windows and macOS builds of QEMU, thanks > to the hard work of Vincent Palatin and help from this community (Paolo > Bonzini, Stefan Weil, et a

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Kamil Rytarowski
On 17.11.2017 11:30, Yu Ning wrote: > > > On 11/17/2017 16:53, Kamil Rytarowski wrote: >> On 14.11.2017 09:54, Yu Ning wrote: >>> Hello, >>> >>> As some of you may have noticed, since QEMU 2.9.0, an accelerator known >>> as “hax” has been ava

Re: [Qemu-devel] [PATCH] hax-interface: Add BSD license

2017-11-19 Thread Kamil Rytarowski
On 20.11.2017 08:17, Yu Ning wrote: > > > On 11/20/2017 5:31, Eduardo Habkost wrote: >> On Fri, Nov 17, 2017 at 05:03:27PM +0800, Yu Ning wrote: >>> On 11/17/2017 2:00, Eduardo Habkost wrote: On Thu, Nov 16, 2017 at 07:47:44AM +0100, Stefan Weil wrote: > Am 16.11.2017 um 07:50 schrieb yu

Re: [Qemu-devel] [PATCH for-4.0 5/5] tcg/i386: Add setup_guest_base_seg for FreeBSD

2018-12-03 Thread Kamil Rytarowski
On 03.12.2018 17:08, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > tcg/i386/tcg-target.inc.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c > index b8d2dd5ba3..3a39b51685 100644 > --- a/tcg/i386/tcg-ta

Re: [Qemu-devel] Hosted CI for FreeBSD - Cirrus CI

2018-12-05 Thread Kamil Rytarowski
On 05.12.2018 21:43, Ed Maste wrote: > I'd very much like to have CI coverage for QEMU on FreeBSD, and as of > yesterday there's a hosted CI service that supports FreeBSD: Cirrus > CI. They also offer free service for OSS projects. I created a > .cirrus.yml (shown below) in a QEMU GitHub fork and s

Re: [Qemu-devel] Hosted CI for FreeBSD - Cirrus CI

2018-12-05 Thread Kamil Rytarowski
On 05.12.2018 22:58, Ed Maste wrote: > On Wed, 5 Dec 2018 at 15:59, Kamil Rytarowski wrote: >> >> There are already FreeBSD, OpenBSD and NetBSD test scripts in the qemu >> project. > > I see scripts under tests/vm/ for FreeBSD, NetBSD, and OpenBSD, but > they

Re: [Qemu-devel] [PATCH] Support u-boot noload images for arm as used by NetBSD/evbarm GENERIC kernel.

2018-11-07 Thread Kamil Rytarowski
I saw this thread, but from a NetBSD maintainer point of view, I will defer review to ARM people. On 07.11.2018 14:19, Nick Hudson wrote: > noload kernels are loaded with the u-boot image header and as a result > the header size needs adding to the entry point.  Fake up a hdr so the > kernel image

  1   2   3   >