Add qcow-disk example
This commit is contained in:
@@ -43,18 +43,29 @@ File `/etc/libvirt/qemu/vm71.xml`
|
||||
</pm>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-kvm</emulator>
|
||||
<disk type="block" device="disk">
|
||||
<driver name="qemu" type="raw" cache="none"/>
|
||||
<source dev="/dev/fdr/vm71"/>
|
||||
<target dev="sdb" bus="scsi"/>
|
||||
<address type="drive" controller="0" bus="0" target="1" unit="0"/>
|
||||
</disk>
|
||||
<!--
|
||||
<disk type="file" device="disk">
|
||||
<driver name="qemu" type="raw" cache="none"/>
|
||||
<source file="/mnt/dmp/3/sda.img"/>
|
||||
<target dev="sda" bus="scsi"/>
|
||||
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
||||
</disk>
|
||||
<disk type="block" device="disk">
|
||||
<driver name="qemu" type="raw" cache="none"/>
|
||||
<source dev="/dev/sdc"/>
|
||||
<target dev="sdb" bus="scsi"/>
|
||||
<address type="drive" controller="0" bus="0" target="1" unit="0"/>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='qcow2' />
|
||||
<source file='/mnt/data/domain.qcow2' comment='Create: qemu-img create -F raw -f qcow2 -o backing_file=/dev/fdr/vm71 /mnt/data/domain.qcow2'/>
|
||||
<backingStore type='block'>
|
||||
<format type='raw'/>
|
||||
<source dev='/dev/fdr/vm71'/>
|
||||
</backingStore>
|
||||
<target dev='sda' bus='scsi'/>
|
||||
</disk>
|
||||
-->
|
||||
<disk type="file" device="cdrom">
|
||||
<driver name="qemu" type="raw"/>
|
||||
<source file="/mnt/data/systemrescue-11.00-amd64.iso"/>
|
||||
|
Reference in New Issue
Block a user