Re: [Qemu-devel] [PATCH v3] net: ne2000: fix bounds check in ioport operations

2016-01-03 Thread Jason Wang
On 12/31/2015 07:35 PM, P J P wrote: > From: Prasad J Pandit > > While doing ioport r/w operations, ne2000 device emulation suffers > from OOB r/w errors. Update respective array bounds check to avoid > OOB access. > > Reported-by: Ling Liu > Signed-off-by: Prasad J Pandit > --- > hw/net/ne20

Re: [Qemu-devel] [PATCH] l2tpv3: fix cookie decoding

2016-01-03 Thread Jason Wang
On 12/31/2015 10:34 PM, Alexis D...t wrote: > If a 32 bits l2tpv3 frame cookie MSB if set to 1, the cast to uint64_t > cookie will > spread 1 to the four most significant bytes. > Then the condition (cookie != s->rx_cookie) becomes false. > > Signed-off-by: Alexis Dambricourt > --- > net/l2tpv3

Re: [Qemu-devel] Minutes from the "Stuttgart block Gipfele"

2016-01-03 Thread Fam Zheng
On Mon, 01/04 13:16, Stefan Hajnoczi wrote: > On Wed, Dec 23, 2015 at 06:15:20PM +0800, Fam Zheng wrote: > > On Fri, 12/18 14:15, Markus Armbruster wrote: > > In that theory, all other block job types, mirror/stream/commit, fit into a > > "pull" model, which follows a specified dirty bitmap and cop

Re: [Qemu-devel] [Patch v12 resend 05/10] docs: block replication's description

2016-01-03 Thread Wen Congyang
On 12/23/2015 05:26 PM, Stefan Hajnoczi wrote: > On Wed, Dec 02, 2015 at 01:31:46PM +0800, Wen Congyang wrote: >> +== Failure Handling == >> +There are 6 internal errors when block replication is running: >> +1. I/O error on primary disk >> +2. Forwarding primary write requests failed >> +3. Backup

Re: [Qemu-devel] [Patch v12 resend 08/10] Implement new driver for block replication

2016-01-03 Thread Wen Congyang
On 12/23/2015 05:47 PM, Stefan Hajnoczi wrote: > On Wed, Dec 02, 2015 at 01:37:25PM +0800, Wen Congyang wrote: >> +/* >> + * Only write to active disk if the sectors have >> + * already been allocated in active disk/hidden disk. >> + */ >> +qemu_iovec_init(&hd_qiov, qiov->niov);

Re: [Qemu-devel] [RFC PATCH v2 00/10] Add colo-proxy based on netfilter

2016-01-03 Thread Jason Wang
On 12/31/2015 04:40 PM, Zhang Chen wrote: > > > On 12/31/2015 10:36 AM, Jason Wang wrote: >> >> On 12/22/2015 06:42 PM, Zhang Chen wrote: >>> From: zhangchen >>> >>> Hi,all >>> >>> This patch add an colo-proxy object, COLO-Proxy is a part of COLO, >>> based on qemu netfilter and it's a plugin fo

[Qemu-devel] [PATCH v1] qemu-iotests: s390x: fix test 051

2016-01-03 Thread Bo Tu
From: Bo Tu Replace the remaining "-drive file..." by "-drive file=...,if=none,id=$device_id", then x86 and s390x can get the common output. "if=ide, if=floppy, if=scsi" are not supported by s390x, so these test cases are not executed for s390x platform. Signed-off-by: Bo Tu --- tests/qemu-io

[Qemu-devel] [PATCH v1] Update tests/qemu-iotests 051 for the s390x platform

2016-01-03 Thread Bo Tu
From: Bo Tu v1: 1. Replace the remaining "-drive file..." by "-drive file=...,if=none,id=$device_id" 2. Do not execute test cases of "if=ide, if=floppy, if=scsi" for s390x Bo Tu (1): qemu-iotests: s390x: fix test 051 tests/qemu-iotests/051| 32 tests/qemu-iotes

Re: [Qemu-devel] [Patch v12 resend 00/10] Block replication for continuous checkpoints

2016-01-03 Thread Wen Congyang
On 12/23/2015 06:04 PM, Stefan Hajnoczi wrote: > On Thu, Dec 17, 2015 at 02:22:14PM +0800, Wen Congyang wrote: >> Stefan:Ping... >> >> What about this feature? I have worked for it about 1 year, but it is still >> in the >> way... > > The code still has TODOs. What is the plan for supporting rep

Re: [Qemu-devel] [Patch v12 resend 00/10] Block replication for continuous checkpoints

