qemu-options.hx: Clean up and fix typo for colo-compare
Fix some typo and optimized some descriptions. Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
a2e5cb7a87
commit
2b28a7ef90
@ -4696,24 +4696,24 @@ SRST
|
|||||||
tools such as tcpdump or Wireshark.
|
tools such as tcpdump or Wireshark.
|
||||||
|
|
||||||
``-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}]``
|
``-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}]``
|
||||||
Colo-compare gets packet from primary\_inchardevid and
|
Colo-compare gets packet from primary\_in chardevid and
|
||||||
secondary\_inchardevid, than compare primary packet with
|
secondary\_in, then compare whether the payload of primary packet
|
||||||
secondary packet. If the packets are same, we will output
|
and secondary packet are the same. If same, it will output
|
||||||
primary packet to outdevchardevid, else we will notify
|
primary packet to out\_dev, else it will notify COLO-framework to do
|
||||||
colo-frame do checkpoint and send primary packet to
|
checkpoint and send primary packet to out\_dev. In order to
|
||||||
outdevchardevid. In order to improve efficiency, we need to put
|
improve efficiency, we need to put the task of comparison in
|
||||||
the task of comparison in another thread. If it has the
|
another iothread. If it has the vnet\_hdr\_support flag,
|
||||||
vnet\_hdr\_support flag, colo compare will send/recv packet with
|
colo compare will send/recv packet with vnet\_hdr\_len.
|
||||||
vnet\_hdr\_len. Then compare\_timeout=@var{ms} determines the
|
The compare\_timeout=@var{ms} determines the maximum time of the
|
||||||
maximum delay colo-compare wait for the packet.
|
colo-compare hold the packet. The expired\_scan\_cycle=@var{ms}
|
||||||
The expired\_scan\_cycle=@var{ms} to set the period of scanning
|
is to set the period of scanning expired primary node network packets.
|
||||||
expired primary node network packets. The max\_queue\_size=@var{size}
|
The max\_queue\_size=@var{size} is to set the max compare queue
|
||||||
is to set the max compare queue size depend on user environment.
|
size depend on user environment.
|
||||||
If you want to use Xen COLO, will need the notify\_dev to
|
If user want to use Xen COLO, need to add the notify\_dev to
|
||||||
notify Xen colo-frame to do checkpoint.
|
notify Xen colo-frame to do checkpoint.
|
||||||
|
|
||||||
we must use it with the help of filter-mirror and
|
COLO-compare must be used with the help of filter-mirror,
|
||||||
filter-redirector.
|
filter-redirector and filter-rewriter.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user