[Qemu-devel] [PATCH v3] linux-user: Fix register used for 6th and 7th syscall argument on aarch64

2018-02-02 Thread Guido Günther
This unbreaks the testcase from http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html Thanks to Laurent Vivier for spotting the 7th one. Signed-off-by: Guido Günther <a...@sigxcpu.org> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> Suggested-by: Laurent

Re: [Qemu-devel] [PATCH 00/11] linux-user: improve NETLINK strace

2018-01-28 Thread Guido Günther
Hi, On Wed, Jan 24, 2018 at 10:01:15AM -0300, Philippe Mathieu-Daudé wrote: > Few patches I'v been writting while trying to figure out this issue: > http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html Whole series Tested-By: Guido Günther <a...@sigxcpu.org>

Re: [Qemu-devel] [PATCH 00/11] linux-user: improve NETLINK strace

2018-01-24 Thread Guido Günther
Hi, On Wed, Jan 24, 2018 at 10:01:15AM -0300, Philippe Mathieu-Daudé wrote: > Few patches I'v been writting while trying to figure out this issue: > http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html I can't comment code wise but it makes the -strace output much more useful in

Re: [Qemu-devel] [PATCH] linux-user: Fix register used for 6th syscall argument on aarch64

2018-01-24 Thread Guido Günther
Hi, On Wed, Jan 24, 2018 at 10:59:05AM +0100, Laurent Vivier wrote: > Le 24/01/2018 à 10:14, Guido Günther a écrit : > > Unbreaks the testcase from > > > > http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html > > > > Signed-off-by

[Qemu-devel] [PATCH] linux-user: Fix register used for 6th and 7th syscall argument on aarch64

2018-01-24 Thread Guido Günther
Unbreaks the testcase from http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html Thanks to Laurent Vivier for spotting the 7th one. Signed-off-by: Guido Günther <a...@sigxcpu.org> --- linux-user/host/aarch64/safe-syscall.inc.S | 6 +++--- 1 file changed, 3 insertions

[Qemu-devel] [PATCH] linux-user: Fix register used for 6th syscall argument on aarch64

2018-01-24 Thread Guido Günther
Unbreaks the testcase from http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html Signed-off-by: Guido Günther <a...@sigxcpu.org> --- linux-user/host/aarch64/safe-syscall.inc.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/host/aarch6

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Guido Günther
Hi, On Tue, Jan 23, 2018 at 05:12:26PM +0100, Laurent Vivier wrote: > Le 23/01/2018 à 16:23, Guido Günther a écrit : > > Hi, > > Thanks for having a look! > > > > On Tue, Jan 23, 2018 at 11:52:22AM -0300, Philippe Mathieu-Daudé wrote: > >> Currently recvf

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Guido Günther
0xfa3897d0, 0) = 124 > 31572 ppoll([{fd=3, events=POLLIN}], 1, {tv_sec=0, tv_nsec=5}, > NULL, 0) = 1 ([{fd=3, revents=POLLIN}], left {tv_sec=0, tv_nsec=43180}) > 31572 recvfrom(3, 0x112a50eb4, 8988, MSG_PEEK|MSG_DONTWAIT, 0xfa3897e0, > 0x42) = -1 EFAULT (B

Re: [Qemu-devel] [PATCH] Add guest-get-hostname to retrieve the guests current hostname

2012-08-24 Thread Guido Günther
On Wed, Aug 22, 2012 at 09:32:02AM +0100, Daniel P. Berrange wrote: On Wed, Aug 22, 2012 at 10:04:33AM +0200, Guido Günther wrote: On Tue, Aug 21, 2012 at 07:31:17PM +0100, Daniel P. Berrange wrote: On Tue, Aug 21, 2012 at 01:57:54PM +0200, Guido Günther wrote: [..snip..] Why

Re: [Qemu-devel] [PATCH] Add guest-get-hostname to retrieve the guests current hostname

2012-08-22 Thread Guido Günther
On Tue, Aug 21, 2012 at 07:31:17PM +0100, Daniel P. Berrange wrote: On Tue, Aug 21, 2012 at 01:57:54PM +0200, Guido Günther wrote: [..snip..] Why no impl ? Winsock has the gethostname() API too $ grep gethostname /usr/i686-w64-mingw32/sys-root/mingw/include/*.h /usr/i686-w64-mingw32/sys

[Qemu-devel] [PATCH] Add guest-get-hostname to retrieve the guests current hostname

2012-08-21 Thread Guido Günther
This allows to retrieve the guest's hostname via gethostname(2). This can be useful to identify a VM e.g. one without network. Signed-off-by: Guido Günther a...@sigxcpu.org --- We have an API in libvirt for that (virDomainGetHostname). Cheers -- Guido qapi-schema-guest.json | 12