2016-01-03 Thread Stefan Hajnoczi
On Thu, Dec 17, 2015 at 02:22:14PM +0800, Wen Congyang wrote: > Stefan:Ping... > > What about this feature? I have worked for it about 1 year, but it is still > in the > way... The code still has TODOs. What is the plan for supporting replication after failover? This feature seems critical bec

Re: [Qemu-devel] [Patch v12 resend 08/10] Implement new driver for block replication

2016-01-03 Thread Stefan Hajnoczi
On Wed, Dec 02, 2015 at 01:37:25PM +0800, Wen Congyang wrote: > +/* > + * Only write to active disk if the sectors have > + * already been allocated in active disk/hidden disk. > + */ > +qemu_iovec_init(&hd_qiov, qiov->niov); > +while (remaining_sectors > 0) { > +ret

Re: [Qemu-devel] [Patch v12 resend 05/10] docs: block replication's description

2016-01-03 Thread Stefan Hajnoczi
On Wed, Dec 02, 2015 at 01:31:46PM +0800, Wen Congyang wrote: > +== Failure Handling == > +There are 6 internal errors when block replication is running: > +1. I/O error on primary disk > +2. Forwarding primary write requests failed > +3. Backup failed > +4. I/O error on secondary disk > +5. I/O er

Re: [Qemu-devel] Minutes from the "Stuttgart block Gipfele"

2016-01-03 Thread Stefan Hajnoczi
On Wed, Dec 23, 2015 at 06:15:20PM +0800, Fam Zheng wrote: > On Fri, 12/18 14:15, Markus Armbruster wrote: > In that theory, all other block job types, mirror/stream/commit, fit into a > "pull" model, which follows a specified dirty bitmap and copies data from a > specified src BDS. In this pull mo

Re: [Qemu-devel] Emaculation bug reports

2016-01-03 Thread Programmingkid
On Jan 3, 2016, at 3:59 PM, Programmingkid wrote: > > On Jan 3, 2016, at 2:27 PM, Mark Cave-Ayland wrote: > >> On 03/01/16 19:01, Programmingkid wrote: >> > The rtl8139 did not work on the mac99 target. I didn't see the timeout > message. > I did use your rtl8139 patchset fix. >>>

Re: [Qemu-devel] live migration vs device assignment (motivation)

2016-01-03 Thread Lan Tianyu
On 2015年12月30日 00:46, Michael S. Tsirkin wrote: > Interesting. So you sare saying merely ifdown/ifup is 100ms? > This does not sound reasonable. > Is there a chance you are e.g. getting IP from dhcp? > > If so that is wrong - clearly should reconfigure the old IP > back without playing with dhcp.

Re: [Qemu-devel] [RFC PATCH v2 00/10] Add colo-proxy based on netfilter

2016-01-03 Thread Jason Wang
On 12/31/2015 04:02 PM, Li Zhijian wrote: > > > On 12/31/2015 10:36 AM, Jason Wang wrote: >> >> >> On 12/22/2015 06:42 PM, Zhang Chen wrote: >>> From: zhangchen >>> >>> Hi,all >>> >>> This patch add an colo-proxy object, COLO-Proxy is a part of COLO, >>> based on qemu netfilter and it's a plugin

Re: [Qemu-devel] Emaculation bug reports

2016-01-03 Thread Programmingkid
On Jan 3, 2016, at 2:27 PM, Mark Cave-Ayland wrote: > On 03/01/16 19:01, Programmingkid wrote: > The rtl8139 did not work on the mac99 target. I didn't see the timeout message. I did use your rtl8139 patchset fix. >>> >>> I think this might be because we're missing an interrupt

[Qemu-devel] [PATCH v3 1/1] doc: document chardev option 'append'

2016-01-03 Thread Denis V. Lunev
commit 31e38a22a0c5a25646f966f001e1f5513d5a186d Author: Olga Krishtal Date: Fri Dec 4 09:42:04 2015 +0300 qemu-char: append opt to stop truncation of serial file has added the option to the runtime but does not added it to -help output. Signed-off-by: Denis V. Lunev Revie

Re: [Qemu-devel] [XenGT][IGVT-g] Device model creation failed

2016-01-03 Thread Oleksii Kurochko
Hello. I tried to rebuild xen and qemu-xen (again *using patches from byt_experimental branch*) and seems that now is going to show bios messages and tried to start ubuntu, but when it starts it is very lagging. I will create separate thread for discussing problem of ui lagging. Thanks for help.