Finally got around to it. Thanks to some tips from a fellow Linode/NetBSDer I could avoid almost all of the pitfalls:
- Ahead of migration edit /etc/fstaband change allxbd1.*towd0.*. They were “1”s because XEN required a boot disk, but since that was going to be deleted with KVM I knew the disk would change to “0”.
- Also before migration edit rc.confand changexennet0towm0.
- And ideally before migration, but I forgot and only did after migration: Edit /etc/cgd/cgd.confand changexbd1.*towd0.*and rename/etc/cgd/xbd1eto/etc/cgd/wd0e.
And that’s it. Was much less painful than I was anticipating. At the moment I don’t have serial bootblocks so I don’t have lish access, only glish, but come the next NetBSD update I’ll correct that.
[EDIT: 2018-01-23] See updates on this previous post regarding device names/prefixes if using para-virtualization instead of full (as per above).
