Re: [Qemu-devel] [PATCH RFC 2/7] net/filter: Add a 'status' property for filter object

2016-01-24 Thread Hailiang Zhang
On 2016/1/25 13:05, Jason Wang wrote: On 01/22/2016 04:36 PM, zhanghailiang wrote: With this property, users can control if this filter is 'enable' or 'disable'. The default behavior for filter is enabled. Signed-off-by: zhanghailiang Let's squash patch 3 into this for a complete implement

Re: [Qemu-devel] [PATCH] net: walk through filters reversely if traffic is outgress

2016-01-24 Thread Li Zhijian
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 in the same order. this patch is to make the outgress pass the filter in a reverse order Need a descripti

Re: [Qemu-devel] [PATCH RFC 6/7] net/filter: Add a default filter to each netdev

2016-01-24 Thread Hailiang Zhang
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 filter is disabled, so it has no side effect for packets delivering in qemu net layer. The default buffer filter can b

[Qemu-devel] [PATCH 2/2] target-ppc: mcrfs should always update FEX/VX and only clear exception bits

2016-01-24 Thread James Clarke
Signed-off-by: James Clarke --- target-ppc/cpu.h | 6 ++ target-ppc/translate.c | 15 +++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 3a967b7..d811bc9 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -718,

[Qemu-devel] [PATCH 1/1] usbredir: fixes a block when redirecting a usb 3.0 device to xhci

2016-01-24 Thread ??????
Hi, I am using qemu 2.1.2 and the qemu process blocked when redirecting a usb 3.0 device to xhci. QEMU parameters are as follows: #!/bin/sh gdb /root/sqx/qemu-root/bin/qemu-system-x86_64 --args /root/sqx/qemu-root/bin/qemu-system-x86_64 \ -name win7_sqx_qemu \ -machine pc-i440fx-2.1,accel=kvm

[Qemu-devel] [PATCH 1/2] target-ppc: Make every FPSCR_ macro have a corresponding FP_ macro

2016-01-24 Thread James Clarke
Signed-off-by: James Clarke --- target-ppc/cpu.h | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 9706000..3a967b7 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -686,24 +686,37 @@ enum { #de

[Qemu-devel] [PATCH 0/2] PPC handles mcrfs incorrectly

2016-01-24 Thread James Clarke
Here is the description of the mcrfs instruction from the PowerPC Architecture Book, Version 2.02, Book I: PowerPC User Instruction Set Architecture (http://www.ibm.com/developerworks/systems/library/es-archguide-v2.html), found on page 120: The contents of FPSCR field BFA are copied to Condit

[Qemu-devel] Windows Update Virtio Drivers

2016-01-24 Thread James Watson
Hi, Over the last few months there have been various windows updates available that cater for the virtio drivers required to run a virtualized windows guest on Linux host, such as the fedora (latest branch) and suse virtio drivers. This is been a hit and miss in terms of what works and in th

[Qemu-devel] [Questions] Several questions about incremental backup

2016-01-24 Thread Rudy Zhang
I am reading and testing the function: incremental backup in qemu-2.5. But I have serveral questions about it. 1. If I want to start image backup, at first I need to start full mode backup and then, add a bitmap to trace io, next start incremental backup via the bitmap before we added. But wh

Re: [Qemu-devel] [PATCH RFC 4/7] net/filter: Introduce a helper to add a filter to the netdev

2016-01-24 Thread Hailiang Zhang
On 2016/1/25 13:20, Jason Wang wrote: On 01/22/2016 04:36 PM, zhanghailiang wrote: Signed-off-by: zhanghailiang Commit log please. I will add it in next version, thanks. --- include/net/filter.h | 5 + net/filter.c | 63 ++

Re: [Qemu-devel] [PATCH RFC 5/7] filter-buffer: Accept zero interval

2016-01-24 Thread Hailiang Zhang
On 2016/1/25 13:19, Jason Wang wrote: On 01/22/2016 04:36 PM, zhanghailiang wrote: We may want to accept zero interval when VM FT solutions like MC or COLO use this filter to release packets on demand. Signed-off-by: zhanghailiang Reviewed-by: Yang Hongyang --- net/filter-buffer.c | 10 --

Re: [Qemu-devel] [PATCH RFC 7/7] net/filter: prevent the default filter to be deleted

2016-01-24 Thread Hailiang Zhang
On 2016/1/25 13:25, Jason Wang wrote: 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 @@ -3

<    1   2