Displaying 2 results from an estimated 2 matches for "kvm_temp".
Did you mean:
kpv_temp
2015 May 06
2
Proper way to reference a disk
...the vm to work by converting the image to raw, then dumping via dd
into the LV, and editing the XML using virsh as follows:
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<*source file*='/dev/kvm_temp/pxetest'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
</disk>
By comparison I have a test machine on another real host upon which I
loa...
2015 May 06
0
Re: Proper way to reference a disk
...onverting the image to raw, then dumping via dd
> into the LV, and editing the XML using virsh as follows:
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw' cache='none'/>
> <*source file*='/dev/kvm_temp/pxetest'/>
The key for what <source> looks like is the <disk type='...'> attribute
a couple lines earlier. When type='file', then <source> lists a
file='...' absolute path, and libvirt treats it as a file (which sort of
works, except when querying...