1 <domain type='kvm' id='6' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
2 <name>vm-test</name>
3 <uuid>e0cccc71-1a93-d008-15c0-60155feecb01</uuid>
4 <memory unit='KiB'>2097152</memory>
5 <currentMemory unit='KiB'>2097152</currentMemory>
6 <vcpu placement='static'>2</vcpu>
7 <resource>
8 <partition>/machine</partition>
9 </resource>
10 <os>
11 <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
12 <boot dev='hd'/>
13 </os>
14 <features>
15 <acpi/>
16 <apic/>
17 </features>
18 <cpu mode='host-passthrough' check='none'/>
19 <clock offset='utc'/>
20 <on_poweroff>destroy</on_poweroff>
21 <on_reboot>restart</on_reboot>
22 <on_crash>restart</on_crash>
23 <devices>
24 <emulator>/usr/libexec/qemu-kvm</emulator>
25 <disk type='file' device='disk'>
26 <driver name='qemu' type='qcow2'/>
27 <source file='/root/qemu/CentOS-Stream-GenericCloud-9-20220302.0.x86_64.qcow2_v2' index='1'/>
28 <backingStore type='file' index='2'>
29 <format type='qcow2'/>
30 <source file='/root/qemu/CentOS-Stream-GenericCloud-9-20220302.0.x86_64.qcow2'/>
31 <backingStore/>
32 </backingStore>
33 <target dev='vda' bus='virtio'/>
34 <alias name='virtio-disk0'/>
35 <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
36 </disk>
37 <controller type='ide' index='0'>
38 <alias name='ide'/>
39 <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
40 </controller>
41 <controller type='scsi' index='0' model='virtio-scsi'>
42 <alias name='scsi0'/>
43 <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
44 </controller>
45 <controller type='usb' index='0' model='piix3-uhci'>
46 <alias name='usb'/>
47 <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
48 </controller>
49 <controller type='pci' index='0' model='pci-root'>
50 <alias name='pci.0'/>
51 </controller>
52 <controller type='virtio-serial' index='0'>
53 <alias name='virtio-serial0'/>
54 <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
55 </controller>
56 <interface type='network'>
57 <mac address='00:16:3e:1a:b3:4a'/>
58 <source network='examplenetwork' portid='f4939d94-361b-473a-aa53-29473bbbc89a' bridge='virbr100'/>
59 <target dev='vnet0'/>
60 <model type='virtio'/>
61 <alias name='net0'/>
62 <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
63 </interface>
64 <serial type='pty'>
65 <source path='/dev/pts/1'/>
66 <target type='isa-serial' port='0'>
67 <model name='isa-serial'/>
68 </target>
69 <alias name='serial0'/>
70 </serial>
71 <console type='pty' tty='/dev/pts/1'>
72 <source path='/dev/pts/1'/>
73 <target type='serial' port='0'/>
74 <alias name='serial0'/>
75 </console>
76 <channel type='unix'>
77 <source mode='bind' path='/var/lib/libvirt/qemu/f16x86_64.agent'/>
78 <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
79 <alias name='channel0'/>
80 <address type='virtio-serial' controller='0' bus='0' port='1'/>
81 </channel>
82 <input type='mouse' bus='ps2'>
83 <alias name='input0'/>
84 </input>
85 <input type='keyboard' bus='ps2'>
86 <alias name='input1'/>
87 </input>
88 <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1' sharePolicy='allow-exclusive'>
89 <listen type='address' address='127.0.0.1'/>
90 </graphics>
91 <video>
92 <model type='qxl' ram='65536' vram='16384' vgamem='16384' heads='1' primary='yes'/>
93 <alias name='video0'/>
94 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
95 </video>
96 <memballoon model='virtio'>
97 <alias name='balloon0'/>
98 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
99 </memballoon>
100 </devices>
101 <seclabel type='dynamic' model='dac' relabel='yes'>
102 <label>+0:+0</label>
103 <imagelabel>+0:+0</imagelabel>
104 </seclabel>
105 <qemu:commandline>
106 <qemu:arg value='-gdb'/>
107 <qemu:arg value='tcp:127.0.0.1:1234'/>
108 </qemu:commandline>
109 </domain>
1 <network connections='1'>
2 <name>examplenetwork</name>
3 <uuid>9fd177fd-3f13-420d-baf6-bf211f730524</uuid>
4 <forward mode='nat'>
5 <nat>
6 <port start='1024' end='65535'/>
7 </nat>
8 </forward>
9 <bridge name='virbr100' stp='on' delay='0'/>
10 <mac address='52:54:00:6d:9e:2d'/>
11 <ip address='192.168.200.1' netmask='255.255.255.0'>
12 </ip>
13 </network>
1 title CentOS (4.18.0-305.7.1.el8_4.x86_64) 8 kernel
2 version 4.18.0-305.7.1.el8_4.x86_64
3 linux /vmlinuz-4.18.0-305.7.1.el8_4.x86_64
4 initrd /initramfs-4.18.0-305.7.1.el8_4.x86_64.img $tuned_initrd
5 options $kernelopts $tuned_params nokaslr
6 id centos-20210629220338-4.18.0-305.7.1.el8_4.x86_64
7 grub_users $grub_users
8 grub_arg --unrestricted
9 grub_class kernel