[libvirt] [PATCH] libxl: rework setting the state of virDomainObj