Share SATA drive between hypervisor partitions?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Share SATA drive between hypervisor partitions?

ソリューションへジャンプ
932件の閲覧回数
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.

ラベル(1)
0 件の賞賛
1 解決策
739件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

3 返答(返信)
739件の閲覧回数
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 件の賞賛
739件の閲覧回数
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 件の賞賛
740件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------