Forbid VM to be migrated (pin VM to host)


Renowned Member
May 26, 2015
Hello. Is there any configuration option to pin a VM to a specific host? In my case, there are 2 VMs that are tied to host resources (IP addresses and network interfaces) and I want to prevent them to be migrated to another host by accident. I saw the "protection" flag but I think that only prevents deleting the VM.

AFAIK VM with local host resources won't be able to migrate anyway.
You will get a prompt that you can't migrate VM's with local resources e.g a passthrough NIC.

Dont put VM in HA and VMs with local resources cant be migrated so you should be fine.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!