Guest User

Untitled

a guest
May 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.21 KB | None | 0 0
  1. virt-viewer --connect qemu+ssh://user@host/system myvm
  2.  
  3. xrandr --output Virtual-0 --mode 1920x1200
  4.  
  5. ((null):3347): SpiceWorker-Warning **: red_worker.c:163:rendering_incorrect: rendering incorrect from now on: failed to get_drawable
  6.  
  7. <domain type='kvm' id='3'>
  8. <name>myvm</name>
  9. <uuid>1a3e678f-9e8c-457f-9089-f5a0781307d7</uuid>
  10. <memory unit='KiB'>2097152</memory>
  11. <currentMemory unit='KiB'>2097152</currentMemory>
  12. <vcpu placement='static'>2</vcpu>
  13. <resource>
  14. <partition>/machine</partition>
  15. </resource>
  16. <os>
  17. <type arch='x86_64' machine='pc-i440fx-xenial'>hvm</type>
  18. <boot dev='hd'/>
  19. </os>
  20. <features>
  21. <acpi/>
  22. <apic/>
  23. </features>
  24. <cpu mode='host-model'>
  25. <model fallback='allow'/>
  26. </cpu>
  27. <clock offset='utc'>
  28. <timer name='rtc' tickpolicy='catchup'/>
  29. <timer name='pit' tickpolicy='delay'/>
  30. <timer name='hpet' present='no'/>
  31. </clock>
  32. <on_poweroff>destroy</on_poweroff>
  33. <on_reboot>restart</on_reboot>
  34. <on_crash>restart</on_crash>
  35. <pm>
  36. <suspend-to-mem enabled='no'/>
  37. <suspend-to-disk enabled='no'/>
  38. </pm>
  39. <devices>
  40. <emulator>/usr/bin/kvm-spice</emulator>
  41. <disk type='file' device='disk'>
  42. <driver name='qemu' type='qcow2'/>
  43. <source file='/var/lib/libvirt/images/myvm.qcow2'/>
  44. <backingStore/>
  45. <target dev='vda' bus='virtio'/>
  46. <alias name='virtio-disk0'/>
  47. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  48. </disk>
  49. <disk type='file' device='cdrom'>
  50. <driver name='qemu' type='raw'/>
  51. <backingStore/>
  52. <target dev='hda' bus='ide'/>
  53. <readonly/>
  54. <alias name='ide0-0-0'/>
  55. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  56. </disk>
  57. <controller type='usb' index='0' model='ich9-ehci1'>
  58. <alias name='usb'/>
  59. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  60. </controller>
  61. <controller type='usb' index='0' model='ich9-uhci1'>
  62. <alias name='usb'/>
  63. <master startport='0'/>
  64. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  65. </controller>
  66. <controller type='usb' index='0' model='ich9-uhci2'>
  67. <alias name='usb'/>
  68. <master startport='2'/>
  69. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  70. </controller>
  71. <controller type='usb' index='0' model='ich9-uhci3'>
  72. <alias name='usb'/>
  73. <master startport='4'/>
  74. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  75. </controller>
  76. <controller type='pci' index='0' model='pci-root'>
  77. <alias name='pci.0'/>
  78. </controller>
  79. <controller type='ide' index='0'>
  80. <alias name='ide'/>
  81. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  82. </controller>
  83. <interface type='bridge'>
  84. <mac address='52:54:00:ba:17:fd'/>
  85. <source bridge='br0'/>
  86. <target dev='vnet1'/>
  87. <model type='virtio'/>
  88. <alias name='net0'/>
  89. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  90. </interface>
  91. <serial type='pty'>
  92. <source path='/dev/pts/2'/>
  93. <target port='0'/>
  94. <alias name='serial0'/>
  95. </serial>
  96. <console type='pty' tty='/dev/pts/2'>
  97. <source path='/dev/pts/2'/>
  98. <target type='serial' port='0'/>
  99. <alias name='serial0'/>
  100. </console>
  101. <input type='mouse' bus='ps2'/>
  102. <input type='keyboard' bus='ps2'/>
  103. <graphics type='vnc' port='5901' autoport='yes' listen='0.0.0.0'>
  104. <listen type='address' address='0.0.0.0'/>
  105. </graphics>
  106. <video>
  107. <model type='qxl' ram='262144' vram='131072' vgamem='131072' heads='1'>
  108. <acceleration accel3d='yes' accel2d='yes'/>
  109. </model>
  110. <alias name='video0'/>
  111. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  112. </video>
  113. <memballoon model='virtio'>
  114. <alias name='balloon0'/>
  115. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  116. </memballoon>
  117. </devices>
  118. <seclabel type='dynamic' model='apparmor' relabel='yes'>
  119. <label>libvirt-1a3e678f-9e8c-457f-9089-f5a0781307d7</label>
  120. <imagelabel>libvirt-1a3e678f-9e8c-457f-9089-f5a0781307d7</imagelabel>
  121. </seclabel>
  122. </domain>
Add Comment
Please, Sign In to add comment