手机版
你好,游客 登录 注册
背景:
阅读新闻

CentOS6 KVM配置软驱

[日期:2012-08-25] 来源:Linux社区  作者:tonychiu [字体:大 中 小]

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> 
linux
相关资讯       KVM 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款