[Qemu-devel] [PATCHv2 02/04] colo-compare: Process pactkets in the IOThread of the primary

2017-06-05 Thread Yong Wang
From: Wang Yong Process pactkets in the IOThread which arrived over the socket. we use qio_channel_set_aio_fd_handler to set the handlers on the IOThread AioContext.then the packets from the primary and the secondary are processed in the IOThread. Finally remove the colo-compare thread using the

[Qemu-devel] [PATCHv2 00/04] Replace the COLO comparing thread with IOThread

2017-06-05 Thread Yong Wang
It's a good idea to use IOThread instead of COLO comparing thread. comparing thread can be completely replaced by IOThread, so this idea came. This series of updates mainly include the old packet regularly check and primary/secondary network packets compare all into the IOThread processing. Pleas

[Qemu-devel] [PATCHv2 04/04] colo-compare: Update the COLO document to fix the processing of secondary packets in the main thread

2017-06-05 Thread Yong Wang
From: Wang Yong In my test, secondary does not process the packets comparing in the IOThread but in the qemu main thread processing. secondary's configuration " -chardev socket,id=compare1,host=3.3.3.3,port=9004,server,nowait" here,we should use 'wait' instead of 'nowait' configuration . after u

[Qemu-devel] [PATCHv2 01/04] colo-compare: Use IOThread context timer to Check old packet regularly

2017-06-05 Thread Yong Wang
From: Wang Yong Remove the task which check old packet in the comparing thread, then use IOthread context timer to handle it. Signed-off-by: Wang Yong Signed-off-by: Wang Guang --- net/colo-compare.c | 62 +++--- 1 file changed, 50 insertions(+),

[Qemu-devel] [PATCHv2 03/04] colo-compare: Update the COLO document to add the IOThread configuration

2017-06-05 Thread Yong Wang
From: Wang Yong Update colo-proxy.txt,add IOThread configuration. Later we have to configure IOThread,if not COLO can not work. Signed-off-by: Wang Yong Signed-off-by: Wang Guang --- docs/colo-proxy.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/colo-proxy.txt b/

Re: [Qemu-devel] Announcing qboot, a minimal x86 firmware for QEMU

2015-05-21 Thread Yong Wang
On Thu, May 21, 2015 at 03:51:43PM +0200, Paolo Bonzini wrote: > On the QEMU side, there is no support yet for persistent memory and the > NFIT tables from ACPI 6.0. Once that (and ACPI support) is added, qboot > will automatically start using it. > We are working on adding NFIT support into vir