Advertisement
Star_Craft

Untitled

Apr 29th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. sudo vi /usr/share/libvirt/cpu_map.xml
  2. 以下を追加
  3.  
  4. <model name='Ryzen'>
  5. <signature family='23' model='1'/>
  6. <vendor name='AMD'/>
  7. <feature name='3dnowprefetch'/>
  8. <feature name='abm'/>
  9. <feature name='adx'/>
  10. <feature name='aes'/>
  11. <feature name='apic'/>
  12. <feature name='avx'/>
  13. <feature name='avx2'/>
  14. <feature name='bmi1'/>
  15. <feature name='bmi2'/>
  16. <feature name='clflush'/>
  17. <feature name='cmov'/>
  18. <feature name='cx16'/>
  19. <feature name='cx8'/>
  20. <feature name='de'/>
  21. <feature name='f16c'/>
  22. <feature name='fma'/>
  23. <feature name='fpu'/>
  24. <feature name='fxsr'/>
  25. <feature name='fsgsbase'/>
  26. <feature name='lahf_lm'/>
  27. <feature name='lm'/>
  28. <feature name='mca'/>
  29. <feature name='mce'/>
  30. <feature name='misalignsse'/>
  31. <feature name='movbe'/>
  32. <feature name='mmx'/>
  33. <feature name='msr'/>
  34. <feature name='mtrr'/>
  35. <feature name='nx'/>
  36. <feature name='pae'/>
  37. <feature name='pat'/>
  38. <feature name='pclmuldq'/>
  39. <feature name='pdpe1gb'/>
  40. <feature name='pge'/>
  41. <feature name='pni'/>
  42. <feature name='popcnt'/>
  43. <feature name='pse'/>
  44. <feature name='pse36'/>
  45. <feature name='rdtscp'/>
  46. <feature name='rdrand'/>
  47. <feature name='rdseed'/>
  48. <feature name='sep'/>
  49. <feature name='smap'/>
  50. <feature name='smep'/>
  51. <feature name='sse'/>
  52. <feature name='sse2'/>
  53. <feature name='sse4.1'/>
  54. <feature name='sse4.2'/>
  55. <feature name='sse4a'/>
  56. <feature name='ssse3'/>
  57. <feature name='svm'/>
  58. <feature name='syscall'/>
  59. <feature name='tsc'/>
  60. <feature name='xsave'/>
  61. <feature name='xsaveopt'/>
  62. <feature name='xsavec'/>
  63. <feature name='xsavec'/>
  64. <feature name='xgetbv1'/>
  65. </model>
  66.  
  67. 「実行結果」
  68. qemu-system-x86_64 -enable-kvm -name guest=ubuntu17.04,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-ubuntu17.04/master-key.aes -machine pc-i440fx-zesty,accel=kvm,usb=off,dump-guest-core=off -cpu Opteron_G5,+movbe,+rdrand,+fsgsbase,+bmi1,+avx2,+smep,+bmi2,+rdseed,+adx,+smap,+xsaveopt,+xsavec,+xgetbv1,-xop,-fma4,-tbm -m 4048 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid c7f2c7db-a212-4ee7-a8cf-78a3dbc826ba -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-ubuntu17.04/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -drive file=/var/lib/libvirt/images/ubuntu17.04.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,id=drive-ide0-0-0,readonly=on -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:af:b4:45,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 127.0.0.1:0 -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement