Make magic strings constants and check hypervisor compatibility