This can be used to set a DNS server to be used by the guest which is
different from the one configured on the host.
Buglink: https://bugs.launchpad.net/qemu/+bug/1010484
Signed-off-by: Samuel Thibault
---
Difference from first version:
- handle DNS IPv6 as well
- reference bug with Buglink
This can be used to set a DNS server to be used by the guest which is
different from the one configured on the host.
Buglink: https://bugs.launchpad.net/qemu/+bug/1010484
Signed-off-by: Samuel Thibault
---
net/slirp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net
This can be used to set a DNS server to be used by the guest which is
different from the one configured on the host.
This fixes LP 1010484.
Signed-off-by: Samuel Thibault
---
net/slirp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/slirp.c b/net/slirp.c
index
Hello,
Philippe Mathieu-Daudé, le lun. 09 sept. 2019 12:51:23 +0200, a ecrit:
> Anyhow, if you plan to properly (with your S-o-b) commit your patch to
> the libslirp repository,
Actually the libslirp repository already has something there. Since
IPv4/6 have a maximum of 64KB packets, it just
Hello,
As usual, several things here.
Chris Heinze, le mar. 03 sept. 2019 17:02:15 +0200, a ecrit:
> root@guest:~# tcpdump -ni eth0 port 19003
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
Chris Heinze, le ven. 06 sept. 2019 12:54:24 +0200, a ecrit:
> i'm not aware of any (canonical) parameters to set a max size for received
> packets
Ah, right.
> i found no way to configure slirp (in qemu) itself except for the DEFINEs in
> the if.h.
Yes, that's where it is to be configured
Hello,
Chris Heinze, le mar. 03 sept. 2019 17:02:15 +0200, a ecrit:
> on the guest:
> root@guest:~# tcpdump -ni eth0 port 19003
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
>
And
https://gitlab.freedesktop.org/slirp/libslirp/commit/d203c81b
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1837094
Title:
UndefinedBehaviorSanitizer crash around slirp::ip_reass()
Status in
Hello,
Philippe Mathieu-Daudé, le ven. 23 août 2019 17:15:32 +0200, a ecrit:
> > Did you make your test with commit 126c04acbabd ("Fix heap overflow in
> > ip_reass on big packet input") applied?
>
> Yes, unfortunately it doesn't fix the issue.
Ok.
Could you try the attached patch? There was
Hello,
Philippe Mathieu-Daudé, le jeu. 22 août 2019 16:41:33 +0200, a ecrit:
> Later the newly calculated pointer q is converted into ip structure
> and values are modified, Due to the wrong calculation of the delta,
> ip will be pointing to incorrect location and ip_src and ip_dst can
>
Marc-André Lureau, le ven. 02 août 2019 15:07:46 +0400, a ecrit:
> And Samuel probably thought the same, since he didn't update the submodule.
I'm rather mostly buried under piles of things to do...
> According to MAINTAINERS, this is for Samuel to take care of. But I'll
> do it if he ask me.
wchar_t {aka long int}
>
> Fix this by casting the wchar_t value to an unsigned long and using %lx
> as the conversion specifier.
>
> Fixes: b7b664a4fe9a955338f2e11a0f7433b29c8cbad0
> Signed-off-by: Max Reitz
Reviewed-by: Samuel Thibault
> ---
> ui/curses
The following changes since commit 30302acee710881cb248ec3391adcd54dcf52396:
Update upstream slirp (2019-05-09 09:58:57 +0200)
are available in the Git repository at:
https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up
Adds gitignore, README file, and fixes ident protocol parsing.
Signed-off-by: Samuel Thibault
---
slirp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slirp b/slirp
index 0e79ba4856..f0da672620 16
--- a/slirp
+++ b/slirp
@@ -1 +1 @@
-Subproject commit
To fix Windows on ARM.
---
slirp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slirp b/slirp
index 59a1b1f165..0e79ba4856 16
--- a/slirp
+++ b/slirp
@@ -1 +1 @@
-Subproject commit 59a1b1f165458c2acb7ff0525b543945f7416225
+Subproject commit
The following changes since commit 52ec9dcc1ed5609674e7b52198c18207bb193548:
Update slirp submodule (2019-05-04 14:38:05 +0200)
are available in the Git repository at:
https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up
Hello,
Cao Jiaxi, le mer. 01 mai 2019 02:10:09 +0800, a ecrit:
> This series of patches is for initial support of Windows 10 on ARM as a QEMU
> host.
> Currently only TCG intepreter is working correctly, it crashes when TCG JIT
> is enabled.
> For now we assume it is built using the clang
The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df:
Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into
staging (2019-05-02 12:04:51 +0100)
are available in the Git repository at:
https://people.debian.org/~sthibault/qemu.git tags/samuel
From: Marc-André Lureau
CFLAGS/LDFLAGS have debug and sanitizers flags, which should be passed
to slirp compilation.
Signed-off-by: Marc-André Lureau
Message-Id: <20190424110041.8175-2-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
Makefile | 2 +-
1 file chan
The chars/attr fields are curses internals, setcchar and getcchar have
to be used instead.
Signed-off-by: Samuel Thibault
Tested-by: Kamil Rytarowski
---
ui/curses.c | 43 +--
1 file changed, 29 insertions(+), 14 deletions(-)
diff --git a/ui/curses.c b
.
Samuel Thibault (2):
ui/curses: do not assume wchar_t contains unicode
ui/curses: manipulate cchar_t with standard curses functions
ui/curses.c | 194 ++--
1 file changed, 126 insertions(+), 68 deletions(-)
--
2.20.1
E.g. BSD and Solaris even use locale-specific encoding there.
We thus have to go through the native multibyte representation and use
mbrtowc/wcrtomb to make a proper conversion.
Signed-off-by: Samuel Thibault
Tested-by: Kamil Rytarowski
---
ui/curses.c | 157
Kamil Rytarowski, le sam. 27 avril 2019 19:36:40 +0200, a ecrit:
> On 27.04.2019 18:30, Samuel Thibault wrote:
> > E.g. BSD and Solaris even use locale-specific encoding there.
> >
> > We thus have to go through the native multibyte representation and use
> > mbt
BSD needs a few fixes for wide character manipulations.
Difference with v1:
- Fix unitialized value in error message
Difference with v2:
- Add cchar_t manipulation fix
Samuel Thibault (2):
ui/curses: do not assume wchar_t contains unicode
ui/curses: manipulate cchar_t with standard curses
The chars/attr fields are curses internals, setcchar and getcchar have
to be used instead.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 43 +--
1 file changed, 29 insertions(+), 14 deletions(-)
diff --git a/ui/curses.c b/ui/curses.c
index 395f9545e9
E.g. BSD and Solaris even use locale-specific encoding there.
We thus have to go through the native multibyte representation and use
mbtowc/wctomb to make a proper conversion.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 151
1 file
E.g. BSD and Solaris even use locale-specific encoding there.
We thus have to go through the native multibyte representation and use
mbtowc/wctomb to make a proper conversion.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 151
1 file
E.g. BSD and Solaris even use locale-specific encoding there.
We thus have to go through the native multibyte representation and use
mbtowc/wctomb to make a proper conversion.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 151
1 file
Ah, sorry, I missed putting v2 above and the change summary: I fixed an
uninitalized value in an error message.
Samuel
Samuel Thibault, le sam. 27 avril 2019 17:58:07 +0200, a ecrit:
> E.g. BSD and Solaris even use locale-specific encoding there.
>
> We thus have to go through t
E.g. BSD and Solaris even use locale-specific encoding there.
We thus have to go through the native multibyte representation and use
mbtowc/wctomb to make a proper conversion.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 151
1 file
m>
Signed-off-by: Samuel Thibault
---
slirp/src/socket.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/slirp/src/socket.c b/slirp/src/socket.c
index 4a3c935e25..bb752fdcae 100644
--- a/slirp/src/socket.c
+++ b/slirp/src/socket.c
@@ -171,6 +171,7 @@ int
soread(struct socket *so
Dr. David Alan Gilbert (git), le lun. 15 avril 2019 13:17:40 +0100, a ecrit:
> From: "Dr. David Alan Gilbert"
>
> Gcc 9 needs some convincing that sopreprbuf really is going to fill
> in iov in the call from soreadbuf, even though the failure case
> shouldn't happen.
>
> Signed-off-by: Dr.
The following changes since commit afccfc0c4c6134a7bc9da6375996b3b91d291de4:
Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
(2019-04-12 17:06:49 +0100)
are available in the Git repository at:
https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
Dr. David Alan Gilbert (git), le lun. 15 avril 2019 13:02:05 +0100, a ecrit:
> From: "Dr. David Alan Gilbert"
>
> Gcc 9 needs some convincing that sopreprbuf really is going to fill
> in iov in the call from soreadbuf, even though the failure case
> shouldn't happen.
>
> Signed-off-by: Dr.
> to cope with non-UTF-8 locales fully.
>
> Signed-off-by: Daniel P. Berrangé
Non-utf-8 environments should be rare enough that it will not be a real
concern.
Acked-by: Samuel Thibault
Dr. David Alan Gilbert, le ven. 12 avril 2019 16:49:42 +0100, a ecrit:
> * Samuel Thibault (samuel.thiba...@gnu.org) wrote:
> > Hello,
> >
> > Dr. David Alan Gilbert, le lun. 08 avril 2019 09:46:53 +0100, a ecrit:
> > > 'soread' has the comment:
> > >
&g
Hello,
Dr. David Alan Gilbert, le lun. 08 avril 2019 09:46:53 +0100, a ecrit:
> 'soread' has the comment:
>
> /*
> * No need to check if there's enough room to read.
> * soread wouldn't have been called if there weren't
> */
> sopreprbuf(so, iov, );
>
Hello,
Dr. David Alan Gilbert (git), le ven. 05 avril 2019 19:46:48 +0100, a ecrit:
> From: "Dr. David Alan Gilbert"
>
> Gcc 9 needs some convincing that sopreprbuf really is going to fill
> in iov in the call from soreadbuf, even though the failure case
> shouldn't happen; so swing the check
Marc-André Lureau, le ven. 22 mars 2019 17:46:12 +0100, a ecrit:
> On Fri, Mar 22, 2019 at 5:43 PM Marc-André Lureau
> wrote:
> >
> > Hi,
> >
> > In order to make slirp a standalone project, the project must have a
> > clear license, and be compatible with the GPL or LGPL.
> >
> > Since commit
Eric Blake, le jeu. 14 mars 2019 08:44:06 -0500, a ecrit:
> However, while it does not affect compilation, it DOES have legal
> ramification; I'd feel a lot better about having R-b on every patch,
Sure, I was just asking for the git commit path :) I don't think it's
useful to make it go through
Peter Maydell, le ven. 15 mars 2019 10:06:48 +, a ecrit:
> > +curses_line[x] = (cchar_t) {};
> > curses_line[x].chars[0] = ch;
> > -curses_line[x].chars[1] = 0;
> > -curses_line[x].attr = 0;
> > }
> >
Eric Blake, le ven. 15 mars 2019 08:02:29 -0500, a ecrit:
> On 3/15/19 5:06 AM, Peter Maydell wrote:
> > On Fri, 15 Mar 2019 at 08:37, Samuel Thibault
> > wrote:
> >>
> >> cchar_t can contain not only attr and chars fields, but also ext_color.
> >> Init
cchar_t can contain not only attr and chars fields, but also ext_color.
Initialize the whole structure to zero instead of enumerating fields.
Spotted by Coverity: CID 1399711
Signed-off-by: Samuel Thibault
---
ui/curses.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
cchar_t can contain not only attr and chars fields, but also ext_color.
Initialize the whole structure to zero instead of enumerating fields.
Spotted by Coverity: CID 1399711
Signed-off-by: Samuel Thibault
---
ui/curses.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ui
Peter Maydell, le jeu. 14 mars 2019 17:21:54 +, a ecrit:
> On Thu, 14 Mar 2019 at 17:20, Samuel Thibault
> wrote:
> >
> > Signed-off-by: Samuel Thibault
> > ---
> > ui/curses.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git
The iconv_t are opened but never closed.
Spotted by Coverity: CID 1399708
Spotted by Coverity: CID 1399709
Spotted by Coverity: CID 1399713
Signed-off-by: Samuel Thibault
---
Change since previous version: close all iconv_t, not only
ucs_to_wchar_conv.
ui/curses.c | 6 ++
1 file changed
The iconv_t is opened but never closed.
Spotted by Coverity: CID 1399708
Spotted by Coverity: CID 1399709
Spotted by Coverity: CID 1399713
Signed-off-by: Samuel Thibault
---
ui/curses.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/curses.c b/ui/curses.c
index 3a7e8649f3..1f83a15a1c
Hello,
Should this go through my tree, or perhaps it can be directly pushed to
master by Peter since it's no-code-only-copyright changes?
Samuel
Marc-André Lureau, le jeu. 14 mars 2019 14:10:41 +0100, a ecrit:
> In order to make slirp a standalone project, the project must have a
> clear
Peter Maydell, le mer. 13 mars 2019 22:20:03 +, a ecrit:
> On Wed, 13 Mar 2019 at 07:41, Gerd Hoffmann wrote:
> >
> > The following changes since commit 377b155bde451d5ac545fbdcdfbf6ca17a4228f5:
> >
> > Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into
> > staging
Hello,
Marc-André Lureau, le mer. 13 mars 2019 18:35:09 +0100, a ecrit:
> On Wed, Mar 13, 2019 at 6:32 PM Eric Blake wrote:
> >
> > On 3/13/19 11:42 AM, Marc-André Lureau wrote:
> > > In order to make slirp a standalone project, the project must have a
> > > clear license, and be compatible with
erministic
failures some developers are seeing with QEMU's submodule sync process.
Signed-off-by: Daniel P. Berrangé
Message-Id: <20190313173157.30504-1-berra...@redhat.com>
Reviewed-by: Marc-André Lureau
Signed-off-by: Samuel Thibault
---
configure | 11 ++-
1 file changed, 2
erministic
failures some developers are seeing with QEMU's submodule sync process.
Signed-off-by: Daniel P. Berrangé
Message-Id: <20190313173157.30504-1-berra...@redhat.com>
Reviewed-by: Marc-André Lureau
Signed-off-by: Samuel Thibault
---
configure | 11 ++-
1 file changed, 2
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Message-Id: <20190313173949.2369-1-marcandre.lur...@redhat.com>
Reviewed-by: Eric Blake
Signed-off-by: Samuel Thibault
---
slirp/src/state.c | 1 -
slirp/src/state.h | 0
2 files changed, 1 deletion(-)
delete mode 100644 sli
Eric Blake, le mer. 13 mars 2019 13:21:23 -0500, a ecrit:
> On 3/13/19 12:39 PM, Marc-André Lureau wrote:
> > Signed-off-by: Marc-André Lureau
> > ---
> > slirp/src/state.h | 0
> > slirp/src/state.c | 1 -
> > 2 files changed, 1 deletion(-)
> > delete mode 100644 slirp/src/state.h
>
> Made
The following changes since commit cd82b1e170019c4b722ed53116ee9346315d7791:
slirp: remove empty state.h (2019-03-13 22:12:23 +0100)
are available in the Git repository at:
https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up
The following changes since commit cd82b1e170019c4b722ed53116ee9346315d7791:
slirp: remove empty state.h (2019-03-13 22:12:23 +0100)
are available in the Git repository at:
https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up
Samuel Thibault, le mer. 13 mars 2019 22:14:42 +0100, a ecrit:
> The following changes since commit cd82b1e170019c4b722ed53116ee9346315d7791:
>
> slirp: remove empty state.h (2019-03-13 22:12:23 +0100)
Oops, sorry, there was another patch to commit, you can ignore this pull
request.
Samuel
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Message-Id: <20190313173949.2369-1-marcandre.lur...@redhat.com>
Reviewed-by: Eric Blake
Signed-off-by: Samuel Thibault
---
slirp/src/state.c | 1 -
slirp/src/state.h | 0
2 files changed, 1 deletion(-)
delete mode 100644 sli
e moved them to individuals as requested.
>
> Cc: Fredrik Noring
> Cc: Samuel Thibault
> Cc: Aurelien Jarno
> Cc: BALATON Zoltan
> Signed-off-by: Alex Bennée
> Acked-by: Richard Henderson
Acked-by: Samuel Thibault
Thanks!
>
> diff --git a/contrib/gitdm/group-map-i
Samuel Thibault, le lun. 11 mars 2019 15:08:16 +0100, a ecrit:
> Daniel P. Berrangé, le lun. 11 mars 2019 13:51:16 +, a ecrit:
> > On Mon, Mar 11, 2019 at 01:45:13PM +, Peter Maydell wrote:
> > > On Mon, 11 Mar 2019 at 08:40, Gerd Hoffmann wrote:
> > > >
Daniel P. Berrangé, le lun. 11 mars 2019 13:51:16 +, a ecrit:
> On Mon, Mar 11, 2019 at 01:45:13PM +, Peter Maydell wrote:
> > On Mon, 11 Mar 2019 at 08:40, Gerd Hoffmann wrote:
> > >
> > > The following changes since commit
> > > e2a18635a400b0e68679614132e9ef6316105590:
> > >
> > >
Hello,
This adds support for wide output in the curses frontend
Difference with previous version:
- detect iconv from /usr/local before from /usr, in case a libiconv
version is there in addition to the system-provided in /usr
Samuel Thibault (2):
iconv: detect and make curses depend
font. This also makes the curses backend set the LC_CTYPE locale to "" to
allow curses to emit wide characters.
Signed-off-by: Samuel Thibault
Cc: Eddie Kohler
Acked-by: Markus Armbruster
---
configure | 5 +-
qapi/ui.json| 14 +++
qemu-options.hx | 5 +-
ui/curses.c
curses will use it for proper wide output support.
Signed-off-by: Samuel Thibault
---
configure| 55
ui/Makefile.objs | 4 ++--
vl.c | 2 +-
3 files changed, 58 insertions(+), 3 deletions(-)
diff --git a/configure b
Gerd Hoffmann, le lun. 11 mars 2019 09:33:40 +0100, a ecrit:
> > > curses: better wide char support.
> > > vnc: acl update, stall fix.
>
> > Hi; this fails to build on FreeBSD; linking the qemu-system-*
> > binaries fails with:
> >
> > /usr/bin/ld: undefined reference to symbol `libiconv_open'
Gerd Hoffmann, le jeu. 07 mars 2019 14:21:12 +0100, a ecrit:
> On Mon, Mar 04, 2019 at 10:02:15PM +0100, Samuel Thibault wrote:
> > This adds support for wide output in the curses frontend
> >
> > Difference with previous version:
> > - Add more rationale in commit
Peter Maydell, le jeu. 07 mars 2019 11:27:38 +, a ecrit:
> Hi; this fails to build on FreeBSD, I'm afraid:
>
> /var/tmp/qemu-test.Sn5gQz/slirp/src/libslirp.h:29:19: warning: type
> specifier missing, defaults to 'int' [-Wimplicit-int]
> typedef ssize_t (*SlirpReadCb)(void *buf, size_t len,
4-3-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
include/migration/qemu-file-types.h | 2 ++
migration/qemu-file.h | 1 -
net/slirp.c | 55 +
slirp/libslirp.h| 8 +
slirp/s
Signed-off-by: Samuel Thibault
---
slirp/Makefile | 47 +++
1 file changed, 47 insertions(+)
create mode 100644 slirp/Makefile
diff --git a/slirp/Makefile b/slirp/Makefile
new file mode 100644
index 00..6d48f626ba
--- /dev/null
+++ b/slirp/Ma
Signed-off-by: Samuel Thibault
---
net/slirp.c | 1 +
slirp/misc.c | 3 +++
slirp/slirp.c | 5 +
slirp/socket.c| 1 +
slirp/tcp_input.c | 2 ++
slirp/tcp_subr.c | 2 ++
slirp/udp.c | 1 +
7 files changed, 15 insertions(+)
diff --git a/net/slirp.c b/net/slirp.c
lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 2 +
slirp/libslirp.h| 2 +
slirp/stream.c | 119 +
slirp/stream.h | 34
slirp/vmstate.c | 413
slirp/vmstate.h
From: Marc-André Lureau
Prepare for making slirp/ a standalone project.
Remove some useless includes while at it.
Signed-off-by: Marc-André Lureau
Message-Id: <20190212162524.31504-5-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
net/slirp.c | 2 +-
: secal...@redhat.com
Message-Id: <1551476756-25749-1-git-send-email-w...@wbowling.info>
Signed-off-by: Samuel Thibault
Reviewed-by: Philippe Mathieu-Daudé
---
slirp/tcp_subr.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
dre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
Makefile | 8 +++---
Makefile.objs | 1 -
Makefile.target| 5 +---
configure | 65 +++---
net/Makefile.objs | 2 ++
net/slirp.c| 2 +-
util/Makefile.objs | 1 +
7
From: Marc-André Lureau
QEMU no longer includes it, and treats slirp/ as a separate project.
Signed-off-by: Marc-André Lureau
Message-Id: <20190212162524.31504-8-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 36 -
/samuel-thibault
for you to fetch changes up to be1911ff7504be95d5cf2c18bc99ce07246a91e5:
slirp: remove QEMU Makefile.objs (2019-03-07 12:46:31 +0100)
Slirp updates
Greg Kurz (1):
slirp: Fix build with gcc 9
Marc-André Lureau (7
struct layout. It doesn't need to be packed
actually. Just drop SLIRP_PACKED.
Signed-off-by: Greg Kurz
Message-Id: <155143315831.102868.17515265400523392682.st...@bahia.lan>
Reviewed-by: Peter Maydell
Signed-off-by: Samuel Thibault
---
slirp/slirp.h | 2 +-
1 file changed, 1 insertion(+)
62524.31504-4-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 2 +-
slirp/util.c| 4 ++--
slirp/util.h| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/slirp/Makefile.objs b/slirp/Makefile.objs
index 69e140f965..e91daf0e91 10
From: Marc-André Lureau
QEMU no longer includes it, and treats slirp/ as a separate project.
Signed-off-by: Marc-André Lureau
Message-Id: <20190212162524.31504-8-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 36 -
Signed-off-by: Samuel Thibault
Reviewed-by: Philippe Mathieu-Daudé
---
Based-on: <1551476756-25749-1-git-send-email-w...@wbowling.info>
---
slirp/tcp_subr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index ef9d99c154..1d7e
: <20190301064809.3074-1-llyzs@gmail.com>
Signed-off-by: Samuel Thibault
---
slirp/socket.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/slirp/socket.c b/slirp/socket.c
index 4876ea3f31..4dc5e2907d 100644
--- a/slirp/socket.c
+++ b/slirp/socket.c
@@ -529,6 +
4-3-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
include/migration/qemu-file-types.h | 2 ++
migration/qemu-file.h | 1 -
net/slirp.c | 55 +
slirp/libslirp.h| 8 +
slirp/s
From: Marc-André Lureau
Prepare for making slirp/ a standalone project.
Remove some useless includes while at it.
Signed-off-by: Marc-André Lureau
Message-Id: <20190212162524.31504-5-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
net/slirp.c | 2 +-
dre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
Makefile | 8 +++---
Makefile.objs | 1 -
Makefile.target| 5 +---
configure | 65 +++---
net/Makefile.objs | 2 ++
net/slirp.c| 2 +-
util/Makefile.objs | 1 +
7
From: Marc-André Lureau
QEMU no longer includes it, and treats slirp/ as a separate project.
Signed-off-by: Marc-André Lureau
Message-Id: <20190212162524.31504-8-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 36 -
Signed-off-by: Samuel Thibault
---
slirp/Makefile | 47 +++
1 file changed, 47 insertions(+)
create mode 100644 slirp/Makefile
diff --git a/slirp/Makefile b/slirp/Makefile
new file mode 100644
index 00..6d48f626ba
--- /dev/null
+++ b/slirp/Ma
lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 2 +
slirp/libslirp.h| 1 +
slirp/stream.c | 119 +
slirp/stream.h | 34
slirp/vmstate.c | 413
slirp/vmstate.h
: secal...@redhat.com
Message-Id: <1551476756-25749-1-git-send-email-w...@wbowling.info>
Signed-off-by: Samuel Thibault
Reviewed-by: Philippe Mathieu-Daudé
---
slirp/tcp_subr.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
/samuel-thibault
for you to fetch changes up to dd9eff6c839db3996c157f0a6a4e18f95683e58c:
slirp: remove QEMU Makefile.objs (2019-03-07 00:12:34 +0100)
Slirp updates
Greg Kurz (1):
slirp: Fix build with gcc 9
Marc-André Lureau (7
Signed-off-by: Samuel Thibault
---
net/slirp.c | 1 +
slirp/misc.c | 3 +++
slirp/slirp.c | 5 +
slirp/socket.c| 1 +
slirp/tcp_input.c | 2 ++
slirp/tcp_subr.c | 2 ++
slirp/udp.c | 1 +
7 files changed, 15 insertions(+)
diff --git a/net/slirp.c b/net/slirp.c
: <20190301064809.3074-1-llyzs@gmail.com>
Signed-off-by: Samuel Thibault
---
slirp/socket.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/slirp/socket.c b/slirp/socket.c
index 4876ea3f31..4dc5e2907d 100644
--- a/slirp/socket.c
+++ b/slirp/socket.c
@@ -529,6 +
62524.31504-4-marcandre.lur...@redhat.com>
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 2 +-
slirp/util.c| 4 ++--
slirp/util.h| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/slirp/Makefile.objs b/slirp/Makefile.objs
index 69e140f965..e91daf0e91 10
Signed-off-by: Samuel Thibault
Reviewed-by: Philippe Mathieu-Daudé
---
Based-on: <1551476756-25749-1-git-send-email-w...@wbowling.info>
---
slirp/tcp_subr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index ef9d99c154..1d7e
struct layout. It doesn't need to be packed
actually. Just drop SLIRP_PACKED.
Signed-off-by: Greg Kurz
Message-Id: <155143315831.102868.17515265400523392682.st...@bahia.lan>
Reviewed-by: Peter Maydell
Signed-off-by: Samuel Thibault
---
slirp/slirp.h | 2 +-
1 file changed, 1 insertion(+)
Applied to my tree, thanks!
font. This also makes the curses backend set the LC_CTYPE locale to "" to
allow curses to emit wide characters.
Signed-off-by: Samuel Thibault
Cc: Eddie Kohler
---
configure | 5 +-
qapi/ui.json| 14 +++
qemu-options.hx | 5 +-
ui/curses.c
Hello,
This adds support for wide output in the curses frontend
Difference with previous version:
- Add more rationale in commit message
- Move charset option to curses-only section.
Samuel Thibault (2):
iconv: detect and make curses depend on it
curses: add option to specify VGA font
curses will use it for proper wide output support.
Signed-off-by: Samuel Thibault
---
configure | 40
vl.c | 2 +-
2 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 540bee19ba..9979ca708d 100755
value is a key code or a character
(curses with wide support), or possibly both (curses without wide support).
The translation tables thus also need to be separated into key code
translation and character translation. The curses2foo helper makes it easier
to use them.
Signed-off-by: Samuel Thibault
Gerd Hoffmann, le lun. 04 mars 2019 09:03:38 +0100, a ecrit:
> On Sun, Mar 03, 2019 at 11:44:30AM +0100, Samuel Thibault wrote:
> > This uses iconv to convert glyphs from the specified VGA font encoding to
> > unicode, and makes use of cchar_t instead of chtype when using ncur
101 - 200 of 1564 matches
Mail list logo