Configure vhost-postcopy-support
Libvirt PostCopy helps with live-migration. For postcopy to work with vhost interface, we need to configure ovs with other_config:vhost-postcopy-support=true Related: https://bugzilla.redhat.com/show_bug.cgi?id=1986567 Change-Id: If1239369b9c650ab62be58b4ae125cff120fa49a (cherry picked from commit2dec045cdd
) (cherry picked from commit1d2558c7a9
) (cherry picked from commit47b499ac50
)
This commit is contained in:
parent
eba3be96bd
commit
bd0fcf363f
|
@ -31,3 +31,4 @@ tripleo_ovs_dpdk_pmd_auto_lb: false
|
|||
tripleo_ovs_dpdk_pmd_load_threshold: ""
|
||||
tripleo_ovs_dpdk_pmd_improvement_threshold: ""
|
||||
tripleo_ovs_dpdk_pmd_rebal_interval: ""
|
||||
tripleo_ovs_dpdk_vhost_postcopy_support: false
|
||||
|
|
|
@ -126,6 +126,24 @@
|
|||
key: emc-insert-inv-prob
|
||||
when: not tripleo_ovs_dpdk_emc_insertion_probablity|string
|
||||
|
||||
- name: Enable vhost-postcopy-support
|
||||
openvswitch_db:
|
||||
table: open_vswitch
|
||||
record: .
|
||||
col: other_config
|
||||
key: vhost-postcopy-support
|
||||
value: "{{ tripleo_ovs_dpdk_vhost_postcopy_support }}"
|
||||
when: tripleo_ovs_dpdk_vhost_postcopy_support|bool
|
||||
|
||||
- name: Disable vhost-postcopy-support
|
||||
openvswitch_db:
|
||||
state: absent
|
||||
table: open_vswitch
|
||||
record: .
|
||||
col: other_config
|
||||
key: vhost-postcopy-support
|
||||
when: not tripleo_ovs_dpdk_vhost_postcopy_support|bool
|
||||
|
||||
- name: Enable DPDK OVS PMD Auto Load Balance
|
||||
openvswitch_db:
|
||||
table: open_vswitch
|
||||
|
|
Loading…
Reference in New Issue