forked from UPC/ravada
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip(frontend): ISO file is no longer mandatory issue UPC#918 * Added templete for empty 32bit machine issue UPC#918 * Added template for empty 64bit machine issue UPC#918 * Modify empty i386 vm Added empty x64 vm in definition list issue UPC#918 * Fixed white spaces * Fixed white spaces * Change comments format to standarize formats Now, descriptions are like "Machine 32 bits" w issue UPC#918
- Loading branch information
1 parent
ae8628c
commit caf7890
Showing
4 changed files
with
198 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<domain type='kvm'> | ||
<name>empty-x64</name> | ||
<uuid>1805fb4f-ca45-a946-efbf-94124e760484</uuid> | ||
<memory unit='KiB'>1048576</memory> | ||
<currentMemory unit='KiB'>1048576</currentMemory> | ||
<vcpu placement='static'>1</vcpu> | ||
<os> | ||
<type arch='x86_64' machine='pc'>hvm</type> | ||
<boot dev='network'/> | ||
</os> | ||
<features> | ||
<acpi/> | ||
<apic/> | ||
<pae/> | ||
</features> | ||
<clock offset='utc'/> | ||
<on_poweroff>destroy</on_poweroff> | ||
<on_reboot>restart</on_reboot> | ||
<on_crash>restart</on_crash> | ||
<devices> | ||
<emulator>/usr/bin/kvm-spice</emulator> | ||
<disk type='file' device='disk'> | ||
<driver name='qemu' type='qcow2'/> | ||
<source file='/var/lib/libvirt/images/empty-x64.img'/> | ||
<backingStore/> | ||
<target dev='vda' bus='virtio'/> | ||
<alias name='virtio-disk0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | ||
</disk> | ||
<controller type='usb' index='0'> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> | ||
</controller> | ||
<controller type='pci' index='0' model='pci-root'/> | ||
<controller type='ide' index='0'> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> | ||
</controller> | ||
<interface type='network'> | ||
<mac address='52:54:00:a7:49:36'/> | ||
<source network='default'/> | ||
<model type='virtio'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | ||
</interface> | ||
<serial type='pty'> | ||
<target port='0'/> | ||
</serial> | ||
<console type='pty'> | ||
<target type='serial' port='0'/> | ||
</console> | ||
<channel type='spicevmc'> | ||
<target type='virtio' name='com.redhat.spice.0'/> | ||
<address type='virtio-serial' controller='0' bus='0' port='1'/> | ||
</channel> | ||
<input type='mouse' bus='ps2'/> | ||
<input type='keyboard' bus='ps2'/> | ||
<graphics type='spice' autoport='yes' listen='127.0.0.1'> | ||
<listen type='address' address='127.0.0.1'/> | ||
<image compression='auto_glz'/> | ||
<jpeg compression='auto'/> | ||
<zlib compression='auto'/> | ||
<playback compression='on'/> | ||
<streaming mode='filter'/> | ||
</graphics> | ||
<sound model='ich6'> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | ||
</sound> | ||
<video> | ||
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | ||
</video> | ||
<redirdev bus='usb' type='spicevmc'> | ||
</redirdev> | ||
<memballoon model='virtio'> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | ||
</memballoon> | ||
</devices> | ||
</domain> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
<domain type='kvm' id='26'> | ||
<name>empty-i386</name> | ||
<uuid>1805fb4f-ca45-aaaa-bbbb-94124e739131</uuid> | ||
<memory unit='KiB'>1048576</memory> | ||
<currentMemory unit='KiB'>1048576</currentMemory> | ||
<vcpu placement='static'>1</vcpu> | ||
<resource> | ||
<partition>/machine</partition> | ||
</resource> | ||
<os> | ||
<type arch='i686' machine='pc'>hvm</type> | ||
<boot dev='network'/> | ||
</os> | ||
<features> | ||
<acpi/> | ||
<apic/> | ||
<pae/> | ||
</features> | ||
<clock offset='utc'/> | ||
<on_poweroff>destroy</on_poweroff> | ||
<on_reboot>restart</on_reboot> | ||
<on_crash>restart</on_crash> | ||
<devices> | ||
<emulator>/usr/bin/kvm-spice</emulator> | ||
<disk type='file' device='disk'> | ||
<driver name='qemu' type='qcow2'/> | ||
<source file='/var/lib/libvirt/images/empty-i386.img'/> | ||
<backingStore/> | ||
<target dev='vda' bus='virtio'/> | ||
<alias name='virtio-disk0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | ||
</disk> | ||
<controller type='pci' index='0' model='pci-root'> | ||
<alias name='pci.0'/> | ||
</controller> | ||
<controller type='ide' index='0'> | ||
<alias name='ide'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> | ||
</controller> | ||
<controller type='usb' index='0' model='nec-xhci'> | ||
<alias name='usb'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> | ||
</controller> | ||
<controller type='virtio-serial' index='0'> | ||
<alias name='virtio-serial0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> | ||
</controller> | ||
<interface type='network'> | ||
<mac address='52:54:00:a7:49:34'/> | ||
<source network='default' bridge='virbr0'/> | ||
<target dev='vnet0'/> | ||
<model type='virtio'/> | ||
<alias name='net0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | ||
</interface> | ||
<serial type='pty'> | ||
<source path='/dev/pts/2'/> | ||
<target port='0'/> | ||
<alias name='serial0'/> | ||
</serial> | ||
<console type='pty' tty='/dev/pts/2'> | ||
<source path='/dev/pts/2'/> | ||
<target type='serial' port='0'/> | ||
<alias name='serial0'/> | ||
</console> | ||
<input type='mouse' bus='ps2'> | ||
<alias name='input0'/> | ||
</input> | ||
<input type='keyboard' bus='ps2'> | ||
<alias name='input1'/> | ||
</input> | ||
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'> | ||
<listen type='address' address='127.0.0.1'/> | ||
<image compression='auto_glz'/> | ||
<jpeg compression='auto'/> | ||
<zlib compression='auto'/> | ||
<playback compression='on'/> | ||
<streaming mode='filter'/> | ||
</graphics> | ||
<sound model='ich6'> | ||
<alias name='sound0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | ||
</sound> | ||
<video> | ||
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> | ||
<alias name='video0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | ||
</video> | ||
<redirdev bus='usb' type='spicevmc'> | ||
<alias name='redir0'/> | ||
<address type='usb' bus='0' port='1'/> | ||
</redirdev> | ||
<redirdev bus='usb' type='spicevmc'> | ||
<alias name='redir1'/> | ||
<address type='usb' bus='0' port='2'/> | ||
</redirdev> | ||
<redirdev bus='usb' type='spicevmc'> | ||
<alias name='redir2'/> | ||
<address type='usb' bus='0' port='3'/> | ||
</redirdev> | ||
<memballoon model='virtio'> | ||
<alias name='balloon0'/> | ||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | ||
</memballoon> | ||
</devices> | ||
</domain> | ||
|
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
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