Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <domain type='kvm' id='3'>
- <name>myvm-master</name>
- <uuid>2727aaf1-7b03-4384-b7a9-c224af2b41cc</uuid>
- <memory unit='KiB'>4194304</memory>
- <currentMemory unit='KiB'>4194304</currentMemory>
- <vcpu placement='static'>4</vcpu>
- <resource>
- <partition>/machine</partition>
- </resource>
- <os>
- <type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
- <boot dev='hd'/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <pae/>
- </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/kvm-spice</emulator>
- <disk type='volume' device='disk'>
- <driver name='qemu' type='qcow2'/>
- <source pool='myvm' volume='myvm-master'/>
- <backingStore type='file' index='1'>
- <format type='qcow2'/>
- <source file='/var/lib/libvirt/images/myvm/myvm-master-base-volume'/>
- <backingStore/>
- </backingStore>
- <target dev='vda' bus='scsi'/>
- <wwn>05abcd8f75ee8e1a</wwn>
- <alias name='scsi0-0-0-0'/>
- <address type='drive' controller='0' bus='0' target='0' unit='0'/>
- </disk>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <source file='/var/lib/libvirt/images/myvm/myvm-master-init'/>
- <backingStore/>
- <target dev='hdd' bus='ide'/>
- <readonly/>
- <alias name='ide0-1-1'/>
- <address type='drive' controller='0' bus='1' target='0' unit='1'/>
- </disk>
- <controller type='scsi' index='0' model='virtio-scsi'>
- <alias name='scsi0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </controller>
- <controller type='usb' index='0' model='piix3-uhci'>
- <alias name='usb'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
- </controller>
- <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='virtio-serial' index='0'>
- <alias name='virtio-serial0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
- </controller>
- <interface type='bridge'>
- <mac address='52:54:00:9e:f6:cb'/>
- <source bridge='br0'/>
- <target dev='vnet2'/>
- <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/5'/>
- <target type='isa-serial' port='0'>
- <model name='isa-serial'/>
- </target>
- <alias name='serial0'/>
- </serial>
- <console type='pty' tty='/dev/pts/5'>
- <source path='/dev/pts/5'/>
- <target type='serial' port='0'/>
- <alias name='serial0'/>
- </console>
- <console type='tcp'>
- <source mode='bind' host='127.0.0.1' service='0' tls='no'/>
- <protocol type='telnet'/>
- <target type='virtio' port='1'/>
- <alias name='console1'/>
- </console>
- <channel type='pty'>
- <source path='/dev/pts/6'/>
- <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
- <alias name='channel0'/>
- <address type='virtio-serial' controller='0' bus='0' port='1'/>
- </channel>
- <input type='mouse' bus='ps2'>
- <alias name='input0'/>
- </input>
- <input type='keyboard' bus='ps2'>
- <alias name='input1'/>
- </input>
- <graphics type='spice' port='5902' autoport='yes' listen='127.0.0.1'>
- <listen type='address' address='127.0.0.1'/>
- </graphics>
- <video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
- <alias name='video0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
- </video>
- <memballoon model='virtio'>
- <alias name='balloon0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </memballoon>
- <rng model='virtio'>
- <backend model='random'>/dev/urandom</backend>
- <alias name='rng0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
- </rng>
- </devices>
- <seclabel type='dynamic' model='dac' relabel='yes'>
- <label>+64055:+116</label>
- <imagelabel>+64055:+116</imagelabel>
- </seclabel>
- </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement