Advertisement
Guest User

virtual machine info

a guest
Jan 6th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. [root@centos ben]# cat /etc/libvirt/qemu/Desktop.xml
  2. <!--
  3. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  4. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  5. virsh edit Desktop
  6. or other application using the libvirt API.
  7. -->
  8.  
  9. <domain type='kvm'>
  10. <name>Desktop</name>
  11. <uuid>0b04c7bc-5cad-47de-a602-0c95a6d78083</uuid>
  12. <memory unit='KiB'>4194304</memory>
  13. <currentMemory unit='KiB'>4194304</currentMemory>
  14. <vcpu placement='static'>4</vcpu>
  15. <os>
  16. <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
  17. <boot dev='hd'/>
  18. </os>
  19. <features>
  20. <acpi/>
  21. <apic/>
  22. <pae/>
  23. </features>
  24. <clock offset='utc'/>
  25. <on_poweroff>destroy</on_poweroff>
  26. <on_reboot>restart</on_reboot>
  27. <on_crash>restart</on_crash>
  28. <devices>
  29. <emulator>/usr/libexec/qemu-kvm</emulator>
  30. <disk type='file' device='disk'>
  31. <driver name='qemu' type='qcow2' cache='none'/>
  32. <source file='/var/lib/libvirt/images/Desktop.img'/>
  33. <target dev='vda' bus='virtio'/>
  34. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  35. </disk>
  36. <controller type='usb' index='0'>
  37. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  38. </controller>
  39. <controller type='pci' index='0' model='pci-root'/>
  40. <controller type='ide' index='0'>
  41. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  42. </controller>
  43. <controller type='virtio-serial' index='0'>
  44. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  45. </controller>
  46. <interface type='bridge'>
  47. <mac address='52:54:00:bf:a0:07'/>
  48. <source bridge='br0'/>
  49. <model type='virtio'/>
  50. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  51. </interface>
  52. <serial type='pty'>
  53. <target port='0'/>
  54. </serial>
  55. <console type='pty'>
  56. <target type='serial' port='0'/>
  57. </console>
  58. <channel type='spicevmc'>
  59. <target type='virtio' name='com.redhat.spice.0'/>
  60. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  61. </channel>
  62. <input type='tablet' bus='usb'/>
  63. <input type='mouse' bus='ps2'/>
  64. <graphics type='spice' autoport='yes' listen='127.0.0.1'>
  65. <listen type='address' address='127.0.0.1'/>
  66. </graphics>
  67. <sound model='ich6'>
  68. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  69. </sound>
  70. <video>
  71. <model type='qxl' ram='65536' vram='65536' heads='1'/>
  72. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  73. </video>
  74. <hostdev mode='subsystem' type='pci' managed='yes'>
  75. <source>
  76. <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  77. </source>
  78. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  79. </hostdev>
  80. <hostdev mode='subsystem' type='pci' managed='yes'>
  81. <source>
  82. <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
  83. </source>
  84. <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  85. </hostdev>
  86. <memballoon model='virtio'>
  87. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  88. </memballoon>
  89. </devices>
  90. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement