kvm 复制

EXAMPLES

       Clone the guest called "demo" which has a single disk to copy

         # virt-clone \
              --original demo \
              --name newdemo \
              --file /var/lib/xen/images/newdemo.img

       Clone a QEMU guest with multiple disks

         # virt-clone \
              --connect qemu:///system \
              --original demo \
              --name newdemo \
              --file /var/lib/xen/images/newdemo.img \
              --file /var/lib/xen/images/newdata.img

       Clone a guest to a physical device which is at least as big as the
       original guests disks. If the destination device is bigger, the new
       guest can do a filesystem resize when it boots.

         # virt-clone \
              --connect qemu:///system \
              --name demo \
              --file /dev/HostVG/DemoVM \
              --mac 54:52:00:34:11:54

你可能感兴趣的:(kvm,qemu)