vms over ubuntu
- ubuntu需要修改emulator
1
<emulator>/usr/bin/qemu-system-x86_64</emulator>
- 需要cdrom引导安装系统
1
2
3
4
5
6
7
8
9
10
11
12
13<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none' io='native'/>
<source file='/srv/vm/img/openEuler.raw'/>
<target dev='vda' bus='virtio'/>
<boot order='1'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw' cache='none' io='native'/>
<source file='/srv/vm/img/openEuler-24.03-LTS-SP2-x86_64-dvd.iso'/>
<target dev='sdb' bus='scsi'/>
<readonly/>
<boot order='2'/>
</disk>
vms over ubuntu
https://gjorn4389.github.io/2023/12/20/os_ops/vm-ubuntu/