kvm
Differences
This shows you the differences between two versions of the page.
| kvm [2012/11/27 20:24] – created vrillusions | kvm [2012/11/28 12:55] (current) – corrected monospace markup vrillusions | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * Shutdown the vm if it's running | * Shutdown the vm if it's running | ||
| - | * `qemu-img info / | + | * '' |
| * Note the size given for virtual size | * Note the size given for virtual size | ||
| - | * `sudo lvcreate -L 12345678b -n kvm_vm1 vg0` where 12345678 is the size you got from above command. Remember the b at the end | + | * '' |
| - | * `sudo qemu-img convert / | + | * '' |
| - | * `virsh edit vm1` and change it from this | + | * '' |
| <file xml> | <file xml> | ||
| <disk type=' | <disk type=' | ||
| Line 38: | Line 38: | ||
| * Shutdown the vm if it's running | * Shutdown the vm if it's running | ||
| - | * `sudo lvcreate -L 12345678b -n kvm_vm1 vg0` where 12345678 is the size you got from above command. Remember the b at the end | + | * '' |
| - | * `sudo qemu-img convert / | + | * '' |
| - | * `virsh edit vm1` and change it from this | + | * '' |
| <file xml> | <file xml> | ||
| <disk type=' | <disk type=' | ||
kvm.1354076652.txt.gz · Last modified: 2012/11/27 20:24 by vrillusions