歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> CentOS6 KVM配置軟驅

CentOS6 KVM配置軟驅

日期:2017/2/28 15:42:27   编辑:Linux教程

CentOS6 KVM配置軟驅,相關配置如下:

重點為粗體部分

  1. <os>
  2. <type arch='x86_64' machine='rhel6.0.0'>hvm</type>
  3. <boot dev='cdrom'/>
  4. <boot dev='fd'/> #代表軟驅
  5. </os>
  6. <features>
  7. <acpi/>
  8. <apic/>
  9. <pae/>
  10. </features>
  11. <clock offset='localtime'/>
  12. <on_poweroff>destroy</on_poweroff>
  13. <on_reboot>restart</on_reboot>
  14. <on_crash>restart</on_crash>
  15. <devices>
  16. <emulator>/usr/libexec/qemu-kvm</emulator>
  17. <disk type='file' device='disk'>
  18. <driver name='qemu' type='qcow2' cache='none'/>
  19. <source file='/gfs/sysdisk/sysdisk-pool/virtio-xp2.img'/>
  20. <target dev='hda' bus='ide'/>
  21. <address type='drive' controller='0' bus='0' unit='0'/>
  22. </disk>
  23. <disk type='file' device='cdrom'>
  24. <driver name='qemu' type='raw'/>
  25. <source file='/gfs/sysdisk/installdisk-pool/custom-xp-sp3.iso'/>
  26. <target dev='hdc' bus='ide'/>
  27. <readonly/>
  28. <address type='drive' controller='0' bus='1' unit='0'/>
  29. </disk>
  30. <disk type='file' device='floppy'>
  31. <driver name='qemu' type='raw'/>
  32. <source file='/gfs/sysdisk/installdisk-pool/virtio-win-1.5.3.vfd'/>
  33. <target dev='fda' bus='fdc'/>
  34. <address type='drive' controller='0' bus='0' unit='0'/>
  35. </disk>
Copyright © Linux教程網 All Rights Reserved