1. A method, comprising: receiving a policy related to a virtual machine (VM), the policy specifying a requirement with regard to the VM; receiving an action to be taken with regard to the VM, the action corresponding to the requirement, the action to be taken in response to determining that the requirement is violated; receiving an input of the policy that has been sent by the VM; receiving a second input of the policy from a second VM; determining from the input and the second input that the requirement of the policy is violated; and taking the action of the policy in response to the violation.