问题表现
解决方案
进入黑裙虚拟机,点击编辑
,右上角打开XML视图
,找到如下代码
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/>
<backingStore/>
<target dev='hdd' bus='sata'/>
<serial>vdisk2</serial>
<alias name='sata0-0-3'/>
<address type='drive' controller='0' bus='0' target='0' unit='3'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/>
<backingStore/>
<target dev='hde' bus='sata'/>
<serial>vdisk3</serial>
<alias name='sata0-0-4'/>
<address type='drive' controller='0' bus='0' target='0' unit='4'/>
</disk>
在<target>
块内添加rotation_rate='1'
修改为以下代码
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RCNX0H409310M' index='2'/>
<backingStore/>
<target dev='hdd' bus='sata' rotation_rate='1'/>
<serial>vdisk2</serial>
<alias name='sata0-0-3'/>
<address type='drive' controller='0' bus='0' target='0' unit='3'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source dev='/dev/disk/by-id/ata-ST2000VM003-1ET164_W521CXBR' index='1'/>
<backingStore/>
<target dev='hde' bus='sata' rotation_rate='1'/>
<serial>vdisk3</serial>
<alias name='sata0-0-4'/>
<address type='drive' controller='0' bus='0' target='0' unit='4'/>
</disk>
修改后效果如图:
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(1)
亲测可用,感谢博主分享!