>>Why --drop=cap_sys_rawio.
To be honest, I don't known. 

>>Does kvm drop this when starting? 
no, it's need it for scsi-block passthrough

http://www.linux-kvm.org/images/7/77/2012-forum-thin-provisioning.pdf

from slides 10, scsi passthrough need it.

The problem seem to be that lvm allow it, so our scsi_inquiry code think
that's is ok and that we can do passthrough.

The result in qemu, is that the whole underlaying /dev/sdx  is passthrough to 
the vm,
and not the lvm volume






----- Mail original -----
De: "dietmar" <diet...@proxmox.com>
À: "aderumier" <aderum...@odiso.com>, "pve-devel" <pve-devel@pve.proxmox.com>
Envoyé: Jeudi 25 Février 2016 06:54:22
Objet: Re: [pve-devel] virtual scsi disk passed with scsi-block with lvm host 
storage (wrong)

> #capsh --drop=cap_sys_rawio -- -c 'sg_inq /dev/pve/vm-115-disk-2' 
> Both SCSI INQUIRY and fetching ATA information failed on 
> /dev/pve/vm-115-disk-2 

Why --drop=cap_sys_rawio ? Does kvm drop this when starting? 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to