菜鸟玩云计算之十三:虚拟机迁移故障排除若干
今天把系统重装为Ubuntu 12.04.3LTS,然后把虚拟机迁移回来。出现若干错误。现把解决方法记录如下:
1)运行下面语句定义虚拟机:
<domain type='kvm'> <name>vm-gitlab6</name> <uuid>6deea115-1bdf-03f3-974e-182c140411b5</uuid> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <vcpu placement='static'>2</vcpu> <os> <type arch='x86_64' machine='pc-1.0'>hvm</type> <!-- for ubuntu 13.04 and later <type arch='x86_64' machine='pc-i440fx-1.4'>hvm</type> --> <boot dev='hd'/> </os> <features> <acpi/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <!-- for ubuntu 12.04.1 and before <emulator>/usr/bin/kvm</emulator> --> <emulator>/usr/bin/qemu-system-x86_64</emulator>......