AIX VM with virt-manager
技巧
- AIX系統的虛擬磁碟 hdisk0 ,裝置類型必須是 SCSI 磁碟,並且使用指令先建立
qemu-img create -f qcow2 hdisk0.qcow2 20G
,磁碟大小可自行調整。
- 修改 xml 檔時,可以在 virt-manager 介面上操作,或者以指令模式替代。指令是
virsh edit <vm-name>
。
XML
- 修改 iso 檔路徑
- XML 檔增加第一行
<domain type=....>
與 <qemu:comandline> .... </qemu:commandline>
<domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
...
<devices>
...
</devices>
<qemu:commandline>
<qemu:arg value='-prom-env'/>
<qemu:arg value='boot-command=boot cdrom:'/>
<qemu:arg value='-cdrom'/>
<qemu:arg value='/home/cobra/aix72VM2/AIX72.iso'/>
</qemu:commandline>
</domain>
VM Configuration








No Comments