exporting a single partition?
Hi,
Is it possible at the moment to export a single partition to a kvm guest as a virtio block device, like you can with Xen? e.g. with LVM on the host, /dev/somevg/somelv -> /dev/vda1 ?
As far as I can see at the moment this is possible but it would have to be the whole of /dev/vda and therefore contain a partition table..
Cheers,
Andy
Quoted 5 lines · Andy Smith
Hi,
Is it possible at the moment to export a single partition to a kvm guest as a virtio block device, like you can with Xen? e.g. with LVM on the host,
/dev/somevg/somelv->/dev/vda1?
in Xen this is only possible for PV guests, non HVM.
KVM always uses what Xen calls HVM or 'full virtualization'; therefore, only export block devices, which (usually) contain partition tables.
Signature · 1 line
Javier
Quoted 10 lines · Andy Smith
Hi,
Is it possible at the moment to export a single partition to a kvm guest as a virtio block device, like you can with Xen? e.g. with LVM on the host,
/dev/somevg/somelv->/dev/vda1?As far as I can see at the moment this is possible but it would have to be the whole of
/dev/vdaand therefore contain a partition table..
No, because you can always use /dev/vda when you would normally use /dev/vda1.
For instance, "root=/dev/vda" will do the Right Thing.
Regards,
Anthony Liguori
Quoted 3 lines
Cheers,
Andy