a68570b5d9
1. Add computing offloading code 2. Add script.md 3. Add virsh_demo.xml Change-Id: Id9ef883e2f0eb727eb5448b9d1c47767f46b1021 Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
111 lines
4.2 KiB
XML
111 lines
4.2 KiB
XML
<!--
|
|
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
|
|
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
|
|
virsh edit vm23
|
|
or other application using the libvirt API.
|
|
-->
|
|
|
|
<domain type='kvm'>
|
|
<name>lq</name>
|
|
<uuid>7c0189f5-457c-1834-9387-73de2860b088</uuid>
|
|
<memory unit='KiB'>4194304</memory>
|
|
<currentMemory unit='KiB'>4194304</currentMemory>
|
|
<memtune>
|
|
<hard_limit unit='KiB'>4194304</hard_limit>
|
|
</memtune>
|
|
<vcpu placement='static'>4</vcpu>
|
|
<iothreads>3</iothreads>
|
|
<iothreadids>
|
|
<iothread id='1'/>
|
|
<iothread id='2'/>
|
|
<iothread id='3'/>
|
|
</iothreadids>
|
|
<os>
|
|
<type arch='aarch64' machine='virt-5.0'>hvm</type>
|
|
<loader readonly='yes' type='pflash'>/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw</loader>
|
|
<nvram>/var/lib/libvirt/qemu/nvram/common_VARS.fd</nvram>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<gic version='3'/>
|
|
</features>
|
|
<cpu mode='host-passthrough' check='none'/>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-rexec</emulator>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='qcow2'/>
|
|
<source file='/home/VMs/lq/openEuler-22.03-LTS-aarch64.qcow2'/>
|
|
<target dev='vdc' bus='virtio'/>
|
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
|
</disk>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw'/>
|
|
<target dev='sda' bus='scsi'/>
|
|
<readonly/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<controller type='usb' index='0' model='qemu-xhci' ports='8'>
|
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
|
</controller>
|
|
<controller type='scsi' index='0' model='virtio-scsi'>
|
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
|
</controller>
|
|
<controller type='pci' index='0' model='pcie-root'/>
|
|
<controller type='pci' index='1' model='pcie-root-port'>
|
|
<model name='pcie-root-port'/>
|
|
<target chassis='1' port='0x8'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
|
|
</controller>
|
|
<controller type='pci' index='2' model='pcie-root-port'>
|
|
<model name='pcie-root-port'/>
|
|
<target chassis='2' port='0x9'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
</controller>
|
|
<controller type='pci' index='3' model='pcie-root-port'>
|
|
<model name='pcie-root-port'/>
|
|
<target chassis='3' port='0xa'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
</controller>
|
|
<controller type='pci' index='4' model='pcie-root-port'>
|
|
<model name='pcie-root-port'/>
|
|
<target chassis='4' port='0xb'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
|
|
</controller>
|
|
<controller type='pci' index='5' model='pcie-root-port'>
|
|
<model name='pcie-root-port'/>
|
|
<target chassis='5' port='0xc'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
|
|
</controller>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:41:63:1e'/>
|
|
<source network='default'/>
|
|
<model type='virtio'/>
|
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
</interface>
|
|
<serial type='pty'>
|
|
<target type='system-serial' port='0'>
|
|
<model name='pl011'/>
|
|
</target>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target type='serial' port='0'/>
|
|
</console>
|
|
<memballoon model='virtio'>
|
|
<stats period='10'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
</memballoon>
|
|
<graphics type="vnc" port="5992" autoport="yes" keymap="en-us" listen="127.0.0.3"/>
|
|
<!--<hostdev mode='subsystem' type='pci' managed='yes'>
|
|
<driver name='vfio'/>
|
|
<source>
|
|
<address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
|
|
</source>
|
|
</hostdev>-->
|
|
</devices>
|
|
</domain>
|