How to Passthrough a specific device such as /dev/sda to a KVM guest, or better LXC guest

JOduMonT

Renowned Member
Jan 20, 2016
73
7
73
Bangkok
jdumont.consulting
Hi;
My goal is to run OMV(OpenMediaVault) inside a KVM guest and I would like to passthrough the drive as a RAW device.

I'm able to do it by passing all the SATA Controller but, on the same controller I would like to use other drive for another KVM guest.

So my question is, with PCI Passthrough, it is possible to be more specific and target only a device such as one of these option ?
- /dev/disk/by-path/
- /dev/disk/by-id/
- /dev/disk/by-partuuid/