Skip to content

Commit 2b28a7e

Browse files
zhangckidjasowang
authored andcommitted
qemu-options.hx: Clean up and fix typo for colo-compare
Fix some typo and optimized some descriptions. Signed-off-by: Zhang Chen <[email protected]> Signed-off-by: Jason Wang <[email protected]>
1 parent a2e5cb7 commit 2b28a7e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

qemu-options.hx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4696,24 +4696,24 @@ SRST
46964696
tools such as tcpdump or Wireshark.
46974697

46984698
``-object colo-compare,id=id,primary_in=chardevid,secondary_in=chardevid,outdev=chardevid,iothread=id[,vnet_hdr_support][,notify_dev=id][,compare_timeout=@var{ms}][,expired_scan_cycle=@var{ms}][,max_queue_size=@var{size}]``
4699-
Colo-compare gets packet from primary\_inchardevid and
4700-
secondary\_inchardevid, than compare primary packet with
4701-
secondary packet. If the packets are same, we will output
4702-
primary packet to outdevchardevid, else we will notify
4703-
colo-frame do checkpoint and send primary packet to
4704-
outdevchardevid. In order to improve efficiency, we need to put
4705-
the task of comparison in another thread. If it has the
4706-
vnet\_hdr\_support flag, colo compare will send/recv packet with
4707-
vnet\_hdr\_len. Then compare\_timeout=@var{ms} determines the
4708-
maximum delay colo-compare wait for the packet.
4709-
The expired\_scan\_cycle=@var{ms} to set the period of scanning
4710-
expired primary node network packets. The max\_queue\_size=@var{size}
4711-
is to set the max compare queue size depend on user environment.
4712-
If you want to use Xen COLO, will need the notify\_dev to
4699+
Colo-compare gets packet from primary\_in chardevid and
4700+
secondary\_in, then compare whether the payload of primary packet
4701+
and secondary packet are the same. If same, it will output
4702+
primary packet to out\_dev, else it will notify COLO-framework to do
4703+
checkpoint and send primary packet to out\_dev. In order to
4704+
improve efficiency, we need to put the task of comparison in
4705+
another iothread. If it has the vnet\_hdr\_support flag,
4706+
colo compare will send/recv packet with vnet\_hdr\_len.
4707+
The compare\_timeout=@var{ms} determines the maximum time of the
4708+
colo-compare hold the packet. The expired\_scan\_cycle=@var{ms}
4709+
is to set the period of scanning expired primary node network packets.
4710+
The max\_queue\_size=@var{size} is to set the max compare queue
4711+
size depend on user environment.
4712+
If user want to use Xen COLO, need to add the notify\_dev to
47134713
notify Xen colo-frame to do checkpoint.
47144714

4715-
we must use it with the help of filter-mirror and
4716-
filter-redirector.
4715+
COLO-compare must be used with the help of filter-mirror,
4716+
filter-redirector and filter-rewriter.
47174717

47184718
::
47194719

0 commit comments

Comments
 (0)