Share SATA drive between hypervisor partitions?

cancel
Showing results for 
Search instead for 
Did you mean: 

Share SATA drive between hypervisor partitions?

Jump to solution
575 Views
stephenmcintyre
Contributor II

Is there a way to partition the T1040 and have each partition guest share the SATA drive? Can I set up a separate virtual disk on a SATA drive for each separate partition? or can I physically partition the SATA drive and have each hypervisor partition access the separate SATA drive partition. i.e. fdisk the SSD into multiple primary partitions.

Labels (1)
0 Kudos
1 Solution
382 Views
bpe
NXP TechSupport
NXP TechSupport

SATA drives are apart form  DMA, which is initiated and
controlled by SATA controllers. Under Topaz Hypervisor, you cannot share
SATA controllers, subsequently, a guest that does not own a SATA
controller, cannot  access any SATA drive connected to it. Use
QEMU/KVM virtualization is you want to share an HDD. This approach
uses the host kernel as a hypervisor, which allows a more fine-grain
resource sharing, for the price of higher overhead.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
382 Views
adeel
Contributor III

Hi,

Any controller (SATA/eMMC etc) can't be shared physically between multiple guests. You need virtual disk to be able to access separate partitions from different guest. Freescale HV should have support for VirtIO and Virtual disks. I think you need more than just DMA sharing like interrupts, command submission etc. KVM and Xen supports disk virtualization. Does QorIQ support KVM/Xen?

-Adeel

0 Kudos
382 Views
stephenmcintyre
Contributor II

After exploring the documentation I found that the HV partitions do not have direct access to the SATA disk drive. I see that a DMA window can be set up for each hv partition. Does anybody know if the SATA disk drive can accept DMA transfers from multiple partitions?

0 Kudos
383 Views
bpe
NXP TechSupport
NXP TechSupport

SATA drives are apart form  DMA, which is initiated and
controlled by SATA controllers. Under Topaz Hypervisor, you cannot share
SATA controllers, subsequently, a guest that does not own a SATA
controller, cannot  access any SATA drive connected to it. Use
QEMU/KVM virtualization is you want to share an HDD. This approach
uses the host kernel as a hypervisor, which allows a more fine-grain
resource sharing, for the price of higher overhead.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------