On 01/22/2016 04:36 PM, zhanghailiang wrote:
> Signed-off-by: zhanghailiang
Commit log please.
> ---
> include/net/filter.h | 5 +
> net/filter.c | 63
>
> 2 files changed, 68 insertions(+)
>
> diff --git a/include/net/filter.
On 01/22/2016 04:36 PM, zhanghailiang wrote:
> Signed-off-by: zhanghailiang
> ---
> net/filter.c | 8
> 1 file changed, 8 insertions(+)
>
> diff --git a/net/filter.c b/net/filter.c
> index a126a3b..4aafff0 100644
> --- a/net/filter.c
> +++ b/net/filter.c
> @@ -323,11 +323,19 @@ static
On 01/25/2016 01:58 PM, Hailiang Zhang wrote:
> On 2016/1/25 13:01, Jason Wang wrote:
>>
>>
>> On 01/22/2016 04:36 PM, zhanghailiang wrote:
>>> The properties of netfilter object could be changed by 'qom-set'
>>> command, but the output of
On 01/25/2016 02:27 PM, Li Zhijian wrote:
>
>
> On 01/25/2016 12:58 PM, Jason Wang wrote:
>>
>>
>> On 01/22/2016 04:11 PM, Li Zhijian wrote:
>>> Previously, if the netdev has more than one filters, the ingress
>>> or outgress traffic pass the filter
On 01/25/2016 03:22 PM, Hailiang Zhang wrote:
> On 2016/1/25 13:18, Jason Wang wrote:
>>
>>
>> On 01/22/2016 04:36 PM, zhanghailiang wrote:
>>> We add each netdev a default buffer filter, which the name is
>>> 'nop', and the default buffer fil
On 01/25/2016 07:19 PM, Hailiang Zhang wrote:
> On 2016/1/25 15:22, Hailiang Zhang wrote:
>> On 2016/1/25 13:18, Jason Wang wrote:
>>>
>>>
>>> On 01/22/2016 04:36 PM, zhanghailiang wrote:
>>>> We add each netdev a default buffer filter, which the n
On 01/26/2016 02:24 AM, Vincenzo Maffione wrote:
> This patch simplifies the netmap backend code by means of the nm_open()
> helper function provided by netmap_user.h, which hides the details of
> open(), iotcl() and mmap() carried out on the netmap device.
>
> Moreover, the semantic of nm_open()
On 01/26/2016 02:44 PM, Fam Zheng wrote:
> On Tue, 01/26 06:24, w...@redhat.com wrote:
>> Wei Xu (10):
>> 'Segment', 'Chain' and 'Status' enumeration.
>> Initilize & Cleanup.
>> Chain lookup and packets caching.
>> Tcp general data coalescing
>> The draining timer
>> IPv4 checksum.
>>
On 01/26/2016 01:00 PM, Li Zhijian wrote:
> Previously, if we attach more than filters for one netdev, IN/OUT traffic pass
> through filters in a same order.
> ingress: netdev ->filter1 ->filter2 ->...filter[n] ->emulated device
> egress: emulated device ->filter1 ->filter2 ->...filter[n] ->netde
information through nf->info_str, it will
>> not be updated while we change the value of netfilter's property.
>>
>> Here we split a helper function that could collect the output
>> information for filter, and also remove the useless member
>> 'info_str'
On 01/27/2016 08:37 AM, Hailiang Zhang wrote:
> On 2016/1/26 11:18, Jason Wang wrote:
>>
>>
>> On 01/25/2016 03:22 PM, Hailiang Zhang wrote:
>>> On 2016/1/25 13:18, Jason Wang wrote:
>>>>
>>>>
>>>> On 01/22/2016 04:36 PM, zha
On 01/27/2016 10:40 AM, Zhang Chen wrote:
> From: ZhangChen
>
> Traffic-mirror is a netfilter plugin.
> It gives qemu the ability to copy and mirror guest's
> net packet. we output packet to chardev.
>
> usage:
>
> -netdev tap,id=hn0
> -chardev socket,id=mirror0,host=ip_primary,port=X,server,now
On 01/28/2016 02:35 AM, Laszlo Ersek wrote:
> Hello Jason,
>
> On 01/22/16 07:15, Jason Wang wrote:
>>
>> On 01/22/2016 02:11 PM, Michael Tokarev wrote:
>>> 22.01.2016 06:09, Jason Wang wrote:
>>>> On 01/19/2016 09:17 PM, Laszlo Ersek wrote:
&g
On 01/28/2016 03:44 PM, Zhang Chen wrote:
>
>
> On 01/28/2016 01:44 PM, Jason Wang wrote:
>>
>> On 01/27/2016 10:40 AM, Zhang Chen wrote:
>>> From: ZhangChen
>>>
>>> Traffic-mirror is a netfilter plugin.
>>> It gives qemu the ability to
On 01/28/2016 05:52 PM, Zhang Chen wrote:
>
>
> On 01/28/2016 04:37 PM, Jason Wang wrote:
>>
>> On 01/28/2016 03:44 PM, Zhang Chen wrote:
>>>
>>> On 01/28/2016 01:44 PM, Jason Wang wrote:
>>>> On 01/27/2016 10:40 AM, Zhang Chen wrote:
>
On 01/29/2016 09:38 AM, Li Zhijian wrote:
>
>
> On 01/28/2016 01:44 PM, Jason Wang wrote:
>>
>>
>> On 01/27/2016 10:40 AM, Zhang Chen wrote:
>>> From: ZhangChen
>>>
>>> Traffic-mirror is a netfilter plugin.
>>> It gives qemu t
On 01/27/2016 04:29 PM, zhanghailiang wrote:
> Make the helper object_create() public and fix its first
> parameter to accept NULL value.
Looks not very nice. Maybe pass a new predicate func for sanity check it
better.
>
> Signed-off-by: zhanghailiang
> Cc: Paolo Bonzini
> ---
> v2:
> - New
On 01/27/2016 04:29 PM, zhanghailiang wrote:
> We add a new helper function netdev_add_filter(), this function
> can help adding a filter object to a netdev.
> Besides, we add a is_default member for struct NetFilterState
> to indicate whether the filter is default or not.
>
> Signed-off-by: zhan
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> Patch v2 add detailed commit log.
>
> This patch is to support WHQL test for Windows guest, while this feature also
> benifits other guest works as a kernel 'gro' like feature with userspace
> implementation.
> Feature informatio
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> The chain list is initialized when the device is getting realized,
> and the entry of the chain will be inserted dynamically according
> to protocol type of the network traffic.
>
> All the buffered packets and chain will be destr
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> Upon a packet is arriving, a corresponding chain will be selected or created,
> or be bypassed if it's not an IPv4 packets.
>
> The callback in the chain will be invoked to call the real coalescing.
>
> Since the coalescing is bas
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> Since this feature also needs to support IPv6, and there are
> some protocol specific differences difference for IPv4/6 in the header,
> so try to make the interface to be general.
>
> IPv4/6 should set up both the new and old IP/
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> The timer will only be triggered if the packets pool is not empty,
> and it'll drain off all the cached packets, this is to reduce the
> delay to upper layer protocol stack.
>
> Signed-off-by: Wei Xu
> ---
> hw/net/virtio-net.c
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> If a field in the IPv4 header is modified, then the checksum
> have to be recalculated before sending it out.
This in fact breaks bisection. I think you need either squash this into
previous patch or introduce virtio_net_rsc_ipv4
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> Normally it includes 2 typical way to handle a TCP control flag, bypass
> and finalize, bypass means should be sent out directly, and finalize
> means the packets should also be bypassed, and this should be done
> after searching
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> More general exception cases check
> 1. Incorrect version in IP header
> 2. IP options & IP fragment
> 3. Not a TCP packets
> 4. Sanity size check to prevent buffer overflow attack.
>
> Signed-off-by: Wei Xu
Let's squash this in
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> A few more stuffs should be included to support this
> 1. Corresponding chain lookup
> 2. Coalescing callback for the protocol chain
> 3. Filter & Sanity Check.
>
> Signed-off-by: Wei Xu
> ---
> hw/net/virtio-net.c | 104
>
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
> From: Wei Xu
>
> Add statistics to log what happened during the process.
>
> Signed-off-by: Wei Xu
> ---
> hw/net/virtio-net.c| 49
> +++---
> include/hw/virtio/virtio.h | 33 +
On 02/01/2016 02:19 PM, Hailiang Zhang wrote:
> On 2016/2/1 11:05, Jason Wang wrote:
>>
>>
>> On 01/27/2016 04:29 PM, zhanghailiang wrote:
>>> Make the helper object_create() public and fix its first
>>> parameter to accept NULL value.
>>
>> L
On 02/01/2016 02:13 PM, Hailiang Zhang wrote:
> On 2016/2/1 11:14, Jason Wang wrote:
>>
>>
>> On 01/27/2016 04:29 PM, zhanghailiang wrote:
>>> We add a new helper function netdev_add_filter(), this function
>>> can help adding a filter object to a netdev.
On 02/01/2016 03:56 PM, Hailiang Zhang wrote:
> On 2016/2/1 15:46, Jason Wang wrote:
>>
>>
>> On 02/01/2016 02:13 PM, Hailiang Zhang wrote:
>>> On 2016/2/1 11:14, Jason Wang wrote:
>>>>
>>>>
>>>> On 01/27/2016 04:29 PM, zhangha
On 02/01/2016 04:21 PM, Hailiang Zhang wrote:
>>
>> Instead of this, I wonder maybe it's better to:
>>
>> - store the default filter property into a pointer to string
>
> Do you mean, pass a string parameter which stores the filter property
> instead of
> assemble
On 02/01/2016 04:02 PM, Wei Xu wrote:
[...]
>>
>>> +return NULL;
>>> +}
>>> +
>>> +chain->proto = proto;
>>> +chain->do_receive = virtio_net_rsc_receive4;
>>> +
>>> +QTAILQ_INIT(&chain->buffers);
>>> +QTAILQ_INSERT_TAIL(&n->rsc_chains, chain, next);
>>> +return ch
On 02/01/2016 04:29 PM, Wei Xu wrote:
>
> On 02/01/2016 02:21 PM, Jason Wang wrote:
>
>>
>> On 02/01/2016 02:13 AM, w...@redhat.com wrote:
>>> From: Wei Xu
>>>
>>> Since this feature also needs to support IPv6, and there are
>>> some p
On 02/01/2016 04:39 PM, Wei Xu wrote:
> On 02/01/2016 02:28 PM, Jason Wang wrote:
>>
>> On 02/01/2016 02:13 AM, w...@redhat.com wrote:
>>> From: Wei Xu
>>>
>>> The timer will only be triggered if the packets pool is not empty,
>>> and it
On 02/01/2016 05:22 PM, Hailiang Zhang wrote:
> On 2016/2/1 17:04, Jason Wang wrote:
>>
>>
>> On 02/01/2016 03:56 PM, Hailiang Zhang wrote:
>>> On 2016/2/1 15:46, Jason Wang wrote:
>>>>
>>>>
>>>> On 02/01/2016 02:13 P
On 02/01/2016 05:39 PM, Hailiang Zhang wrote:
> On 2016/2/1 17:18, Jason Wang wrote:
>>
>>
>> On 02/01/2016 04:21 PM, Hailiang Zhang wrote:
>>>>>>>>
>>>>>>>> Instead of this, I wonder maybe it's better to:
>
The following changes since commit 0430891ce162b986c6e02a7729a942ecd2a32ca4:
hw: Clean up includes (2016-01-29 15:07:25 +)
are available in the git repository at:
https://github.com/jasowang/qemu.git tags/net-pull-request
for you to fetch changes up to e8a7a1a574ed6728422959c8aa79ca584c
From: Thomas Huth
We don't want to support the legacy -tftp, -bootp, -smb and
-net channel options forever. So let's start telling the users
that they are deprecated and what option should be used instead.
Signed-off-by: Thomas Huth
Signed-off-by: Jason Wang
---
net/slirp.c |
From: Thomas Huth
Since -smb and -redir are deprecated options, we should not
use them as examples in the documentation anymore.
Signed-off-by: Thomas Huth
Signed-off-by: Jason Wang
---
qemu-doc.texi | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/qemu-doc.texi b
From: Guillaume Subiron
Basically, this patch replaces "arp" by "resolution" every time "arp"
means "mac resolution" and not specifically ARP.
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by
: Ling Liu
Signed-off-by: Prasad J Pandit
Signed-off-by: Jason Wang
---
hw/net/cadence_gem.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
index f9e4091..e513d9d 100644
--- a/hw/net/cadence_gem.c
+++ b/hw/net/cadence_gem.c
@@ -678,6 +678,10 @@ stat
sults in a buffer
overflow.
Reported-by: 刘令
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Jason Wang
---
hw/net/cadence_gem.c | 8
1 file changed, 8 insertions(+)
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
index e513d9d..0346f3e 100644
--- a/hw/net/cadence_gem.c
++
the execution of this function.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by: Jason Wang
---
slirp/udp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/slirp/udp.c b/slirp/udp.c
index fee13b4..ce63414 100644
--- a/slirp/udp.c
prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by: Jason Wang
---
slirp/socket.c| 37 -
slirp/socket.h| 5 +++--
slirp/tcp_input.c | 13 +++--
slirp/udp.c | 21
: Jason Wang
---
slirp/ip_icmp.c | 2 ++
slirp/slirp.c | 51 ++-
slirp/socket.c| 14 +++---
slirp/socket.h| 19 +++
slirp/tcp_input.c | 2 ++
slirp/tcp_subr.c | 2 ++
slirp/udp.c | 4
7 files
From: Guillaume Subiron
In if_encap, a switch is added to prepare for the IPv6 case. Some code
is factorized.
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/slirp.c | 61 +
: Jason Wang
---
slirp/bootp.c| 2 +-
slirp/ip_icmp.c | 19 ++
slirp/socket.c | 112 +--
slirp/socket.h | 5 +++
slirp/tcp_subr.c | 35 -
slirp/tftp.c | 6 +--
slirp/udp.c | 37
Signed-off-by: Jason Wang
---
slirp/socket.c| 21 ++---
slirp/socket.h| 22 +-
slirp/tcp_input.c | 23 ++-
slirp/udp.c | 10 --
4 files changed, 49 insertions(+), 27 deletions(-)
diff --git a/slirp/socket.c b/slirp
special
netmap ports (e.g. pipes, monitors) and use special modes (e.g. host rings
only, single queue mode, exclusive access).
Signed-off-by: Vincenzo Maffione
Signed-off-by: Jason Wang
---
net/netmap.c | 97
1 file changed, 32 insertions
From: Guillaume Subiron
A sa_family_t is now passed in argument to udp_attach instead of using a
hardcoded "AF_INET" to call qemu_socket().
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by:
From: Guillaume Subiron
This patch simply adds a sa_family_t argument to remove the hardcoded
"AF_INET" in the call of qemu_socket().
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by:
ters in reverse to simplify the possible filters configuration
in the future.
Signed-off-by: Wen Congyang
Signed-off-by: Li Zhijian
Reviewed-by: Yang Hongyang
Signed-off-by: Jason Wang
---
include/net/net.h | 2 +-
net/filter.c | 21 +++--
net/net.c | 20 +++-
ll in buffers safely for
bogus DMA addresses, so we just extend the existing failsafes with the
above condition.
This is CVE-2016-1981.
Cc: "Michael S. Tsirkin"
Cc: Petr Matousek
Cc: Stefano Stabellini
Cc: Prasad Pandit
Cc: Michael Roth
Cc: Jason Wang
Cc: qemu-sta...@nongnu.org
RHBZ:
7;s property.
Here we split a helper function that could collect the output
information for filter, and also remove the useless member
'info_str' from struct NetFilterState.
Signed-off-by: zhanghailiang
Cc: Jason Wang
Cc: Eric Blake
Cc: Markus Armbruster
Cc: Yang Hongyang
Reviewe
On 02/02/2016 07:05 PM, Peter Maydell wrote:
> On 2 February 2016 at 02:36, Jason Wang wrote:
>> The following changes since commit 0430891ce162b986c6e02a7729a942ecd2a32ca4:
>>
>> hw: Clean up includes (2016-01-29 15:07:25 +)
>>
>> are available in the
On 02/03/2016 05:09 PM, Samuel Thibault wrote:
> Jason Wang, on Wed 03 Feb 2016 12:52:24 +0800, wrote:
>>> Hi. I'm afraid this failed to build on w32:
>>>
>>> declaration specifiers or ‘...’ before ‘sa_family_t’
>> - switch to use unsigned short
>>
From: Thomas Huth
We don't want to support the legacy -tftp, -bootp, -smb and
-net channel options forever. So let's start telling the users
that they are deprecated and what option should be used instead.
Signed-off-by: Thomas Huth
Signed-off-by: Jason Wang
---
net/slirp.c |
The following changes since commit 87574621b18f86eab295a2c207e0b42c77b5dfa0:
Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20160203-1' into
staging (2016-02-03 12:23:48 +)
are available in the git repository at:
https://github.com/jasowang/qemu.git tags/net-pull-request
fo
the execution of this function.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by: Jason Wang
---
slirp/udp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/slirp/udp.c b/slirp/udp.c
index fee13b4..ce63414 100644
--- a/slirp/udp.c
From: Thomas Huth
Since -smb and -redir are deprecated options, we should not
use them as examples in the documentation anymore.
Signed-off-by: Thomas Huth
Signed-off-by: Jason Wang
---
qemu-doc.texi | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/qemu-doc.texi b
: Jason Wang
---
slirp/ip_icmp.c | 2 ++
slirp/slirp.c | 51 ++-
slirp/socket.c| 14 +++---
slirp/socket.h| 19 +++
slirp/tcp_input.c | 2 ++
slirp/tcp_subr.c | 2 ++
slirp/udp.c | 4
7 files
sults in a buffer
overflow.
Reported-by: 刘令
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Jason Wang
---
hw/net/cadence_gem.c | 8
1 file changed, 8 insertions(+)
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
index e513d9d..0346f3e 100644
--- a/hw/net/cadence_gem.c
++
From: Guillaume Subiron
Basically, this patch replaces "arp" by "resolution" every time "arp"
means "mac resolution" and not specifically ARP.
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by
: Ling Liu
Signed-off-by: Prasad J Pandit
Signed-off-by: Jason Wang
---
hw/net/cadence_gem.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
index f9e4091..e513d9d 100644
--- a/hw/net/cadence_gem.c
+++ b/hw/net/cadence_gem.c
@@ -678,6 +678,10 @@ stat
Signed-off-by: Jason Wang
---
slirp/socket.c| 21 ++---
slirp/socket.h| 24 +++-
slirp/tcp_input.c | 23 ++-
slirp/udp.c | 10 --
4 files changed, 51 insertions(+), 27 deletions(-)
diff --git a/slirp/socket.c b/slirp
From: Guillaume Subiron
In if_encap, a switch is added to prepare for the IPv6 case. Some code
is factorized.
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/slirp.c | 61 +
: Jason Wang
---
slirp/bootp.c| 2 +-
slirp/ip_icmp.c | 19 ++
slirp/socket.c | 112 +--
slirp/socket.h | 5 +++
slirp/tcp_subr.c | 35 -
slirp/tftp.c | 6 +--
slirp/udp.c | 37
From: Guillaume Subiron
A unsigned short is now passed in argument to udp_attach instead of using a
hardcoded "AF_INET" to call qemu_socket().
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by:
special
netmap ports (e.g. pipes, monitors) and use special modes (e.g. host rings
only, single queue mode, exclusive access).
Signed-off-by: Vincenzo Maffione
Signed-off-by: Jason Wang
---
net/netmap.c | 97
1 file changed, 32 insertions
prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by: Jason Wang
---
slirp/socket.c| 37 -
slirp/socket.h| 5 +++--
slirp/tcp_input.c | 13 +++--
slirp/udp.c | 21
From: Guillaume Subiron
This patch simply adds a unsigned short family argument to remove the hardcoded
"AF_INET" in the call of qemu_socket().
This prepares for IPv6 support.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
Signed-off-by:
ll in buffers safely for
bogus DMA addresses, so we just extend the existing failsafes with the
above condition.
This is CVE-2016-1981.
Cc: "Michael S. Tsirkin"
Cc: Petr Matousek
Cc: Stefano Stabellini
Cc: Prasad Pandit
Cc: Michael Roth
Cc: Jason Wang
Cc: qemu-sta...@nongnu.org
RHBZ:
ters in reverse to simplify the possible filters configuration
in the future.
Signed-off-by: Wen Congyang
Signed-off-by: Li Zhijian
Reviewed-by: Yang Hongyang
Signed-off-by: Jason Wang
---
include/net/net.h | 2 +-
net/filter.c | 21 +++--
net/net.c | 20 +++-
7;s property.
Here we split a helper function that could collect the output
information for filter, and also remove the useless member
'info_str' from struct NetFilterState.
Signed-off-by: zhanghailiang
Cc: Jason Wang
Cc: Eric Blake
Cc: Markus Armbruster
Cc: Yang Hongyang
Reviewe
On 11/10/2015 04:30 PM, zhanghailiang wrote:
> On 2015/11/10 15:35, Jason Wang wrote:
>>
>>
>> On 11/10/2015 01:26 PM, Tkid wrote:
>>> Hi,all
>>>
>>> We are planning to reimplement colo proxy in userspace (Here is in
>>> qemu) to
&g
On 11/10/2015 05:35 PM, Tkid wrote:
>
>
> On 11/10/2015 03:35 PM, Jason Wang wrote:
>> On 11/10/2015 01:26 PM, Tkid wrote:
>>> Hi,all
>>>
>>> We are planning to reimplement colo proxy in userspace (Here is in
>>> qemu) to
>>> cache
On 11/10/2015 05:41 PM, Dr. David Alan Gilbert wrote:
> * Jason Wang (jasow...@redhat.com) wrote:
>>
>> On 11/10/2015 01:26 PM, Tkid wrote:
>>> Hi,all
>>>
>>> We are planning to reimplement colo proxy in userspace (Here is in
>>> qemu) to
>
On 11/10/2015 09:19 PM, Leonid Bloch wrote:
> On Tue, Nov 10, 2015 at 3:01 PM, Jason Wang wrote:
>>
>> On 11/10/2015 07:39 PM, Leonid Bloch wrote:
>>> On Tue, Nov 10, 2015 at 8:21 AM, Jason Wang wrote:
>>>> On 11/09/2015 10:59 PM, Leonid Bloch wrote:
>&g
On 11/11/2015 09:23 AM, Dong, Eddie wrote:
>> - What's the plan for vhost? Userspace network in qemu is rather slow, most
>> user will choose vhost.
> [Dong, Eddie] Hi Jason:
> How about we take staging approach? In general, COLO opens a door of
> high performance HA solution, but it will
On 11/11/2015 04:06 PM, Leonid Bloch wrote:
> On Wed, Nov 11, 2015 at 5:22 AM, Jason Wang wrote:
>> >
>> >
>> > On 11/10/2015 09:19 PM, Leonid Bloch wrote:
>>> >> On Tue, Nov 10, 2015 at 3:01 PM, Jason Wang wrote:
>>>> >>>
>
On 11/11/2015 09:52 PM, Leonid Bloch wrote:
> This series fixes issues with packet/octet counting in e1000's Statistic
> registers, fixes a bug in the packet address filtering procedure, and
> implements many MAC registers that were absent before, some Statistic
> counters among them.
>
> Besides
On 11/10/2015 05:47 PM, Vincenzo Maffione wrote:
> This patch series adds some fixes to the netmap net backend. It contains
> two changes:
> (1) Fix compilation issue of netmap.c introduced by the reorganization
> of struct NetClientOptions
> (2) Address the FIXME comment that was
The following changes since commit 31e49ac192f782d594bbd04070fe79e800b7813f:
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-2015' into
staging (2015-11-11 18:23:08 +)
are available in the git repository at:
https://github.com/jasowang/qemu.git tags/net-pull-request
for you
.
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 166
hw/net/e1000_regs.h | 2 +-
2 files changed, 89 insertions(+), 79 deletions(-)
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
From: Stefan Weil
Casting pointers to long won't work on 64 bit Windows.
It is not needed with the right format strings.
Signed-off-by: Stefan Weil
Signed-off-by: Jason Wang
---
slirp/bootp.c | 12 +---
slirp/if.c | 4 ++--
slirp/ip_icmp.c| 4 ++--
slirp/ip_in
Signed-off-by: Jason Wang
---
net/netmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netmap.c b/net/netmap.c
index 508b829..4197a9c 100644
--- a/net/netmap.c
+++ b/net/netmap.c
@@ -439,7 +439,7 @@ int net_init_netmap(const NetClientOptions *opts
e.
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 58 ++
1 file changed, 46 insertions(+), 12 deletions(-)
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
index 7088027..e079f25 10064
enable migration to older versions of QEMU.
Additionally, this parameter will be used to control the access to the
extra MAC registers in the future.
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 21 +
1 file changed
RNBCTSCTFC MGTPRC MGTPDC MGTPTC RFC RJC SCC ECOL
LATECOL MCC COLCDC TNCRS SEC CEXTERR RLECXONRXC
XONTXC XOFFRXC XOFFTXC
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c
compatible
with the QEMU coding style, while ensuring that in the unlikely case
of reaching the maximal value, the counter will stick there, as it
supposed to.
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 26
From: Leonid Bloch
According to Intel's specs, these counters (as the other Statistic
registers) stick at 0x when this maximal value is reached.
Previously, they would reset after the max. value.
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason
: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
index 9967b5d..821fed4 100644
--- a/hw/net/e1000.c
+++ b/hw/net/e1000.c
@@ -872,6 +872,7 @@ receive_filter(E1000State *s
u-system-x86_64 -device e1000,extra_mac_registers=off,... ...
As mentioned above, the default value is "on".
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 2 ++
include/hw/compat.h | 6 +-
2 files changed, 7 insertion
ility flag will be set (in the next patch in this series).
Signed-off-by: Leonid Bloch
Signed-off-by: Dmitry Fleytman
Signed-off-by: Jason Wang
---
hw/net/e1000.c | 90 ++
1 file changed, 85 insertions(+), 5 deletions(-)
diff --git a/h
From: Vincenzo Maffione
This update was required to align error reporting of netmap backend
initialization to the modifications introduced by commit a30ecde.
Reviewed-by: Eric Blake
Reviewed-by: Markus Armbruster
Signed-off-by: Vincenzo Maffione
Signed-off-by: Jason Wang
---
net/netmap.c
On 11/18/2015 03:09 AM, Andrew Baumann wrote:
> Since I just discovered that you're in feature freeze, I wanted to
> submit two smallish bug fixes for the win32 tap device. The changes
> are independent, but without both fixes the tap device is unusable
> (for me, at least!).
>
> Cheers,
> Andrew
_VLAN,
> -VIRTIO_NET_F_CTRL_RX_EXTRA,
> -VIRTIO_NET_F_CTRL_MAC_ADDR,
> -VIRTIO_NET_F_CTRL_GUEST_OFFLOADS,
> -
> -VIRTIO_NET_F_GUEST_ANNOUNCE,
>
> VIRTIO_NET_F_MQ,
>
Acked-by: Jason Wang
On 11/18/2015 10:08 AM, Jason Wang wrote:
>
> On 11/17/2015 10:57 PM, Michael S. Tsirkin wrote:
>> Some feratures (such as ctrl vq) are supported
>> by qemu without need to communicate with the
>> backend.
>>
>> Drop them from the feature mask so we set them
&
- Implement this for all transports
Signed-off-by: Jason Wang
---
hw/block/virtio-blk.c | 2 +-
hw/char/virtio-serial-bus.c | 2 +-
hw/scsi/virtio-scsi.c | 2 +-
hw/virtio/virtio-pci.c| 9 +
hw/virtio/virtio.c| 36
701 - 800 of 6782 matches
Mail list logo