aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorZhang Chen <chen.zhang@intel.com>2020-03-18 16:23:20 +0800
committerJason Wang <jasowang@redhat.com>2020-03-31 21:14:35 +0800
commitcca35ac4d16c0633a7d3bd28448e4ef52f0d46b0 (patch)
tree83be3c8f77ba89d3bfd23c528a7c1546c3ba2e57 /qemu-options.hx
parent9cc43c94b31321cdb2ef1d83f99d7a5b8a8b1d9e (diff)
downloadqemu-cca35ac4d16c0633a7d3bd28448e4ef52f0d46b0.zip
qemu-cca35ac4d16c0633a7d3bd28448e4ef52f0d46b0.tar.gz
qemu-cca35ac4d16c0633a7d3bd28448e4ef52f0d46b0.tar.bz2
net/colo-compare.c: Expose "expired_scan_cycle" to users
The "expired_scan_cycle" determines period of scanning expired primary node net packets. Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx4
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 9e48e13..16debd0 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -4615,7 +4615,7 @@ SRST
stored. The file format is libpcap, so it can be analyzed with
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}]``
+ ``-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}``
Colo-compare gets packet from primary\_inchardevid and
secondary\_inchardevid, than compare primary packet with
secondary packet. If the packets are same, we will output
@@ -4626,6 +4626,8 @@ SRST
vnet\_hdr\_support flag, colo compare will send/recv packet with
vnet\_hdr\_len. Then compare\_timeout=@var{ms} determines the
maximum delay colo-compare wait for the packet.
+ The expired\_scan\_cycle=@var{ms} to set the period of scanning
+ expired primary node network packets.
If you want to use Xen COLO, will need the notify\_dev to
notify Xen colo-frame to do checkpoint.