I upgraded a XenServer version 6.2 host to 7.1 One of the VMs (CentOS 6.9, PV type - paravirtualized) on the host runs Asterisk phone software which uses a module called "DAHDI" which is a set of hardware drivers for telephony purposes.
Before upgrade the 6.2 host, I migrated the VMs off to another 6.2 host. After upgrade to 7.1 migrated back and it seemed fine except that the DAHDI functionality had disappeared.
As it turns out, DAHDI has kernel modules so upon installation it modifies or adds kernel modules.
What seems to happen is that the XenServer host upgrade changes the Linux kernel, which then has the side-effect that the previously installed DAHDI kernel modules disappear.
Original kernel version of this VM:
2.6.32-431.29.2.el6.i686 #1 SMP Tue Sep 9 20:14:52 UTC 2014
Kernel version after host upgrade:
2.6.32-696.6.3.el6.i686 #1 SMP Wed Jul 12 13:38:41 UTC 2017
Is my conclusion correct that the modified kernel causes this problem?
Is this known behavior and so intended or at least "normal" and to be expected? Any documents I find on Xen or Citrix XenServer leave me with the impression that to upgrade I merely need to migrate the VMs off the server or export/import, with no mention that on PV VMs you might have lost functionality after.
If it is not normal, what do I need to do to prevent it? What does it depend on? I do not necessarily know which VMs may have some sort of special module which will crash upon upgrade.
I am aware that most or all newer Linux versions seem to be implemented as HVM only on XenServer. Is that then the only way to prevent this problem?