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: Benjaminmlspira...@gmail.com --- net.c |6 - net/socket.c| 73 +- qemu-options.hx |2 + 3 files changed, 78 insertions(+), 3 deletions(-) diff --git

[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

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 <n...@gmx.com> 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 >> m

[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

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 <n...@gmx.com> wrote: >>> On 29.07.2017 21:34, Peter Maydell wrote: >>>> On 29 July 2017 at 14:50, Patrick Steinhardt <p...@pk

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

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

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

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 <f...@redhat.com> Reviewed-by: Kamil Rytarowski <n...@gmx.com> &g

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' config (whic

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
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] tests: Handle $RANDOM not being supported by the shell

2017-07-14 Thread Kamil Rytarowski
ways run under bash. > > Suggested-by: Eric Blake <ebl...@redhat.com> > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Kamil Rytarowski <n...@gmx.com> > --- > tests/Makefile.include | 4 ++-- > 1 file changed, 2 insertions(+), 2 dele

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.

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

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 configur

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

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

2017-04-26 Thread Kamil Rytarowski
script, therefore eliminate it from the curses(3) detection. With this change applied, configure detects correctly curses frontend. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure

[Qemu-devel] [PATCH] scripts: Switch to more portable Perl shebang

2017-04-26 Thread Kamil Rytarowski
default behavior. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- scripts/checkpatch.pl | 3 ++- scripts/clean-header-guards.pl | 3 ++- scripts/cleanup-trace-events.pl | 2 +- scripts/disas-objdump.pl| 4 +++- scripts/get_maintainer.pl | 3 ++- scripts/shaderincl

[Qemu-devel] [PATCH v2] scripts: Switch to more portable Perl shebang

2017-04-26 Thread Kamil Rytarowski
default behavior. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- scripts/checkpatch.pl | 3 ++- scripts/clean-header-guards.pl | 3 ++- scripts/cleanup-trace-events.pl | 2 +- scripts/disas-objdump.pl| 4 +++- scripts/get_maintainer.pl | 3 ++- scripts/shaderincl

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

2017-04-25 Thread Kamil Rytarowski
On 24.04.2017 12:12, Peter Maydell wrote: > Upstream we're definitely going to drop SunOS/Solaris support unless > somebody provides us with a machine we can do build/test on. > DragonFly BSD is in my "let's see if anybody complains" list. > OpenBSD is also in this "let's see" list but it seems

Re: [Qemu-devel] [Qemu-trivial] [PATCH] scripts/qemu-binfmt-conf.sh: Fix shell portability issue

2017-04-25 Thread Kamil Rytarowski
On 25.04.2017 15:33, Peter Maydell wrote: > On 25 April 2017 at 14:18, Kamil Rytarowski <n...@gmx.com> wrote: >> Appease pkgsrc and use portable shell variable comparison. >> This switches "==" to "=". It should not be a functional change. >> &

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 <n...@gmx.com> wrote: >> On 29.07.2017 21:34, Peter Maydell wrote: >>> On 29 July 2017 at 14:50, Patrick Steinhardt <p...@pks.im> wrote: >>>> On Fri, Jul 28, 2017 a

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

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

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

[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 <n...@gmx.com> --- 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-

[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 <n...@gmx.com> --- MAINTAINERS | 6 ++ configure |

[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 <n...@gmx.com> --- 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/disa

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.

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

[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 <n...@gmx.com> --- disas/libvixl/Makefile.objs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/disas/libvixl/Makefile.objs b/disas/libvixl/Makefil

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

2017-05-13 Thread Kamil Rytarowski
l. > > 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(). >> >

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] 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 <n...@gmx.com> writes: > >> Hello, >> >> Excuse me for delay, I missed this mail. > > No problem. > >> Please see in-line. >> >> On 17.05.2017 09:28, Markus Arm

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 <n...@gmx.com> writes: > >> On 22.05.2017 08:28, Markus Armbruster wrote: >>> Kamil Rytarowski <n...@gmx.com> writes: >>> >>>> Hello, >>>> >>>> Excuse me

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 <n...@gmx.com> writes: > >> On 23.05.2017 07:37, Markus Armbruster wrote: >>> Kamil Rytarowski <n...@gmx.com> writes: >>> >>>> On 22.05.2017 08:28, Markus Armbrust

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 <n...@gmx.com> writes: > >> NetBSD ships with traditional BSD curses with compatibility with ncurses. >> qemu works nicely

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 <n...@gmx.com> writes: > >> ivshmem-server makes use of the POSIX shared memory object interfaces. >> This library is provided on NetBSD

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

2017-05-25 Thread Kamil Rytarowski
and the linking addressed appropriately. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- 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_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 r

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

2017-05-30 Thread Kamil Rytarowski
and the linking addressed appropriately. Signed-off-by: Kamil Rytarowski <n...@gmx.com> Reviewed-by: Markus Armbruster <arm...@redhat.com> --- configure| 2 ++ contrib/ivshmem-client/Makefile.objs | 2 +- contrib/ivshmem-server/Makefile.objs | 2 +- 3 file

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

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] 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 <ebl...@redhat.com> 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

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

2017-05-31 Thread Kamil Rytarowski
and the linking addressed appropriately. Signed-off-by: Kamil Rytarowski <n...@gmx.com> Reviewed-by: Markus Armbruster <arm...@redhat.com> --- configure| 2 ++ contrib/ivshmem-client/Makefile.objs | 2 +- contrib/ivshmem-server/Makefile.objs | 2 +- 3 file

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 <n...@gmx.com> wrote: >> I've linked qemu with the original patch and: >> ./configure --disable-linux-user --disable-system --static >> >> I got some warnings, I think

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

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 <n...@gmx.com> 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 <n...@gmx.com> wr

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 <n...@gmx.com> wrote: >>> I've linked qemu with the original patch and: >>> ./configure --disable-linux-user --disable-system --s

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

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 <n...@gmx.com> writes: > >> On 10.06.2017 17:15, Markus Armbruster wrote: >>> Kamil Rytarowski <n...@gmx.com> writes: >>> >>>> On 06.06.2017 16:56, Kamil Rytarowski wrote: >&

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 >

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

Re: [Qemu-devel] [PATCH v2 5/5] tcg: restrict i386 regs definitions

2017-09-11 Thread Kamil Rytarowski
On 12.09.2017 00:13, Philippe Mathieu-Daudé wrote: > On 09/11/2017 06:44 PM, Kamil Rytarowski wrote: >> On 11.09.2017 23:33, Philippe Mathieu-Daudé wrote: >>> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> >>> --- >>> cleaning while he

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

[Qemu-devel] [PATCH] Add BSD systems to the download section

2017-08-30 Thread Kamil Rytarowski
Add basic notes about FreeBSD, NetBSD and OpenBSD. Add BSD link to source code subsection. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- _download/bsd.md | 19 +++ _download/source.html | 1 + download.html | 8 3 files changed, 28 inse

[Qemu-devel] [PATCH v2] scsi/esp: Rename the ESP macro to ESP_STATE

2017-09-09 Thread Kamil Rytarowski
SunOS defines ESP (x86 register) in as 7. This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- hw/scsi/esp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index eee831efeb..22c2d91e39

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-09 Thread Kamil Rytarowski
On 09.09.2017 17:07, Fam Zheng wrote: > On Sat, 09/09 13:07, Peter Maydell wrote: >> On 9 September 2017 at 06:45, Fam Zheng wrote: >>> Signed-off-by: Fam Zheng >>> Message-Id: <20170905021201.25684-4-f...@redhat.com> >>> --- >>> scripts/archive-source.sh | 31

[Qemu-devel] [PATCH v2] Discover openpty(3) dynamically in configure

2017-09-11 Thread Kamil Rytarowski
openpty(3) might: - exists in libc (OSX) - exists in libutil (GNU, BSD) - does not exist (SmartOS) Add a function to discover this function in the ./configure script. Add new config types: CONFIG_OPENPTY_LIBC and CONFIG_OPENPTY_LIBUTIL, respectively defined when openpts(3) links with -lc or

Re: [Qemu-devel] [PATCH] tests: Do not include lutil on SunOS

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 11:32, Peter Maydell wrote: > On 3 September 2017 at 17:49, Kamil Rytarowski <n...@gmx.com> wrote: >> This fixes build on SmartOS (Joyent). >> >> Patch cherry-picked from pkgsrc by jperkin (Joyent). >> >> Signed-off-by: Kamil Ryt

Re: [Qemu-devel] [PATCH] memory: Rename queue to mrqueue (memory region queue)

2017-09-04 Thread Kamil Rytarowski
+CC jperkin On 05.09.2017 01:57, Kamil Rytarowski wrote: > On 04.09.2017 02:39, Philippe Mathieu-Daudé wrote: >> Hi Kamil, >> >> On 09/03/2017 01:33 PM, Kamil Rytarowski wrote: >>> SunOS declares struct queue in . >> >> I didn't check what is this de

Re: [Qemu-devel] [PATCH] memory: Rename queue to mrqueue (memory region queue)

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 02:39, Philippe Mathieu-Daudé wrote: > Hi Kamil, > > On 09/03/2017 01:33 PM, Kamil Rytarowski wrote: >> SunOS declares struct queue in . > > I didn't check what is this define for, but I'd rather add in > include/sysemu/os-posix.h: > > #ifdef

Re: [Qemu-devel] [PATCH] e1000: Rename the SEC symbol to SEQEC

2017-09-04 Thread Kamil Rytarowski
Please put it on a pull-request queue. I don't maintain one myself. On 04.09.2017 09:29, Dmitry Fleytman wrote: > Reviewed-by: Dmitry Fleytman <dmi...@daynix.com> > >> On 4 Sep 2017, at 10:23 AM, Fam Zheng <f...@redhat.com> wrote: >> >> On Sun, 09/03 18:3

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-10 Thread Kamil Rytarowski
On 10.09.2017 04:05, Fam Zheng wrote: > On Sat, 09/09 17:08, Kamil Rytarowski wrote: >>>>> +submodules=$(git submodule foreach --recursive --quiet 'echo $name') >>>>> + >>>>> +if test -n "$submodules"; then >>>>> +

Re: [Qemu-devel] [PATCH v2 5/5] tcg: restrict i386 regs definitions

2017-09-11 Thread Kamil Rytarowski
On 11.09.2017 23:33, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé > --- > cleaning while here :) > > accel/tcg/user-exec.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/accel/tcg/user-exec.c

Re: [Qemu-devel] [PATCH] Add BSD systems to the download section

2017-09-12 Thread Kamil Rytarowski
ping On 30.08.2017 18:56, Kamil Rytarowski wrote: > Add basic notes about FreeBSD, NetBSD and OpenBSD. > > Add BSD link to source code subsection. > > Signed-off-by: Kamil Rytarowski <n...@gmx.com> > --- > _download/bsd.md | 19 +++ &g

[Qemu-devel] [PATCH] Drop gld linker usage on SunOS

2017-09-11 Thread Kamil Rytarowski
This is required to be removed on SmartOS (Illumos). As of now there are no alternative supported SunOS distributions. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- configure | 1 - 1 file changed, 1 deletion(-) diff --git a/configure b/configure index fd7e3a5e81..3dc0a71984

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] Discover openpty(3) dynamically in configure

2017-09-11 Thread Kamil Rytarowski
On 11.09.2017 19:16, Kamil Rytarowski wrote: > openpty(3) might: > - exists in libc (OSX) > - exists in libutil (GNU, BSD) > - does not exist (SmartOS) > > Add a function to discover this function in the ./configure script. > Add new config types: CONFIG_OPENPTY_LIBC and C

[Qemu-devel] [PATCH] Rename round_page() to round_pageq()

2017-09-11 Thread Kamil Rytarowski
This change fixes conflict with the DragonFly BSD headers. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- hw/ppc/mac_newworld.c | 8 hw/ppc/mac_oldworld.c | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c

Re: [Qemu-devel] [PATCH] Rename round_page() to round_pageq()

2017-09-11 Thread Kamil Rytarowski
On 11.09.2017 22:16, Peter Maydell wrote: > On 11 September 2017 at 21:00, Kamil Rytarowski <n...@gmx.com> wrote: >> This change fixes conflict with the DragonFly BSD headers. >> >> Signed-off-by: Kamil Rytarowski <n...@gmx.com> > > What's t

[Qemu-devel] [PATCH v2] Replace round_page() with TARGET_PAGE_ALIGN()

2017-09-11 Thread Kamil Rytarowski
This change fixes conflict with the DragonFly BSD headers. Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- hw/ppc/mac_newworld.c | 11 +++ hw/ppc/mac_oldworld.c | 11 +++ 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/hw/ppc/mac_newworld.c b/

Re: [Qemu-devel] SunOS support

2017-09-26 Thread Kamil Rytarowski
see if there are other resources we can bring to >> bear. > > Hi; thanks for getting in touch with us. Kamil Rytarowski (who I've > cc'd) is also interested in keeping Solaris-variant support working. > My interest starts on OSes using pkgsrc, and ends in the particular SunOS ca

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)

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 <f...@redhat.com> > Reviewed-by: Kamil Rytarowski <n...@gmx.com>

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

