Ciao Толя,

> Is there any way to assign single partition to KVM virtual machine (for 
> example, i need to assign /dev/sda1 on my host as /dev/hda1 on VM)
> In XEN this assignment looks like disk=[ 'phy:/dev/lvm_dg-vol1,xvda1,w',].

with LVM, you can do that:

kvm ..... -drive file=/dev/mapper/vm-root,if=scsi,index=0,boot=on ......

I think it should work even without LVM, for example:
kvm ..... -drive file=/dev/sda1,if=scsi,index=0,boot=on ......

-- 
Paolo Pedaletti


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to