This uses the console API to record the window ID of the SDL2 windows.
Signed-off-by: Samuel Thibault
---
ui/sdl2.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/ui/sdl2.c b/ui/sdl2.c
index 30d2a3c..b464f16 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -761,6 +761,7 @@ void
Hello,
Dr. David Alan Gilbert (git), on Thu 27 Oct 2016 16:32:17 +0100, wrote:
> This converts the remaining components, except for the loop, to VMState.
>
> +/* TODO: Add loop */
> +VMSTATE_UINT16_V(ip_id, Slirp, 2),
> +VMSTATE_STRUCT_ARRAY(bootp_clients, Slirp, NB_BOOTP_
Hello,
Dr. David Alan Gilbert (git), on Thu 27 Oct 2016 16:32:16 +0100, wrote:
> -case AF_INET:
> -qemu_put_be32(f, so->so_faddr.s_addr);
> -qemu_put_be16(f, so->so_fport);
> -break;
> +if (version_id >= 4 && !is_inet) {
> +error_report("%s: so_ffamily unkn
s.
>
> Signed-off-by: Dr. David Alan Gilbert
> Reviewed-by: David Gibson
Acked-by: Samuel Thibault
> ---
> slirp/sbuf.h | 4 +-
> slirp/slirp.c | 116
> ++
> 2 files changed, 78 insertions(+), 42 deletions(-)
>
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 f83cdf8..42af965 100755
--- a/configure
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 ncursesw,
which allows to store all wide char as well as the WACS values.
Signed-off-by: Samuel Thibault
---
configure | 5 +-
hw/display
Hello,
This is a respin of the output part of curses wide output.
- curses has been made to now depend on iconv
- this allowed to just always use iconv, including to convert from the default
CP437 encoding.
- this also avoids the problematic usage of L'\uxxxx'.
Samuel Thibault (2
value is a key code or a character
(wide support), or possibly both (non-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
---
This is to be
, which
should be more than enough.
Signed-off-by: Samuel Thibault
---
rebased on master
diff --git a/ui/curses.c b/ui/curses.c
index 2e132a7..3599295 100644
--- a/ui/curses.c
+++ b/ui/curses.c
@@ -216,7 +216,7 @@ static void curses_refresh(DisplayChangeListener *dcl)
keycode
Markus Armbruster, on Fri 28 Oct 2016 08:51:20 +0200, wrote:
> Samuel Thibault writes:
>
> > Peter Maydell, on Thu 27 Oct 2016 17:52:17 +0100, wrote:
> >> http://www.thecodingforums.com/threads/wchar_t-is-useless.806149/#post-4398211
> >
> > UURrgll... So we ca
Peter Maydell, on Thu 27 Oct 2016 17:52:17 +0100, wrote:
> On 27 October 2016 at 17:36, Samuel Thibault wrote:
> > Peter Maydell, on Thu 27 Oct 2016 17:14:52 +0100, wrote:
> >> On 27 October 2016 at 16:58, Samuel Thibault
> >> wrote:
> >> > Gerd Hoff
Peter Maydell, on Thu 27 Oct 2016 17:14:52 +0100, wrote:
> On 27 October 2016 at 16:58, Samuel Thibault wrote:
> > Gerd Hoffmann, on Thu 27 Oct 2016 17:55:47 +0200, wrote:
> >> /home/kraxel/projects/qemu/ui/curses.c:627:18: error: universal
> >> character names ar
Gerd Hoffmann, on Thu 27 Oct 2016 17:55:47 +0200, wrote:
> /home/kraxel/projects/qemu/ui/curses.c:627:18: error: universal
> character names are only valid in C++ and C99 [-Werror]
> case L'\u23bd':
Another way could be to assume unicode encoding of wchar_t characters
(which looks ver
g
> > accented
> > letters, and it doesn't depend on patch 4.
>
> Hmm, seems #5 needs a rebase, doesn't apply cleanly.
Here is a patch rebased on current master.
Samuel
commit c230fb0bee630a1a138acce542ba6ed4aabdc232
Author: Samuel Thibault
Date: Wed Jun 22 23:41:50
Gerd Hoffmann, on Wed 26 Oct 2016 14:51:00 +0200, wrote:
> On Sa, 2016-10-15 at 19:24 +0200, Samuel Thibault wrote:
> > Peter Maydell, on Wed 22 Jun 2016 21:49:04 +0100, wrote:
> > > On 22 June 2016 at 16:44, Samuel Thibault
> > > wrote:
> > > > By default,
Gerd Hoffmann, on Wed 26 Oct 2016 14:37:14 +0200, wrote:
> On So, 2016-10-23 at 21:54 +0200, Samuel Thibault wrote:
> > Signed-off-by: Samuel Thibault
>
> Hmm, this one throws strange errors at me:
>
> kraxel@nilsson ~/projects/qemu (queue/ui)# git am -3
> ~/Downloads/p
Hello,
Gerd Hoffmann, on Wed 26 Oct 2016 12:05:55 +0200, wrote:
> Back online now after being sick for a while.
Oh, sorry about that, hoping you're fine.
> > Samuel Thibault, on Sat 15 Oct 2016 21:53:03 +0200, wrote:
> > > This patch series adds wide character support to
Hello,
Gerd Hoffmann, on Wed 26 Oct 2016 12:17:44 +0200, wrote:
> On So, 2016-10-23 at 21:54 +0200, Samuel Thibault wrote:
> > This adds two console functions, qemu_console_set_window_id and
> > qemu_graphic_console_get_window_id, to let graphical backend record the
>
Hello,
It seems that in the flurry of qemu-devel mails, I missed this answer.
Paolo Bonzini wrote:
> > +#ifdef CONFIG_ICONV
> > +if (font_charset) {
> > +unsigned char ch;
> > +wchar_t wch;
> > +char *pch, *pwch;
> > +size_t sch, swch;
> > +iconv_t conv
Hello,
Ping?
Samuel Thibault, on Sat 15 Oct 2016 21:53:03 +0200, wrote:
> This patch series adds wide character support to the curses frontend of qemu,
> thus allowing to fix a lot of input and output issues with e.g. accented
> letters
> and semi-graphic glyphs. Since qemu ca
We do not want to catch the BrlAPI input/ouput immediately, but only
when the guest has started discussing withour virtual device.
This notably fixes input before the guest driver has started.
Signed-off-by: Samuel Thibault
---
backends/baum.c | 81
Signed-off-by: Samuel Thibault
---
backends/baum.c | 234 +++-
1 file changed, 130 insertions(+), 104 deletions(-)
diff --git a/backends/baum.c b/backends/baum.c
index c537141..9f9f7c0 100644
--- a/backends/baum.c
+++ b/backends/baum.c
@@ -1,7
Gtk versions of the code.
Signed-off-by: Samuel Thibault
---
backends/baum.c | 25 +++--
include/ui/console.h | 3 +++
ui/console.c | 18 ++
ui/gtk.c | 25 +++--
ui/sdl.c | 25
This is a series of updates for the baum driver, to improve its
integration of input/output and fix focus tracking with sdl2 and
gtk backends.
The difference with the previously-posted series is that it should
fix the win32 build. Loads of thanks for having set up the build bot :)
Samuel
Signed-off-by: Samuel Thibault
---
backends/baum.c | 234 +++-
1 file changed, 130 insertions(+), 104 deletions(-)
diff --git a/backends/baum.c b/backends/baum.c
index c537141..9f9f7c0 100644
--- a/backends/baum.c
+++ b/backends/baum.c
@@ -1,7
Gtk versions of the code.
Signed-off-by: Samuel Thibault
---
backends/baum.c | 20 +++-
include/ui/console.h | 3 +++
ui/console.c | 18 ++
ui/gtk.c | 15 +--
ui/sdl.c | 16
ui/sdl2.c
patch3.
Samuel Thibault (3):
Add dots keypresses support to the baum braille device
Defer BrlAPI tty acquisition to when guest starts using device
Move getting XWindow ID from baum driver to graphical backend
backends/baum.c | 302
We do not want to catch the BrlAPI input/ouput immediately, but only
when the guest has started discussing withour virtual device.
This notably fixes input before the guest driver has started.
Signed-off-by: Samuel Thibault
---
backends/baum.c | 76
as to specify the keyboard layout with
-k). I used option -f to make it simple for now, but I welcome any other idea :)
Samuel
Samuel Thibault (5):
curses: fix left/right arrow translation
curses: Use cursesw instead of curses
curses: use wide output functions
curses: add option to specify VGA
value is a key code or a character
(wide support), or possibly both (non-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
---
ui/curses.c
This makes use of cchar_t instead of chtype when using ncursesw, which
allows to store a wide char as well as the WACS values.
This also allows to complete the printable glyphs list beyond ascii and
the ACS values.
Signed-off-by: Samuel Thibault
---
configure| 5 +-
hw/display
Use ncursesw package instead of curses on non-mingw, and check a few
functions.
Also take cflags from pkg-config, since cursesw headers may be in a
separate, non-default directory.
Signed-off-by: Samuel Thibault
---
configure | 29 -
1 file changed, 20 insertions
In default VGA font, left/right arrow are glyphs 0x1a and 0x1b, not 0x0a and
0x0b.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/curses.c b/ui/curses.c
index c8be4b7..3599295 100644
--- a/ui/curses.c
+++ b/ui/curses.c
This detects and uses iconv to convert glyphs from the specified VGA font
encoding to unicode.
Signed-off-by: Samuel Thibault
---
configure | 37 +
include/sysemu/sysemu.h | 1 +
qemu-options.hx | 5 -
ui/curses.c | 41
Hello,
Peter Maydell, on Wed 22 Jun 2016 21:49:04 +0100, wrote:
> On 22 June 2016 at 16:44, Samuel Thibault
> wrote:
> > By default, curses will only report single ESC key event after 1s delay,
> > since ESC is also used for keypad escape sequences. This however makes users
&g
ability.
>
> Tested with
>-netdev user,id=unet,guestfwd=tcp:10.0.2.50:-tcp:localhost:
>
> with a nc hung off port and having the guest spew 'seq'
> to the port.
>
> Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Samuel Thibault
Thanks,
Samuel
Hello,
Dr. David Alan Gilbert, on Wed 28 Sep 2016 19:00:45 +0100, wrote:
> I can see that migrating a VM with slirp makes sense (actually more
> commonly saving a VM with slirp to a file); but when that happens
> aren't you likely to lose all the network connections anyway?
Yes.
> If that's the
nit_netdev (net.c:1498)
> ==18447==by 0x7F1F99: qemu_opts_foreach (qemu-option.c:1116)
> ==18447==by 0x696E60: net_init_clients (net.c:1516)
> ==18447== Address 0x0 is not stack'd, malloc'd or (recently) free'd
>
> Signed-off-by: Marc-André Lureau
Reviewed-by: Samue
launchpad.net/qemu/+bug/1613133
> Signed-off-by: Thomas Huth
Reviewed-by: Samuel Thibault
> ---
> slirp/slirp.c | 10 +-
> slirp/slirp.h | 4 ++--
> 2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/slirp/slirp.c b/slirp/slirp.c
> index 47a1652..d6
ated
buffer first. However, at two spots, the memset() was not removed
from the calling function, so it currently done twice in these code
paths. Thus let's delete these superfluous memsets in the calling
functions now.
Signed-off-by: Thomas Huth
Signed-off-by: Samuel Thibault
---
slirp/tft
This makes get_dns_addr address family-agnostic, thus allowing to add the
IPv6 case.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6.h | 9 +++
slirp/libslirp.h | 1 +
slirp/slirp.c| 79
slirp
The following changes since commit 9a48e3670030148a8d00c8d4d4cd7f051c0d9f39:
Added Bulgarian translation (2016-07-01 16:06:57 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up to
This adds the RDNSS option to IPv6 router advertisements, so that the guest
can autoconfigure the DNS server address.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
Changes since last submission:
- Disable on windows, until we have support for it
---
slirp/ip6_icmp.c | 27
,ipv4=no,tftp=/path/to/tftp,bootfile=ppc64.img
Signed-off-by: Thomas Huth
Signed-off-by: Samuel Thibault
---
slirp/Makefile.objs | 2 +-
slirp/dhcpv6.c | 209
slirp/dhcpv6.h | 22 ++
slirp/udp6.c| 13 +++-
4 files
They look like fe80::%eth0
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
Changes since last submission:
- fix windows build
---
slirp/libslirp.h | 2 +-
slirp/slirp.c| 32 +++-
slirp/socket.c | 5 -
3 files changed, 32 insertions(+), 7
Separate get_dns_addr into get_dns_addr_cached and get_dns_addr_resolv_conf
to make conversion to IPv6 easier.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/slirp.c | 53 ++---
1 file changed, 34 insertions(+), 19 deletions
Hello,
Thomas Huth, on Tue 28 Jun 2016 12:48:31 +0200, wrote:
> Provide basic support for stateless DHCPv6 (see RFC 3736) so
> that guests can also automatically boot via IPv6 with SLIRP
> (for IPv6 network booting, see RFC 5970 for details).
>
> Tested with:
>
> qemu-system-ppc64 -nographic
Thomas Huth, on Tue 28 Jun 2016 09:01:50 +0200, wrote:
> The options in the DHCPv6 packet do not have any alignment
> requirement, so the can also start at uneven addresses.
Aow, OK :/
> So I'd like to keep the current code, but I can add some more comments
> if you think that helps to understand
Hello,
Thomas Huth, on Sun 26 Jun 2016 10:04:02 +0200, wrote:
> Provide basic support for stateless DHCPv6 (see RFC 3736) so
> that guests can also automatically boot via IPv6 with SLIRP
> (for IPv6 network booting, see RFC 5970 for details).
Cool :)
I'm here commenting in my reading order, not
>
> Signed-off-by: Thomas Huth
Thanks!
Reviewed-by: Samuel Thibault
> ---
> slirp/tftp.c | 4
> 1 file changed, 4 deletions(-)
>
> diff --git a/slirp/tftp.c b/slirp/tftp.c
> index 12b5ff6..3673402 100644
> --- a/slirp/tftp.c
> +++ b/slirp/tftp.c
> @
This makes use of cchar_t instead of chtype when using ncursesw, which
allows to store a wide char as well as the WACS values.
This also allows to complete the printable glyphs list beyond ascii and the
ACS values.
Signed-off-by: Samuel Thibault
---
hw/display/vga.c | 4 +-
include/ui
In default VGA font, left/right arrow are glyphs 0x1a and 0x1b, not 0x0a and
0x0b.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/curses.c b/ui/curses.c
index 49d3ce6..438b8be 100644
--- a/ui/curses.c
+++ b/ui/curses.c
This detects and uses iconv to convert glyphs from the specified VGA font
encoding to unicode.
Signed-off-by: Samuel Thibault
---
configure | 37 +
include/sysemu/sysemu.h | 1 +
qemu-options.hx | 20
ui/curses.c
Signed-off-by: Samuel Thibault
---
configure | 64 ++-
1 file changed, 63 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 10cb212..ff10012 100755
--- a/configure
+++ b/configure
@@ -203,6 +203,7 @@ bluez
value is a key code or a character
(wide support), or possibly both (non-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
---
ui/curses.c
as to specify the keyboard layout with
-k). I used option -f to make it simple for now, but I welcome any other idea :)
Samuel
Samuel Thibault (5):
curses: fix left/right arrow translation
curses: Use cursesw when available
curses: use wide output functions
curses: add option to specify VGA
Peter Maydell, on Wed 22 Jun 2016 21:49:04 +0100, wrote:
> On 22 June 2016 at 16:44, Samuel Thibault
> wrote:
> > By default, curses will only report single ESC key event after 1s delay,
> > since ESC is also used for keypad escape sequences. This however makes users
> >
, which
should be more than enough.
Signed-off-by: Samuel Thibault
---
ui/curses.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ui/curses.c b/ui/curses.c
index b475589..49d3ce6 100644
--- a/ui/curses.c
+++ b/ui/curses.c
@@ -222,7 +222,7 @@ static void curses_refresh
Signed-off-by: Samuel Thibault
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 17f15ad..ce535a9 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -306,7 +306,7 @@ STEXI
@findex -k
Use keyboard layout @var
Laurent Vivier, on Tue 31 May 2016 18:36:01 +0200, wrote:
> Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).
>
> This patch is the result of coccinelle script
> scripts/coccinelle/round.cocci
>
> Signed-off-by: Laurent Vivier
Acked-by: Samuel Thibault
> ---
>
: Samuel Thibault
---
slirp/ip6_icmp.c | 1 -
slirp/ip_input.c | 1 -
slirp/udp6.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/slirp/ip6_icmp.c b/slirp/ip6_icmp.c
index 09571bc..48016a9 100644
--- a/slirp/ip6_icmp.c
+++ b/slirp/ip6_icmp.c
@@ -9,7 +9,6 @@
#include "qemu/ti
Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160513-1' into
staging (2016-05-13 13:39:38 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up to 9892663dc486755b5534ff8a77913e
not support Ultrix anymore, so no
need to keep the code for this platform anymore.
Signed-off-by: Thomas Huth
Reviewed-by: Peter Maydell
Signed-off-by: Samuel Thibault
---
slirp/misc.c | 21 -
slirp/slirp.h| 28
slirp/slirp_config.h
Peter Maydell
Signed-off-by: Samuel Thibault
---
slirp/slirp_config.h | 87
1 file changed, 87 deletions(-)
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index 896d802..a5fa36e 100644
--- a/slirp/slirp_config.h
+++ b/slirp/slirp_con
From: Thomas Huth
These hunks are apparently not used anymore, so let's delete them.
Signed-off-by: Thomas Huth
Reviewed-by: Peter Maydell
Signed-off-by: Samuel Thibault
---
slirp/slirp.h | 22 --
1 file changed, 22 deletions(-)
diff --git a/slirp/slirp.h b/
Hello,
Stefan Hajnoczi, on Mon 09 May 2016 13:07:52 +0100, wrote:
> From: Samuel Thibault
>
> On Darwin, connect, sendto and friends want the exact size of the sockaddr,
> not more (and in particular, not sizeof(struct sockaddr_storaget))
>
> This commit adds the sockaddr
.
Signed-off-by: Samuel Thibault
Reviewed-by: John Arbuckle
---
slirp/ip_icmp.c | 2 +-
slirp/socket.c | 2 +-
slirp/socket.h | 12
slirp/tcp_subr.c | 2 +-
4 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/slirp/ip_icmp.c b/slirp/ip_icmp.c
index 590dada..5ffc7a6
The following changes since commit 8d0d9b9f67d6bdee9eaec1e8c1222ad91dc4ac01:
Update version for v2.6.0-rc3 release (2016-04-21 17:46:50 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up to
Hello,
Peter wrote:
> Hi; looking at http://wiki.qemu.org/Planning/2.6#Known_issues and
> the mailing list we seem to be in reasonable shape for the 2.6 release.
> I would ideally like the 2.6rc3 tarball which we will make later this
> week to be the final one before full release.
>
> This is the
On darwin, connect, sendto and friends want the exact size of the sockaddr,
not more. This adds the sockaddr_size helper to be used when passing a
sockaddr size to such function, and makes use of it for sendto and connect
calls.
Signed-off-by: Samuel Thibault
---
slirp/ip_icmp.c | 2
Programmingkid, on Wed 27 Apr 2016 20:25:26 -0400, wrote:
> Found out which patch was causing problems. This one:
>
> commit 5379229a2708df3a1506113315214c3ce5325859
> Author: Guillaume Subiron
> Date: Sat Dec 19 22:24:59 2015 +0100
>
> slirp: Factorizing address translation
Could you tr
Programmingkid, on Wed 27 Apr 2016 20:25:26 -0400, wrote:
> Found out which patch was causing problems. This one:
>
> commit 5379229a2708df3a1506113315214c3ce5325859
> Author: Guillaume Subiron
> Date: Sat Dec 19 22:24:59 2015 +0100
>
> slirp: Factorizing address translation
Thanks!
I m
Wei Liu, on Mon 18 Apr 2016 15:40:15 +0100, wrote:
> This patch is already queued by Stefano.
Ah, sorry, I missed it.
Samuel
Hello,
Peter wrote:
> Hi; looking at http://wiki.qemu.org/Planning/2.6#Known_issues and
> the mailing list we seem to be in reasonable shape for the 2.6 release.
> I would ideally like the 2.6rc3 tarball which we will make later this
> week to be the final one before full release.
>
> This is the
should not be excluded.
From: Wei Liu
Signed-off-by: Samuel Thibault
Tested-by: Hao Xudong
---
hw/display/xenfb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c
index 40b096a..9866dfd 100644
--- a/hw/display/xenfb.c
+++ b/hw/di
Hello,
Stefan Weil, on Thu 14 Apr 2016 19:46:17 +0200, wrote:
> Michael Fritscher reported that it is still slow, so
> more fixes might be needed.
Michael, what do you mean by "slow", the bandwidth, or the time to
connect? Does it help if you disable ipv6?
Samuel
ST to the
guest in this case.
Signed-off-by: Steven Luo
Reviewed-by: Edgar E. Iglesias
Signed-off-by: Samuel Thibault
---
slirp/socket.c| 2 +-
slirp/tcp_input.c | 6 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/slirp/socket.c b/slirp/socket.c
index 0d67b12..bd97b2d 1
Peter Maydell, on Thu 07 Apr 2016 11:37:45 +0100, wrote:
> Thanks; Samuel, can I ask you to respin with that line added?
Done so.
Samuel
The following changes since commit 7acbff99c6c285b3070bf0e768d56f511e2bf346:
Update version for v2.6.0-rc1 release (2016-04-05 21:53:18 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up to
ding style adjustments]
Signed-off-by: Steven Luo
Signed-off-by: Samuel Thibault
---
slirp/socket.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/slirp/socket.c b/slirp/socket.c
index 7f022a6..0d67b12 100644
--- a/slirp/socket.c
+++ b/slirp/socket.c
@@ -176
From: Steven Luo
Samuel Thibault pointed out that it's possible that slirp_pollfds_poll()
will try to use a socket even after soread() returns an error, resulting
in an use-after-free if the socket was removed while handling the error.
Avoid this by refusing to continue to work with the s
From: Steven Luo
Signed-off-by: Steven Luo
Reviewed-by: Edgar E. Iglesias
Signed-off-by: Samuel Thibault
---
slirp/tcp_subr.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index dbfd2c6..32ff452 100644
--- a/slirp/tcp_subr.c
From: Steven Luo
Samuel Thibault pointed out that it's possible that slirp_pollfds_poll()
will try to use a socket even after soread() returns an error, resulting
in an use-after-free if the socket was removed while handling the error.
Avoid this by refusing to continue to work with the s
Steven Luo
Signed-off-by: Samuel Thibault
---
slirp/socket.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/slirp/socket.c b/slirp/socket.c
index 7f022a6..0d67b12 100644
--- a/slirp/socket.c
+++ b/slirp/socket.c
@@ -176,9 +176,24 @@ soread(struct
The following changes since commit 7acbff99c6c285b3070bf0e768d56f511e2bf346:
Update version for v2.6.0-rc1 release (2016-04-05 21:53:18 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up to
From: Steven Luo
Signed-off-by: Steven Luo
Reviewed-by: Edgar E. Iglesias
Signed-off-by: Samuel Thibault
---
slirp/tcp_subr.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index dbfd2c6..32ff452 100644
--- a/slirp/tcp_subr.c
ST to the
guest in this case.
Signed-off-by: Steven Luo
Reviewed-by: Edgar E. Iglesias
Signed-off-by: Samuel Thibault
---
slirp/socket.c| 2 +-
slirp/tcp_input.c | 6 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/slirp/socket.c b/slirp/socket.c
index 0d67b12..bd97b2d 1
Hello,
Steven Luo, on Wed 06 Apr 2016 17:00:50 -0700, wrote:
> That said, sorecvoob() also calls soread(), so I'd guess we need to
> deal with the possibility that soread() frees the socket in that case
> as well?
Indeed, then sorecvoob() needs to return that information, so
slirp_pollfds_poll ca
Hello,
Thanks for this!
ste...@steven676.net, on Tue 05 Apr 2016 17:13:58 -0700, wrote:
> The second,
> which fixes delivery of an RST interrupting an already-established TCP
> connection, was submitted by Edgar Iglesias in 2008 and appears to have
> been missed then. The last patch fixes the ca
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
net/slirp.c | 36 ++--
qapi-schema.json | 8
qemu-options.hx | 8
The following changes since commit de1d099a448beb2ec39af4bd9ce4dd6452a18cb5:
Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault-2' into
staging (2016-04-01 11:15:20 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git t
Samuel Thibault, on Fri 01 Apr 2016 00:00:43 +0200, wrote:
> Just realizing... We'd need to add AF_INET6 cases here too, to be able
> to save/restore a VM using ipv6 connections.
That seems quite involved however, maybe we should postpone that to
later?
Samuel
using
the old behavior if we've detected version 3 or less.
Signed-off-by: Thomas Huth
Signed-off-by: Samuel Thibault
---
slirp/slirp.c | 44 ++--
1 file changed, 26 insertions(+), 18 deletions(-)
diff --git a/slirp/slirp.c b/slirp/slirp.c
index 3481f
MAINTAINERS: Delete invalid maintainer entries of the Exynos section
(2016-03-31 18:21:01 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault-2
for you to fetch changes up to eaf136f9a21e02a2f55346e44d2d88df37b2cde3:
slirp
s fix
> this by checking the version ID of the migration stream and by using
> the old behavior if we've detected version 3 or less.
>
> Signed-off-by: Thomas Huth
Reviewed-by: Samuel Thibault
Just realizing... We'd need to add AF_INET6 cases here too, to be able
to sa
Peter Maydell, on Thu 31 Mar 2016 15:44:13 +0100, wrote:
> if (get_dns6_addr(&sin6->sin6_addr,
> &sin6->sin6_scope_id) < 0) {
> ^
> In file included from
> /home/petmay01/linaro/qemu-for-merges/slirp/slirp.h:99:0,
> from /home/petmay01/linaro/qemu
Peter Maydell, on Thu 31 Mar 2016 15:11:27 +0100, wrote:
> On 31 March 2016 at 13:51, Samuel Thibault wrote:
> > Peter Maydell, on Thu 31 Mar 2016 13:47:28 +0100, wrote:
> >> On 31 March 2016 at 10:20, Samuel Thibault
> >> wrote:
> >> > Update version f
Peter Maydell, on Thu 31 Mar 2016 13:47:28 +0100, wrote:
> On 31 March 2016 at 10:20, Samuel Thibault
> wrote:
> > Update version for v2.6.0-rc0 release (2016-03-30 19:25:40 +0100)
> >
> > are available in the git repository at:
> >
> > http://people
Vasiliy Tolstov, on Thu 31 Mar 2016 15:04:02 +0300, wrote:
> 2016-03-31 15:03 GMT+03:00 Vasiliy Tolstov :
> > This is debian. I'm use old patch for qemu-2.1.0.
>
>
> May be my problem that my host system have ipv6 address but i'm not
> able to connect to remote servers via ipv6.
But your host sy
Vasiliy Tolstov, on Thu 31 Mar 2016 15:03:31 +0300, wrote:
> 2016-03-31 14:57 GMT+03:00 Samuel Thibault :
> > I'm surprised that the vm tries to access the network via ipv6 by
> > default. Which OS is this? With the default fec0:: prefix, ipv4
> > should be preferre
1001 - 1100 of 1571 matches
Mail list logo