> For the complete documentation index, see [llms.txt](https://huataihuang.gitbook.io/cloud-atlas-draft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huataihuang.gitbook.io/cloud-atlas-draft/virtual/libvirt/develop/python/live_migrate.md).

# 热迁移

## libvirt-override.py

libvirt的开发提供了 `libvirt-override.py` 可以用来覆盖修改 `libvirt.py`，在 `libvirt.py` 中有注释：

```python
# To change the manually written methods edit libvirt-override.py
# To change the automatically written methods edit generator.py  这个XML API的描述生成python wrapper
```

## 参考

* [Libvirt Application Development Guide Using Python](https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/)
