问题表现
解决方案
进入黑裙虚拟机,点击编辑
,右上角打开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>
修改后效果如图:
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
- 最新
- 最热
只看作者