libguestfs 是一组 Linux 下的 C 语言的 API ,用来访问虚拟机的磁盘映像文件。支持的文件系统包括: all known types of Linux filesystem (ext2/3/4, XFS, btrfs, etc.), any Windows filesystem (VFAT and NTFS), any Mac OS X and BSD filesystems, LVM2 volumes, MBR and GPT disk partitions, raw disks, qcow2, CD and DVD ISO images, SD cards 等等. libguestfs 无需 root 权限。
libguestfs 1.20 改进记录:
- This release adds SVirt for secure containment of guests.
- It supports disk hotplugging and up to 255 disk images at once.
- New support for: POSIX ACLs, Linux capabilities, Windows dynamic disks, and Lua bindings.
- Multiple enhancements to virt-sysprep.
- Supports rsync to synchronize disk images with the host filesystem (both ways).
- Dozens of bugfixes
libguestfs 的下载地址:请点这里
