Share SATA drive between hypervisor partitions?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Share SATA drive between hypervisor partitions?

Jump to solution
1,271 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
Reply
1 Solution
1,078 Views
bpe
NXP Employee
NXP Employee

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
1,078 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
Reply
1,078 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
Reply
1,079 Views
bpe
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------