美文网首页
KVM 从 Ubuntu 迁移至 CentOS 环境

KVM 从 Ubuntu 迁移至 CentOS 环境

作者: Alexander_Zz | 来源:发表于2020-01-09 11:31 被阅读0次

    一、修改 xml 文件

    1.1 <os> <type> 中
    # Ubuntu 系统示例
      <os>
        <type arch='x86_64' machine='pc-i440fx-xenial'>hvm</type>
        <boot dev='hd'/>
      </os>
    
    # CentOS 系统示例
      <os>
        <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>   # machine 类型不一样,需修改
        <boot dev='hd'/>
      </os>
    
    1.2 <devices> <emulator> 中
    # Ubuntu 系统示例
       <emulator>/usr/bin/kvm-spice</emulator>
    
    # CentOS 系统示例
       <emulator>/usr/libexec/qemu-kvm</emulator>   # emulator 不一样,需修改
    

    相关文章

      网友评论

          本文标题:KVM 从 Ubuntu 迁移至 CentOS 环境

          本文链接:https://www.haomeiwen.com/subject/thlyactx.html