libvirt<br>version: 3.4.0<br>architecture: x86_64 ubuntu16.04-server<br>hypervisor: kvm,qemu<br><br>When migrate vm, I encounter error:<br> <span style="color: rgb(0, 0, 0); font-family: Î¢ÈíÑźÚ, 'MS Sans Serif', sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 237, 196); display: inline !important; float: none;">"Migrate VM virt21 failed unsupported configuration: Unable to find security driver for model apparmor"<br></span>but two host are same environment.before this error, migrate can be success.<br>the source host seclabel configure is this :<br><seclabel type='dynamic' model='apparmor' relabel='yes'><br>    <label>libvirt-8e4ec209-17ca-4b59-abb7-72f3984244f3</label><br>    <imagelabel>libvirt-8e4ec209-17ca-4b59-abb7-72f3984244f3</imagelabel><br>  </seclabel><br>I create a vm on the destination host ,the vm configure not seclabel congfigure.<br>I reinstall libvirt on the destination host and migrate same vm, this error disappear.vm seclabel configure is default.<br>I recreate a vm on the destination host ,the vm configure has the seclabel configure , I don't known the reason.<br><br>Another question:<br>I configure a vm xml's seclabel like this:<br> <seclabel type='none' model='none'/><br>and then call virDomainCreate create the vm, call virsh dumpxml, the vm xml's seclabel is this:<br> <seclabel type='none' model='none'/><br>  <seclabel type='dynamic' model='dac' relabel='yes'><br>    <label>+0:+0</label><br>    <imagelabel>+0:+0</imagelabel><br>  </seclabel><br>I don't the reason.<br><br>Is a vm seclabel configure dynamic change when it running?<br><br>Thanks<br><span style="color: rgb(67, 67, 67); font-family: Tahoma, Arial, ËÎÌå, 'Malgun Gothic'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 19.1875px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(242, 242, 242); display: inline !important; float: none;"></span>