2017-08-31 Thread Kamil Rytarowski
On 31.08.2017 16:27, Peter Maydell wrote: > On 31 August 2017 at 15:04, Kamil Rytarowski <n...@gmx.com> wrote: >> Could we please add SmartOS image. It's an Illumos distribution, >> previously known as OpenSolaris. >> >> qemu is actively maintained for SmartOS

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

2017-08-31 Thread Kamil Rytarowski
Could we please add SmartOS image. It's an Illumos distribution, previously known as OpenSolaris. qemu is actively maintained for SmartOS in pkgsrc. The latest build fixes were introduced less than a week ago. https://github.com/NetBSD/pkgsrc/commit/f2608af5433f1491a92567bf570e9349dffbda7a I'm

[Qemu-devel] [PATCH v2] usb-mtp: Add fallback definition of NAME_MAX

2017-09-04 Thread Kamil Rytarowski
This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- include/qemu/osdep.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/

[Qemu-devel] [PATCH v3] target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init()

2017-09-04 Thread Kamil Rytarowski
/fpu_helper.o' failed Convert the array to make_floatx80_init() to fix it. Replace floatx80_pi-like constants with make_floatx80_init() as they are defined as make_floatx80(). This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> Reviewed-by: Philippe Mathieu-Dau

Re: [Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 18:17, Peter Maydell wrote: > On 4 September 2017 at 16:53, Laurent Vivier wrote: >> Le 04/09/2017 à 17:02, Peter Maydell a écrit : >>> On 4 September 2017 at 15:09, Laurent Vivier wrote: You can: either replace the "#define

[Qemu-devel] [PATCH v2] target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init()

2017-09-04 Thread Kamil Rytarowski
/fpu_helper.o' failed Convert the array to make_floatx80_init() to fix it. Replace floatx80_pi-like constants with make_floatx80_init() as they are defined as make_floatx80(). This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- target/m68k/fpu_helper.

Re: [Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 02:27, Philippe Mathieu-Daudé wrote: > On 09/03/2017 02:05 PM, Laurent Vivier wrote: >> Le 03/09/2017 à 18:31, Kamil Rytarowski a écrit : >>> GCC 4.7.2 on SunOS reports that the values assigned to array members >>> are not >>> real constants: &

Re: [Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 16:41, Philippe Mathieu-Daudé wrote: > On 09/04/2017 11:09 AM, Laurent Vivier wrote: >> Le 04/09/2017 à 15:54, Kamil Rytarowski a écrit : >>> On 04.09.2017 02:27, Philippe Mathieu-Daudé wrote: >>>> On 09/03/2017 02:05 PM, Laurent Vivier wrote: >

Re: [Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 17:02, Peter Maydell wrote: > On 4 September 2017 at 15:09, Laurent Vivier wrote: >> You can: >> >> either replace the "#define floatx80_pi make_floatx80(...)" by a "const >> floatx80 floatx80_pi = make_floatx80_init(...)" >> >> or replace all the macros in the

Re: [Qemu-devel] [PATCH] configure: Drop AIX host support

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 19:19, Peter Maydell wrote: > Nobody has mentioned AIX host support on the mailing list for years, > and we have no test systems for it so it is most likely broken. > We've advertised in configure for two releases now that we plan > to drop support for this host OS, and have had no

[Qemu-devel] [PATCH v4] target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init()

2017-09-04 Thread Kamil Rytarowski
/fpu_helper.o' failed Convert the array to make_floatx80_init() to fix it. Replace floatx80_pi-like constants with make_floatx80_init() as they are defined as make_floatx80(). This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> Reviewed-by: Philippe Mathieu-Dau

Re: [Qemu-devel] [PATCH v3] target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init()

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 21:02, Laurent Vivier wrote: > > I don't want to be picky, but you should use "ULL" instead of "LL" for > the new values. > I was wondering why the integer is shorter.. should be fixed in v4. signature.asc Description: OpenPGP digital signature

Re: [Qemu-devel] [PATCH v2] usb-mtp: Add fallback definition of NAME_MAX

2017-09-04 Thread Kamil Rytarowski
On 04.09.2017 19:50, Peter Maydell wrote: > On 4 September 2017 at 18:25, Kamil Rytarowski <n...@gmx.com> wrote: >> This fixes build on SmartOS (Joyent). >> >> Patch cherry-picked from pkgsrc by jperkin (Joyent). >> >> Signed-off-by: Kamil Rytarowski <n...

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

2017-08-29 Thread Kamil Rytarowski
On 29.08.2017 15:10, Philippe Mathieu-Daudé wrote: > Hi Fam, Kamil, > >> On 08/28/2017 02:47 PM, Fam Zheng wrote: > [...] >>> +subprocess.check_call([tar_cmd, >>> + "--exclude-vcs", >>> + "--exclude=tests/vm/*.img", >>> +

[Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-03 Thread Kamil Rytarowski
/fpu_helper.o' failed Convert the array to switch() to workaround the issue. This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- target/m68k/fpu_helper.c | 108 ++- 1 file changed, 78 insertions(+), 30 deletions(-)

[Qemu-devel] [PATCH] memory: Rename queue to mrqueue (memory region queue)

2017-09-03 Thread Kamil Rytarowski
SunOS declares struct queue in . This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- memory.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/memo

[Qemu-devel] [PATCH] tests: Do not include lutil on SunOS

2017-09-03 Thread Kamil Rytarowski
This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- tests/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.include b/tests/Makefile.include index f08b7418f0..0e5e

[Qemu-devel] [PATCH] e1000: Rename the SEC symbol to SEQEC

2017-09-03 Thread Kamil Rytarowski
SunOS defines SEC in as 1 (commonly used time symbols). This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- hw/net/e1000.c | 4 ++-- hw/net/e1000_regs.h| 2 +- hw/net/e1000e_core.c

[Qemu-devel] [PATCH] scsi/esp: Rename the ESP symbol to QESP (QEMU ESP)

2017-09-03 Thread Kamil Rytarowski
SunOS defines ESP (x86 register) in as 7. This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski <n...@gmx.com> --- hw/scsi/esp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index eee831efeb..38ddfd6715

  1   2   3   >