Welcome 微信登录

首页 / 操作系统 / Linux / CentOS6 KVM配置软驱

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> 
Ubuntu / Xubuntu : 读写 exFAT 文件系统CentOS 6.3 更改yum源 换成163相关资讯      KVM 
  • 怎样在 Ubuntu 和 Debian 中通过命  (02月29日)
  • RHCSA 系列(十五): 虚拟化基础  (10/07/2015 15:25:43)
  • 在Ubuntu上安装KVM并搭建虚拟环境  (10/04/2015 06:28:17)
  • KVM嵌套虚拟化配置  (11/20/2015 20:16:53)
  • Ubuntu下使用KVM+Qemu 搭建虚拟机  (10/04/2015 06:48:51)
  • 如何在Linux发行版上安装和配置KVM  (10/04/2015 06:21:48)
本文评论 查看全部评论 (0)
表情: 姓名: 字数