Mercurial > hg > Members > menikon > CbC_xv6
changeset 5:f8ce1013b84d
kvm xml files
author | tobaru |
---|---|
date | Thu, 25 Jan 2018 19:33:40 +0900 |
parents | e4f49859477e |
children | 2617849843ec |
files | Dockerfile kvm-armLinux.xml kvm-armxv6.xml |
diffstat | 3 files changed, 104 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Dockerfile Fri Aug 04 20:58:06 2017 +0900 +++ b/Dockerfile Thu Jan 25 19:33:40 2018 +0900 @@ -2,8 +2,8 @@ RUN apt-get update -y RUN apt-get remove gdb -y RUN apt-get install gcc-arm-none-eabi gdb-arm-none-eabi qemu-system-arm mercurial -y -WORKDIR /code +WORKDIR /src RUN hg clone http://www.cr.ie.u-ryukyu.ac.jp/hg/Members/innparusu/xv6-rpi/ -WORKDIR /code/xv6-rpi/src +WORKDIR /src/xv6-rpi/src RUN make CMD /bin/bash
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kvm-armLinux.xml Thu Jan 25 19:33:40 2018 +0900 @@ -0,0 +1,53 @@ +<domain type='qemu' id='65'> + <name>arm1</name> + <uuid>8028f71a-1db8-40a4-94fa-5a4a42014273</uuid> + <memory unit='KiB'>131072</memory> + <currentMemory unit='KiB'>131072</currentMemory> + <vcpu placement='static'>1</vcpu> + <resource> + <partition>/machine</partition> + </resource> + <os> + <type arch='armv7l' machine='versatileab'>hvm</type> + <kernel>/var/lib/libvirt/images/zImage-versatile-2.6.24-rc7.armv5tel</kernel> + <cmdline>"root=0800"</cmdline> + <boot dev='hd'/> + </os> + <features> + <acpi/> + </features> + <clock offset='utc'/> + <on_poweroff>destroy</on_poweroff> + <on_reboot>restart</on_reboot> + <on_crash>restart</on_crash> + <devices> + <emulator>/bin/qemu-system-arm</emulator> + <disk type='file' device='disk'> + <driver name='qemu' type='raw'/> + <source file='/var/lib/libvirt/images/arm1.img'/> + <backingStore/> + <target dev='hdc' bus='scsi'/> + <alias name='scsi0-0-2'/> + <address type='drive' controller='0' bus='0' target='0' unit='2'/> + </disk> + <controller type='scsi' index='0'> + <alias name='scsi0'/> + </controller> + <input type='mouse' bus='ps2'> + <alias name='input0'/> + </input> + <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'> + <listen type='address' address='0.0.0.0'/> + </graphics> + <video> + <model type='cirrus' vram='16384' heads='1' primary='yes'/> + <alias name='video0'/> + </video> + </devices> + <seclabel type='none' model='none'/> + <seclabel type='dynamic' model='dac' relabel='yes'> + <label>+107:+107</label> + <imagelabel>+107:+107</imagelabel> + </seclabel> +</domain> +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kvm-armxv6.xml Thu Jan 25 19:33:40 2018 +0900 @@ -0,0 +1,49 @@ +<domain type='qemu' id='65'> + <name>arm1</name> + <memory unit='KiB'>121</memory> + <currentMemory unit='KiB'>131072</currentMemory> + <vcpu placement='static'>1</vcpu> + <resource> + <partition>/machine</partition> + </resource> + <os> + <type arch='armv7l' machine='versatileab'>hvm</type> + <kernel>/mnt/dalmore-home/one/src/xv6-rpi/src/kernel.elf</kernel> + </os> + <features> + <acpi/> + </features> + <clock offset='utc'/> + <on_poweroff>destroy</on_poweroff> + <on_reboot>restart</on_reboot> + <on_crash>restart</on_crash> + <devices> + <emulator>/bin/qemu-system-arm</emulator> + <disk type='file' device='disk'> + <driver name='qemu' type='raw'/> + <backingStore/> + <target dev='hdc' bus='scsi'/> + <alias name='scsi0-0-2'/> + <address type='drive' controller='0' bus='0' target='0' unit='2'/> + </disk> + <controller type='scsi' index='0'> + <alias name='scsi0'/> + </controller> + <input type='mouse' bus='ps2'> + <alias name='input0'/> + </input> + <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'> + <listen type='address' address='0.0.0.0'/> + </graphics> + <video> + <model type='cirrus' vram='16384' heads='1' primary='yes'/> + <alias name='video0'/> + </video> + </devices> + <seclabel type='none' model='none'/> + <seclabel type='dynamic' model='dac' relabel='yes'> + <label>+107:+107</label> + <imagelabel>+107:+107</imagelabel> + </seclabel> +</domain> +