anged, 178 insertions(+), 75 deletions(-)
> create mode 100644 tests/data/acpi/virt/APIC
> create mode 100644 tests/data/acpi/virt/DSDT
> create mode 100644 tests/data/acpi/virt/FACP
> create mode 100644 tests/data/acpi/virt/GTDT
> create mode 100644 tests/data/acpi/virt/MCFG
> create mode 100644 tests/data/acpi/virt/SPCR
>
Tested the series on the hisilicon D05 board(arm64 based), so FWIW:
Tested-by: Wei Xu
Thanks!
Best Regards,
Wei
Hi Igor,
On 5/2/2019 3:24 PM, Igor Mammedov wrote:
> On Fri, 26 Apr 2019 17:28:10 +0100
> Wei Xu wrote:
>
>> Hi Igor,
>>
>> On 4/26/2019 12:54 PM, Igor Mammedov wrote:
>>> On Fri, 26 Apr 2019 00:51:56 +0800
>>> x00249684 wrote:
>>>
>&g
Hi Igor,
On 4/26/2019 12:54 PM, Igor Mammedov wrote:
> On Fri, 26 Apr 2019 00:51:56 +0800
> x00249684 wrote:
>
>> Hi Igor,
>>
>> +static void test_acpi_virt_tcg(void)
>> +{
>> +test_data data = {
>> +.machine = "virt",
>> +.uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
>> +
On Wed, Feb 20, 2019 at 10:34:32AM +0800, Jason Wang wrote:
>
> On 2019/2/20 上午9:54, Wei Xu wrote:
> >On Tue, Feb 19, 2019 at 09:09:33PM +0800, Jason Wang wrote:
> >>On 2019/2/19 下午6:51, Wei Xu wrote:
> >>>On Tue, Feb 19, 2019 at 03:23:01PM +0800, Jason Wang wro
On Tue, Feb 19, 2019 at 09:06:42PM +0800, Jason Wang wrote:
>
> On 2019/2/19 下午6:40, Wei Xu wrote:
> >On Tue, Feb 19, 2019 at 03:19:58PM +0800, Jason Wang wrote:
> >>On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >>>From: Wei Xu
> >>>
On Tue, Feb 19, 2019 at 09:09:33PM +0800, Jason Wang wrote:
>
> On 2019/2/19 下午6:51, Wei Xu wrote:
> >On Tue, Feb 19, 2019 at 03:23:01PM +0800, Jason Wang wrote:
> >>On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >>>From: Wei Xu
> >>>
> >>&g
On Tue, Feb 19, 2019 at 09:33:40PM +0800, Jason Wang wrote:
>
> On 2019/2/19 下午7:23, Wei Xu wrote:
> >On Tue, Feb 19, 2019 at 03:32:19PM +0800, Jason Wang wrote:
> >>On 2019/2/14 下午12:26,w...@redhat.com wrote:
> >>>From: Wei Xu
> >>>
>
On Tue, Feb 19, 2019 at 05:33:57PM +0800, Jason Wang wrote:
>
> On 2019/2/19 下午4:21, Wei Xu wrote:
> >On Tue, Feb 19, 2019 at 02:49:42PM +0800, Jason Wang wrote:
> >>On 2019/2/18 下午10:46, Wei Xu wrote:
> >>>>Do we allow chain more descriptors than vq size in t
On Tue, Feb 19, 2019 at 03:32:19PM +0800, Jason Wang wrote:
>
> On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Add userspace and vhost kernel/user support.
> >
> >Add CLI "ring_packed=true/false" to enable/disable packed ring p
On Tue, Feb 19, 2019 at 03:30:41PM +0800, Jason Wang wrote:
>
> On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Both userspace and vhost-net/user are supported with this patch.
> >
> >A new subsection is introduced f
On Tue, Feb 19, 2019 at 03:23:01PM +0800, Jason Wang wrote:
>
> On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >This is a helper for packed ring.
> >
> >To support packed ring, the head descriptor in a chain should be updated
> >lastl
On Tue, Feb 19, 2019 at 03:19:58PM +0800, Jason Wang wrote:
>
> On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Difference between 'avail_wrap_counter' and 'last_avail_wrap_counter':
> >For Tx(guest transmitting), they are the same after eac
On Tue, Feb 19, 2019 at 02:24:11PM +0800, Jason Wang wrote:
>
> On 2019/2/19 上午1:07, Wei Xu wrote:
> >On Mon, Feb 18, 2019 at 03:27:21PM +0800, Jason Wang wrote:
> >>On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >>>From: Wei Xu
> >>>
> >>&g
On Tue, Feb 19, 2019 at 02:49:42PM +0800, Jason Wang wrote:
>
> On 2019/2/18 下午10:46, Wei Xu wrote:
> >>Do we allow chain more descriptors than vq size in the case of indirect?
> >>According to the spec:
> >>
> >>"
> >>
> >
On Mon, Feb 18, 2019 at 03:27:21PM +0800, Jason Wang wrote:
>
> On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Add packed ring headcount check.
> >
> >Common part of split/packed ring are kept.
> >
> >Signed-off-
On Mon, Feb 18, 2019 at 03:51:05PM +0800, Jason Wang wrote:
>
> On 2019/2/14 下午12:26, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >last_used_idx/wrap_counter should be equal to last_avail_idx/wrap_counter
> >after a successful flush.
> >
>
On Wed, Feb 13, 2019 at 09:17:57AM -0500, Michael S. Tsirkin wrote:
> On Wed, Feb 13, 2019 at 08:25:35AM -0500, w...@redhat.com wrote:
> > From: Wei Xu
> >
> > https://github.com/Whishay/qemu.git
> >
> > Userspace and vhost-net backedn test has been done
On Wed, Nov 28, 2018 at 11:34:46AM +0100, Maxime Coquelin wrote:
>
>
> On 11/22/18 3:06 PM, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >tweaked vhost-net code to test migration.
> >
> >@@ -1414,64 +1430,20 @@ long vhost_vring_ioctl(struc
On Thu, Nov 22, 2018 at 10:45:36PM +0800, Jason Wang wrote:
>
> On 2018/11/22 下午10:06, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Signed-off-by: Wei Xu
>
>
> I think you need subsection. Otherwise you will break migration
> compatibility.
ok, thanks.
W
On Fri, Nov 30, 2018 at 01:45:19PM +0100, Maxime Coquelin wrote:
> Hi Wei,
>
> On 11/22/18 3:06 PM, w...@redhat.com wrote:
> >+void virtqueue_flush(VirtQueue *vq, unsigned int count)
> >+{
> >+if (unlikely(vq->vdev->broken)) {
> >+vq->inuse -= count;
> >+return;
> >+}
> >+
csi-pci.o
> obj-$(CONFIG_VIRTIO_BLK) += virtio-blk-pci.o
> +obj-$(CONFIG_VIRTIO_NET) += virtio-net-pci.o
> endif
> endif
s/rom/from/ in the subject for patch 10, 11, 12 and 13.
Reviewed-by: Wei Xu
>
> diff --git a/hw/virtio/virtio-net-pci.c b/hw/virtio/virtio-net-pci.c
&g
On Fri, Nov 23, 2018 at 01:57:37PM +0800, Wei Xu wrote:
> On Thu, Nov 22, 2018 at 06:57:31PM +0100, Maxime Coquelin wrote:
> > Hi Wei,
> >
> > I just tested your series with Tiwei's v3, and it fails
> > with ctrl vq enabled:
> > qemu-system-x86_64: virtio-ne
i
>
> Regards,
> Maxime
>
> On 11/22/18 3:06 PM, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Code base:
> > https://github.com/Whishay/qemu.git
> >
> >rfc v3 -> v1
> >- migration support for both userspace and vhost-net, need tweak v
This is an irrelevant patch mistakenly posted, please drop this, sorry.
On Thu, Nov 22, 2018 at 09:06:06AM -0500, w...@redhat.com wrote:
> From: Peter Maydell
>
> Signed-off-by: Peter Maydell
> ---
> VERSION | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/VERSION
On Wed, Nov 21, 2018 at 02:03:59PM +0100, Maxime Coquelin wrote:
> Hi Wei,
>
> On 10/11/18 4:08 PM, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >(cherry picked from commit 305a2c4640c15c5717245067ab937fd10f478ee6)
> >Signed-off-by: Wei
desc[i].addr = cpu_to_le64(addr);
> desc[i].len = cpu_to_le32(sg->length);
> i++;
> --
> 2.14.1
>
> On Thu, Oct 11, 2018 at 10:08:23AM -0400, w...@redhat.com wrote:
> > From: Wei Xu
> >
> > code base:
> > https://g
Looks good, I can't recall the status of last version well but
I remember Jason gave some comments about sanity check are quiet
essential, have you addressed them?
Reviewed by: Wei Xu
On Fri, Nov 09, 2018 at 04:58:27PM +0200, Yuri Benditovich wrote:
> This commit adds implementation of
On Mon, Oct 15, 2018 at 02:59:48PM +0800, Jason Wang wrote:
>
>
> On 2018年10月11日 22:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Signed-off-by: Wei Xu
> >---
> > hw/virtio/virtio.c | 126
> > ++
On Mon, Oct 15, 2018 at 03:50:21PM +0800, Jason Wang wrote:
>
>
> On 2018年10月11日 22:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >(cherry picked from commit 305a2c4640c15c5717245067ab937fd10f478ee6)
> >Signed-off-by: Wei
On Mon, Oct 15, 2018 at 03:45:46PM +0800, Jason Wang wrote:
>
>
> On 2018年10月11日 22:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >With the support of marking a descriptor used/unused in 'flags'
> >field for 1.1, the current way of filling a chained descript
On Mon, Oct 15, 2018 at 11:03:52AM +0800, Jason Wang wrote:
>
>
> On 2018年10月11日 22:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Redefine packed ring structure according to qemu nomenclature,
> >also supported data(event index, wrap counter, etc) are intr
On Mon, Oct 15, 2018 at 11:10:12AM +0800, Jason Wang wrote:
>
>
> On 2018年10月11日 22:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Expand 1.0 by adding offset calculation accordingly.
>
> This is only part of what this patch did and I suggest to another pat
On Mon, Oct 15, 2018 at 11:18:05AM +0800, Jason Wang wrote:
>
>
> On 2018年10月11日 22:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Basic initialization and helpers for packed ring.
> >
> >Signed-off-by: Wei
On Wed, Jun 06, 2018 at 11:41:18AM +0800, Jason Wang wrote:
>
>
> On 2018年06月06日 11:38, Wei Xu wrote:
> >>>+
> >>>+head = vq->last_avail_idx;
> >>>+i = head;
> >>>+
> >>>+caches = vring_get_region_caches(vq);
&g
On Wed, Jun 06, 2018 at 11:48:19AM +0800, Jason Wang wrote:
>
>
> On 2018年06月06日 03:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >last_avail, avail_wrap_count, used_idx and used_wrap_count are
> >needed to support vhost-net backend, all these are eith
On Wed, Jun 06, 2018 at 11:49:22AM +0800, Jason Wang wrote:
>
>
> On 2018年06月06日 03:07, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Todo:
> >- address Rx slow performance
> >- event index interrupt suppression test
>
> And there's somet
On Wed, Jun 06, 2018 at 10:53:07AM +0800, Jason Wang wrote:
>
>
> On 2018年06月06日 03:07, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Mostly reuse memory cache with 1.0 except for the offset calculation.
> >
> >Signed-off-by: Wei
On Wed, Jun 06, 2018 at 11:29:54AM +0800, Jason Wang wrote:
>
>
> On 2018年06月06日 03:08, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Signed-off-by: Wei Xu
> >---
> > hw/virtio/virtio.c | 145
> > ++
On Mon, Jun 04, 2018 at 04:54:45AM +0300, Michael S. Tsirkin wrote:
> On Mon, Jun 04, 2018 at 09:34:35AM +0800, Wei Xu wrote:
> > On Tue, Apr 10, 2018 at 03:32:53PM +0800, Jason Wang wrote:
> > >
> > >
> > > On 2018年04月04日 20:54, w...@redhat.com wrote:
> &
On Wed, Apr 11, 2018 at 10:43:40AM +0800, Jason Wang wrote:
>
>
> On 2018年04月04日 20:54, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >cloned from split ring pop, a global static length array
> >and the inside-element length array are introduced to
> >ea
On Wed, Apr 11, 2018 at 11:03:24AM +0800, Jason Wang wrote:
>
>
> On 2018年04月04日 20:54, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >mostly as same as 1.0, copy it separately for
> >prototype, need a refactoring.
> >
> >Signed-off-by:
On Tue, Apr 10, 2018 at 03:32:53PM +0800, Jason Wang wrote:
>
>
> On 2018年04月04日 20:54, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >helper for packed ring
>
> It's odd and hard to review if you put detach patch first. I think this
> patch needs to be reord
On Tue, Apr 10, 2018 at 03:23:03PM +0800, Jason Wang wrote:
>
>
> On 2018年04月04日 20:53, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >helper for ring empty check.
>
> And descriptor read.
OK.
>
> >
> >Signed-off
On Tue, Apr 10, 2018 at 03:05:24PM +0800, Jason Wang wrote:
>
>
> On 2018年04月04日 20:53, w...@redhat.com wrote:
> >From: Wei Xu
> >
> >Only minimum definitions from the spec are included
> >for prototype.
> >
> >Signed-o
On Tue, Apr 10, 2018 at 11:46:47AM +0800, Jason Wang wrote:
>
>
> On 2018年04月04日 20:53, w...@redhat.com wrote:
> >From: Wei Xu <w...@redhat.com>
> >
> >This is a prototype for virtio-net 1.1 support in userspace backend,
> >only minimum part are in
Hi Peter,
On 2018/1/26 18:01, Peter Maydell wrote:
> On 26 January 2018 at 17:33, Wei Xu <xuw...@hisilicon.com> wrote:
>> On 2018/1/26 17:15, Peter Maydell wrote:
>>> The pl011 code should call qemu_set_irq(..., 1) when the
>>> guest enables interrupts on the dev
Hi Andrew,
On 2018/1/29 10:29, Andrew Jones wrote:
> On Fri, Jan 26, 2018 at 06:01:33PM +, Peter Maydell wrote:
>> On 26 January 2018 at 17:33, Wei Xu <xuw...@hisilicon.com> wrote:
>>> On 2018/1/26 17:15, Peter Maydell wrote:
>>>> The pl011 code s
and the pl011 state could not be driven
further.
This patch fixed that issue by checking the interruption is enabled or
not before putting into the fifo.
Signed-off-by: Wei Xu <xuw...@hisilicon.com>
---
hw/char/pl011.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/char/pl011.c b/hw/char
Hi Peter,
On 2018/1/26 17:15, Peter Maydell wrote:
> On 26 January 2018 at 17:05, Wei Xu <xuw...@hisilicon.com> wrote:
>> On 2018/1/26 16:36, Peter Maydell wrote:
>>> If the user presses keys before interrupts are enabled,
>>> what ought to happen is:
>>>
Hi Peter,
On 2018/1/26 16:36, Peter Maydell wrote:
> On 26 January 2018 at 16:00, Wei Xu <xuw...@hisilicon.com> wrote:
>> If the user pressed some keys in the console during the guest booting,
>> the console will be hanged after entering the shell.
>>
On Wed, Jan 03, 2018 at 04:07:44PM +0100, Stefan Priebe - Profihost AG wrote:
>
> Am 03.01.2018 um 04:57 schrieb Wei Xu:
> > On Tue, Jan 02, 2018 at 10:17:25PM +0100, Stefan Priebe - Profihost AG
> > wrote:
> >>
> >> Am 02.01.2018 um 18:04 schrieb Wei Xu:
>
On Tue, Jan 02, 2018 at 10:17:25PM +0100, Stefan Priebe - Profihost AG wrote:
>
> Am 02.01.2018 um 18:04 schrieb Wei Xu:
> > On Tue, Jan 02, 2018 at 04:24:33PM +0100, Stefan Priebe - Profihost AG
> > wrote:
> >> Hi,
> >> Am 02.01.2018 um 15:20 schrieb Wei Xu:
On Tue, Jan 02, 2018 at 04:24:33PM +0100, Stefan Priebe - Profihost AG wrote:
> Hi,
> Am 02.01.2018 um 15:20 schrieb Wei Xu:
> > On Tue, Jan 02, 2018 at 12:17:29PM +0100, Stefan Priebe - Profihost AG
> > wrote:
> >> Hello,
> >>
> >> currently i'm
On Tue, Jan 02, 2018 at 12:17:29PM +0100, Stefan Priebe - Profihost AG wrote:
> Hello,
>
> currently i'm trying to fix a problem where we have "random" missing
> packets.
>
> We're doing an ssh connect from machine a to machine b every 5 minutes
> via rsync and ssh.
>
> Sometimes it happens
sgl, DEVICE(s), 8, vdev->dma_as);
> qemu_iovec_init(>resp_iov, 1);
> memset((uint8_t *)req + zero_skip, 0, sizeof(*req) - zero_skip);
> }
Reviewed-by: Wei Xu <w...@redhat.com>
> --
> 2.7.4
>
>
On 2016年11月24日 12:17, Jason Wang wrote:
On 2016年11月01日 01:41, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
All the data packets in a tcp connection are cached
to a single buffer in every receive interval, and will
be sent out via a timer, the 'virtio_net_rsc_timeout'
co
On 2016年11月24日 12:28, Jason Wang wrote:
On 2016年11月01日 01:41, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
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.
F
On 2016年08月30日 11:06, Jason Wang wrote:
To avoid duplicated name and ease debugging.
Cc: Michael S. Tsirkin
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Acked-by: Peter Xu
On 2016年08月30日 11:06, Jason Wang wrote:
@@ -1587,6 +1595,11 @@ static void virtio_pci_device_plugged(DeviceState *d,
Error **errp)
}
if (legacy) {
+if (virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM)) {
+error_setg(errp, "VIRTIO_F_IOMMU_PLATFORM was
On 2016年08月30日 11:06, Jason Wang wrote:
Signed-off-by: Jason Wang
---
include/standard-headers/linux/input-event-codes.h | 32 +
include/standard-headers/linux/input.h | 1 +
include/standard-headers/linux/virtio_config.h | 10 +-
On 2016年06月28日 14:48, Michael S. Tsirkin wrote:
On Thu, Jun 23, 2016 at 12:46:46AM +0800, Wei Xu wrote:
On 2016年06月22日 23:39, Eric Blake wrote:
On 06/22/2016 09:25 AM, Wei Xu wrote:
There have been comments on this patch, but i forgot adding this patch to
the list, just forward it again
月23日 00:46, Wei Xu wrote:
On 2016年06月22日 23:39, Eric Blake wrote:
On 06/22/2016 09:25 AM, Wei Xu wrote:
There have been comments on this patch, but i forgot adding this
patch to
the list, just forward it again.
When manage VMs via libvirt, qemu ofter runs with limited permission,
thus qemu ca
On 2016年06月22日 23:39, Eric Blake wrote:
On 06/22/2016 09:25 AM, Wei Xu wrote:
There have been comments on this patch, but i forgot adding this patch to
the list, just forward it again.
When manage VMs via libvirt, qemu ofter runs with limited permission,
thus qemu can't create a file/socket
There has been comments on this patch, but i forgot adding this patch to
the list, just forward it again.
Both server mode and client mode are supported.
Signed-off-by: Wei Xu <w...@redhat.com>
---
util/qemu-sockets.c | 25 +
1 file changed, 17 insertions
in from libvirt.
Signed-off-by: Wei Xu <w...@redhat.com>
---
qapi-schema.json | 3 ++-
qemu-char.c | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 8483bdf..e9f0268 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -
There has been comments on this patch, but i forgot adding this patch to
the list, just forward it again.
Save the 'fd' paramter as unix socket 'sockfd' member.
Signed-off-by: Wei Xu <w...@redhat.com>
---
qemu-char.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/qemu-ch
be kept even
with the
'fd' is indicated, this looks odd, any comments?
Wei Xu (3):
chardev: add new socket fd parameter for unix socket
chardev: save the passed in 'fd' parameter during parsing
sockets: replace creating a new socket with the record one
qapi-schema.json| 3 ++-
qemu-char.c
On 2016年06月14日 22:23, Aaron Conole wrote:
"Daniel P. Berrange" <berra...@redhat.com> writes:
On Tue, Jun 14, 2016 at 04:03:43PM +0800, Wei Xu wrote:
On 2016年06月09日 05:48, Aaron Conole wrote:
Flavio Leitner <f...@redhat.com> writes:
Adding Aaron who is fixing exactl
essage -
From: "Michal Privoznik" <mpriv...@redhat.com>
To: "Daniel P. Berrange" <berra...@redhat.com>
Cc: qemu-devel@nongnu.org, "amit shah" <amit.s...@redhat.com>,
jasow...@redhat.com, "Wei Xu" <w...@redhat.com>,
arm...@redhat.com
On 2016年06月02日 19:38, Michal Privoznik wrote:
On 02.06.2016 10:29, Daniel P. Berrange wrote:
On Thu, Jun 02, 2016 at 09:41:56AM +0200, Michal Privoznik wrote:
On 01.06.2016 18:16, Wei Xu wrote:
On 2016年06月01日 00:44, Daniel P. Berrange wrote:
On Wed, Jun 01, 2016 at 12:30:44AM +0800, w
On 2016年05月30日 13:57, Jason Wang wrote:
On 2016年05月29日 00:37, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Field 'coalesced' is to indicate how many packets are coalesced and field
'dup_ack' is how many duplicate acks are merged, guest driver can use
these
information to
On 2016年05月30日 12:25, Jason Wang wrote:
On 2016年05月29日 00:37, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Most stuffs are like ipv4 2 differences between ipv4 and ipv6.
1. Fragment length in ipv4 header includes itself, while it's not
included for ipv6, thus means ipv6 can
On 2016年05月30日 12:20, Jason Wang wrote:
On 2016年05月29日 00:37, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
All the data packets in a tcp connection will be cached to a big buffer
in every receive interval, and will be sent out via a timer, the
'virtio_net_rsc_t
On 2016年06月01日 00:44, Daniel P. Berrange wrote:
On Wed, Jun 01, 2016 at 12:30:44AM +0800, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Recently I'm working on a fd passing issue, selinux forbids qemu to
create a unix socket for a chardev when managing VMs with libvirt,
becaus
On 2016年06月01日 01:26, Eric Blake wrote:
On 05/31/2016 10:30 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Save the 'fd' paramter as unix socket 'sockfd' member.
Signed-off-by: Wei Xu <w...@redhat.com>
---
qemu-char.c | 7 +++
1 file changed, 7 insertions(+)
On 2016年06月01日 01:22, Eric Blake wrote:
On 05/31/2016 10:30 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Recently I'm working on a fd passing issue, selinux forbids qemu to
create a unix socket for a chardev when managing VMs with libvirt,
because qemu don't have suff
On 2016年05月30日 12:22, Jason Wang wrote:
On 2016年05月29日 00:37, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Changes in V6:
- Sync upstream code
- Split new fields in 'virtio_net_hdr' to a seperate patch
- Remove feature bit code, replace it with a command line parameter
'gue
On 2016年05月24日 16:26, Michael S. Tsirkin wrote:
On Tue, May 24, 2016 at 04:03:04PM +0800, Jason Wang wrote:
On 2016年05月24日 04:14, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Changes in V5:
- Passed all IPv4/6 test cases
- Add new fields in 'virtio_net_hdr'
- Set 'gs
On 2016年05月24日 16:03, Jason Wang wrote:
On 2016年05月24日 04:14, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Changes in V5:
- Passed all IPv4/6 test cases
- Add new fields in 'virtio_net_hdr'
- Set 'gso_type' & 'coalesced packets' in new field.
- Bypass all 'tcp opti
On 2016年04月05日 16:17, Michael S. Tsirkin wrote:
On Tue, Apr 05, 2016 at 10:05:17AM +0800, Jason Wang wrote:
On 04/04/2016 03:25 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
A new feature bit 'VIRTIO_NET_F_GUEST_RSC' is introduced to support WHQL
Receive-Segment-Offloa
On 2016年04月08日 16:31, Jason Wang wrote:
On 04/08/2016 03:47 PM, Wei Xu wrote:
On 2016年04月05日 10:47, Jason Wang wrote:
On 04/04/2016 03:25 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
All the data packets in a tcp connection will be cached to a big buffer
in every r
On 2016年04月08日 15:27, Jason Wang wrote:
On 04/08/2016 03:06 PM, Wei Xu wrote:
On 2016年04月05日 10:50, Jason Wang wrote:
On 04/04/2016 03:25 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Most things like ipv4 except there is a significant difference
between ipv4
an
On 2016年04月05日 10:47, Jason Wang wrote:
On 04/04/2016 03:25 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
All the data packets in a tcp connection will be cached to a big buffer
in every receive interval, and will be sent out via a timer, the
'virtio_net_rsc_timeout' co
On 2016年04月05日 10:50, Jason Wang wrote:
On 04/04/2016 03:25 AM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Most things like ipv4 except there is a significant difference between ipv4
and ipv6, the fragment lenght in ipv4 header includes itself, while it's not
typo
On 2016年03月17日 23:44, Michael S. Tsirkin wrote:
On Thu, Mar 17, 2016 at 11:21:28PM +0800, Wei Xu wrote:
On 2016年03月17日 14:47, Jason Wang wrote:
On 03/15/2016 05:17 PM,w...@redhat.com wrote:
From: Wei Xu<w...@redhat.com>
Fixed issues based on rfc patch v2:
1. Removed big param list, r
On 2016年03月17日 16:50, Jason Wang wrote:
On 03/15/2016 05:17 PM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
Most things like ipv4 except there is a significant difference between ipv4
and ipv6, the fragment lenght in ipv4 header includes itself, while it's not
included fo
On 2016年03月17日 16:42, Jason Wang wrote:
On 03/15/2016 05:17 PM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
All the data packets in a tcp connection will be cached to a big buffer
in every receive interval, and will be sent out via a timer, the
'virtio_net_rsc_timeout' co
On 2016年03月18日 13:21, Jason Wang wrote:
On 03/18/2016 12:24 PM, Wei Xu wrote:
On 2016年03月18日 10:22, Jason Wang wrote:
On 03/18/2016 12:57 AM, Wei Xu wrote:
On 2016年03月17日 23:44, Michael S. Tsirkin wrote:
On Thu, Mar 17, 2016 at 11:21:28PM +0800, Wei Xu wrote:
On 2016年03月17日 14:47, Jason
On 2016年03月18日 10:22, Jason Wang wrote:
On 03/18/2016 12:57 AM, Wei Xu wrote:
On 2016年03月17日 23:44, Michael S. Tsirkin wrote:
On Thu, Mar 17, 2016 at 11:21:28PM +0800, Wei Xu wrote:
On 2016年03月17日 14:47, Jason Wang wrote:
On 03/15/2016 05:17 PM,w...@redhat.com wrote:
From: Wei Xu&l
On 2016年03月18日 10:03, Jason Wang wrote:
On 03/18/2016 12:45 AM, Wei Xu wrote:
On 2016年03月17日 16:42, Jason Wang wrote:
On 03/15/2016 05:17 PM, w...@redhat.com wrote:
From: Wei Xu <w...@redhat.com>
All the data packets in a tcp connection will be cached to a big buffer
in every r
On 2016年03月18日 14:56, Jason Wang wrote:
On 03/18/2016 02:38 PM, Wei Xu wrote:
On 2016年03月18日 13:20, Jason Wang wrote:
On 03/18/2016 12:17 PM, Wei Xu wrote:
+static ssize_t virtio_net_receive(NetClientState *nc,
+ const uint8_t *buf, size_t size
On 2016年03月18日 13:20, Jason Wang wrote:
On 03/18/2016 12:17 PM, Wei Xu wrote:
+static ssize_t virtio_net_receive(NetClientState *nc,
+ const uint8_t *buf, size_t size)
+{
+if (virtio_net_rsc_bypass) {
+return virtio_net_do_receive(nc, buf, size
On 2016年03月17日 14:47, Jason Wang wrote:
On 03/15/2016 05:17 PM,w...@redhat.com wrote:
From: Wei Xu<w...@redhat.com>
Fixed issues based on rfc patch v2:
1. Removed big param list, replace it with 'NetRscUnit'
2. Different virtio header size
3. Modify callback function to direct c
Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4
tcp traffic
On Tue, Mar 15, 2016 at 05:17:03PM +0800, w...@redhat.com wrote:
> From: Wei Xu <w...@redhat.com>
>
> All the data packets in a tcp connection will be cached to a big buffer
> in every receive interval
Re: [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for
WHQL test of Window guest
On Tue, Mar 15, 2016 at 05:17:02PM +0800, w...@redhat.com wrote:
> From: Wei Xu <w...@redhat.com>
>
> Fixed issues based on rfc patch v2:
> 1. Removed big param list, replace it with '
On 02/01/2016 02:31 PM, Jason Wang wrote:
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
From: Wei Xu <w...@wei-thinkpad.nay.redhat.com>
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 thi
On 02/01/2016 02:28 PM, Jason Wang wrote:
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
From: Wei Xu <w...@wei-thinkpad.nay.redhat.com>
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
On 02/01/2016 02:58 PM, Jason Wang wrote:
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
From: Wei Xu <w...@wei-thinkpad.nay.redhat.com>
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 prev
On 02/01/2016 01:55 PM, Jason Wang wrote:
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
From: Wei Xu <w...@wei-thinkpad.nay.redhat.com>
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
On 02/01/2016 03:14 PM, Jason Wang wrote:
On 02/01/2016 02:13 AM, w...@redhat.com wrote:
From: Wei Xu <w...@wei-thinkpad.nay.redhat.com>
A few more stuffs should be included to support this
1. Corresponding chain lookup
2. Coalescing callback for the protocol chain
3. Filter & Sa
1 - 100 of 119 matches
Mail list logo