Last active
January 4, 2016 01:59
-
-
Save CrashenX/8551833 to your computer and use it in GitHub Desktop.
Libvirt Domain XML for Mininet Guest **
N.B., I converted the vmdk to a qcow2 using virt-convert **
N.B., Make sure to specify the actual path to your qcow2 disk image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm'> | |
<name>mininet</name> | |
<memory unit='KiB'>1048576</memory> | |
<currentMemory unit='KiB'>1048576</currentMemory> | |
<vcpu placement='static'>1</vcpu> | |
<os> | |
<type arch='x86_64' machine='pc'>hvm</type> | |
</os> | |
<features> | |
<acpi/> | |
<pae/> | |
</features> | |
<clock offset='utc'/> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>destroy</on_crash> | |
<devices> | |
<emulator>/usr/bin/kvm</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2'/> | |
<source file='/path/to/mininet.qcow2'/> | |
<target dev='hda' bus='virtio'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file=''/> | |
<target dev='hdc' bus='ide'/> | |
<readonly/> | |
</disk> | |
<controller type='usb' index='0'/> | |
<controller type='ide' index='0'/> | |
<controller type='pci' index='0' model='pci-root'/> | |
<interface type='ethernet'> | |
<mac address='c8:f7:33:00:13:37'/> | |
<target dev='mininet'/> | |
<model type='virtio'/> | |
</interface> | |
<serial type='pty'/> | |
<input type='mouse' bus='ps2'/> | |
<graphics type='vnc' port='5901' autoport='no' listen=''> | |
<listen type='address' address=''/> | |
</graphics> | |
<video> | |
<model type='vga' vram='9216' heads='1'/> | |
</video> | |
<memballoon model='virtio'/> | |
</devices> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment