Share SATA drive between hypervisor partitions?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Share SATA drive between hypervisor partitions?

跳至解决方案
1,274 次查看
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 解答
1,081 次查看
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 回复数
1,081 次查看
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 项奖励
回复
1,081 次查看
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 项奖励
回复
1,082 次查看
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!
-----------------------------------------------------------------------------------------------------------------------