No code change.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
---
slirp/slirp.h | 3 +-
slirp/tcp_input.c | 95 +++---
slirp/tcp_output.c | 29 -
slirp/tcp_subr.c | 50 ++--
4 file
This patch factorizes the tcpiphdr structure to put the IPv4 fields in
an union, for addition of version 6 in further patch.
Using some macros, retrocompatibility of the existing code is assured.
This patch also fixes the SLIRP_MSIZE and margin computation in various
functions, and makes them comp
Basically, this patch adds some switch in various TCP functions to
prepare them for the IPv6 case.
To have something to "switch" in tcp_input() and tcp_respond(), a new
argument is used to give them the sa_family of the addresses they are
working on.
Signed-off-by: Guillaume Subiron
---
slirp/i
Disambiguation : icmp_error is renamed into icmp_send_error, since it
doesn't manage errors, but only sends ICMP Error messages.
Adding icmp6_send_error to send ICMPv6 Error messages. This function is
simpler than the v4 version.
Adding some calls in various functions to send ICMP errors, when a
r
This patch adds the functions needed to handle IPv6 packets. ICMPv6 and
NDP headers are implemented.
Slirp is now able to send NDP Router or Neighbor Advertisement when it
receives Router or Neighbor Solicitation. Using a 64bit-sized IPv6
prefix, the guest is now able to perform stateless autoconf
On 07/01/2015 02:22 PM, Markus Armbruster wrote:
> To eliminate the temptation for clients to look up types by name
> (which are not ABI), replace all type names by meaningless strings.
>
> Reduces output of query-schema by 9 out of 80KiB.
Among other things, it replaced all instances of 'str' wi
Oh, just noticed, this is missing "v4" in the subject line.
On 07/20/2015 05:46 PM, Alexey Kardashevskiy wrote:
Yet another try, reworked the whole patchset.
Here are few patches to prepare an existing listener for handling memory
preregistration for SPAPR guests running on POWER8.
This used
On 07/29/2015 12:14 AM, Paolo Bonzini wrote:
>
>
> On 28/07/2015 15:29, Wen Congyang wrote:
>>>
>>> If you call it just once, you have the same problem as before. In fact,
>>> it's worse because instead of having an overflow every 2^31 periods, you
>>> have one every 2 periods. Instead, by
From: Liu Yuan
Current sheepdog driver use a range update_inode(min_idx, max_idx) for batching
the updates. But there is subtle problem by determining min_idx and max_idx:
for a single create request, min_idx == max_idx, so actually we just update one
one bit as expected.
Suppose we have 2 crea
Hi,
since qemu 2.4rc2, when I'm using iothreads, the vm is hanging, qmp queries are
not working, vnc not working. (qemu process don't crash).
qemu 2.4 rc1 works fine. (don't have bisect it yet)
qemu command line:
qemu -chardev socket,id=qmp,path=/var/run/qemu-server/150.qmp,server,nowait
-mo
It is important to include this for any blocking poll, on the other hand it is
also OK to exclude it otherwise.
Signed-off-by: Fam Zheng
---
async.c | 4 ++--
include/block/aio.h | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/async.c b/async.c
index 43f9425..0b
The parameter is added but not used.
The callers are converted with following coccinelle semantic patch:
@@
expression E1, E2, E3, E4, E5;
@@
(
-aio_set_event_notifier(E1, E2, E3)
+aio_set_event_notifier(E1, E2, AIO_CLIENT_UNSPECIFIED, E3)
|
-aio_set_fd_handler(E1,
v2: Switch to disable/enable model. [Paolo]
Most existing nested aio_poll()'s in block layer are inconsiderate of
dispatching potential new r/w requests from ioeventfds and nbd exports, which
might result in responsiveness issues (e.g. bdrv_drain_all will not return when
new requests keep coming),
Signed-off-by: Fam Zheng
---
aio-posix.c | 17 -
include/block/aio.h | 24
2 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/aio-posix.c b/aio-posix.c
index d25fcfc..840b769 100644
--- a/aio-posix.c
+++ b/aio-posix.c
@@ -26,6 +26,7 @@
So it can be used by aio_poll later.
Signed-off-by: Fam Zheng
---
aio-posix.c | 2 ++
aio-win32.c | 3 +++
2 files changed, 5 insertions(+)
diff --git a/aio-posix.c b/aio-posix.c
index 56f2bce..d25fcfc 100644
--- a/aio-posix.c
+++ b/aio-posix.c
@@ -25,6 +25,7 @@ struct AioHandler
IOHandler
The "protocol" type includes all the fd handlers and event notifiers used by
block layer, especially those that should be polled in a nested event loop.
Signed-off-by: Fam Zheng
---
block/curl.c| 8
block/iscsi.c | 4 ++--
block/linux-aio.c | 4 ++--
block/nbd-client.
So we could distinguish it from "protocol" to avoid handling in nested aio
polls.
Signed-off-by: Fam Zheng
---
include/block/aio.h | 1 +
nbd.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/block/aio.h b/include/block/aio.h
index d02ddfa..8b15105
Signed-off-by: Fam Zheng
---
aio-win32.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/aio-win32.c b/aio-win32.c
index f5ecf57..1f6a3f0 100644
--- a/aio-win32.c
+++ b/aio-win32.c
@@ -28,6 +28,7 @@ struct AioHandler {
GPollFD pfd;
int deleted;
Signed-off-by: Fam Zheng
---
hw/block/dataplane/virtio-blk.c | 4 ++--
hw/scsi/virtio-scsi-dataplane.c | 16
include/block/aio.h | 1 +
3 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c
This call is introduced simply as a wrapper of aio_poll, but it makes it
is easy to change the polled client types.
Signed-off-by: Fam Zheng
---
block/io.c| 8
include/block/aio.h | 2 +-
include/block/block.h | 2 ++
3 files changed, 11 insertions(+), 1 deletion(-)
diff
Just a manual search and replace. No semantic change here.
Signed-off-by: Fam Zheng
---
block.c | 2 +-
block/curl.c | 2 +-
block/io.c| 18 +-
block/nfs.c | 2 +-
block/qed-table.c | 8
blockjob.c| 2 +-
qemu-img.c| 2 +
So that external events are not processed in nested event loops.
Signed-off-by: Fam Zheng
---
block/io.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/io.c b/block/io.c
index 3d255e0..84047fe 100644
--- a/block/io.c
+++ b/block/io.c
@@ -2613,6 +2613,8 @@ bool bdrv_aio_poll(AioConte
seem to come from this commit:
http://git.qemu.org/?p=qemu.git;a=commit;h=eabc977973103527bbb8fed69c91cfaa6691f8ab
"AioContext: fix broken ctx->dispatching optimization"
- Mail original -
De: "aderumier"
À: "qemu-devel"
Envoyé: Mercredi 29 Juillet 2015 06:15:48
Objet: [Qemu-devel] qemu
At Wed, 29 Jul 2015 12:02:35 +0800,
Liu Yuan wrote:
>
> From: Liu Yuan
>
> Current sheepdog driver use a range update_inode(min_idx, max_idx) for
> batching
> the updates. But there is subtle problem by determining min_idx and max_idx:
>
> for a single create request, min_idx == max_idx, so ac
On 07/29/2015 06:57 AM, Samuel Thibault wrote:
> Before this patch, if sosendto fails, udp_input is executed as if the
> packet was sent, recording the packet for icmp errors, which does not
> makes sense since the packet was not actually sent, errors would be
> related to a previous packet.
>
> T
Am 28.07.2015 um 11:54 schrieb Artyom Tarasenko:
>anything i can do to speedup the emulation?
Maybe try the fresh tcg optimizer improvements from Aurelien:
https://lists.gnu.org/archive/html/qemu-devel/2015-07/msg05133.html
it don't seems to target sparc (or isn't ready) many x86/x64 only etc.
On Tue, Jul 28, 2015 at 08:02:54PM +0200, Marc-André Lureau wrote:
> Hi
>
> On Tue, Jul 28, 2015 at 9:33 AM, Andrew Jones wrote:
> > On Tue, Jul 28, 2015 at 02:32:45AM +0200, Marc-André Lureau wrote:
> >> +
> >> +return fs.f_bsize;
> >> +}
> >> +
> >> +
> >> +
> > few extra lines here
>
> cu
201 - 227 of 227 matches
Mail list logo