Skip to contentSkip to conversation

Question: direct I/O for system volume

DISCUSSION Jun Kamada 2 participants 5 messages Aug 27, 2008 – Aug 28, 2008

lore
Share & tools
lore

Jun Kamada

author
#0 lore raw

Hi all,

I have a simple question about the device passthrough functionality, that Xen 3.3 started to support. Does the functionality provide direct I/O for "system volume" in guest domain? I suppose extension of many components, such as guest firmware, will be needed. Somebody have a plan to do the extension?

Best regards,

-----
Jun Kamada

#1 lore raw

Hello,

Quoted 2 lines · Jun Kamada, le Wed 27 Aug 2008 20:07:23 +0900, a écrit :

Does the functionality provide direct I/O for "system volume" in guest domain?

What do you call "system volume"?

Samuel

author
#2 lore raw

Hi Samuel-san,

Quoted 5 lines · On Thu, 28 Aug 2008 09:59:08 +0100 Samuel Thibault…

Jun Kamada, le Wed 27 Aug 2008 20:07:23 +0900, a 馗rit :

Quoted 2 lines

Does the functionality provide direct I/O for "system volume" in guest domain?

What do you call "system volume"?

Sorry, it means "boot disk".

Guest software can directly see HBA(Host Bus Adapter) as a hardware by using the device passthrough functionality. However, current guest BIOS doesn't have a capability to load and invoke expansion ROM stored in the HBA, I guess. As a result, the guest OS cannot boot up from a disk under the HBA.

#If my understanding was wrong, please point out.

I understand that this limitation does not come from the device passthrough functionality, but probably from guest BIOS or the other component.

Best regards,

-----
Jun Kamada

#3 lore raw

Hello,

Quoted 8 lines · Jun Kamada, le Thu 28 Aug 2008 18:31:23 +0900, a écrit :
Quoted 5 lines · On Thu, 28 Aug 2008 09:59:08 +0100 Samuel Thibault…

Jun Kamada, le Wed 27 Aug 2008 20:07:23 +0900, a 馗rit :

Quoted 2 lines

Does the functionality provide direct I/O for "system volume" in guest domain?

What do you call "system volume"?

Quoted 7 lines

Sorry, it means "boot disk".

Guest software can directly see HBA(Host Bus Adapter) as a hardware by using the device passthrough functionality. However, current guest BIOS doesn't have a capability to load and invoke expansion ROM stored in the HBA, I guess. As a result, the guest OS cannot boot up from a disk under the HBA.

Ok, much more clear :)
You may want to have a look at Jean Guyader's work on VGA card pass-through, which precisely requires mapping the expansion ROM into the guest. In other words, the tools to achieve it are there, I guess you just need to assemble them.

Samuel

author
#4 lore raw

Hi Samuel-san,

Thank you for your helpful information. I will access the work.

Best regards,

Quoted 19 lines · On Thu, 28 Aug 2008 10:44:41 +0100 Samuel Thibault…

Hello,

Jun Kamada, le Thu 28 Aug 2008 18:31:23 +0900, a ecrit :

Quoted 8 lines
Quoted 5 lines · On Thu, 28 Aug 2008 09:59:08 +0100 Samuel Thibault…

Jun Kamada, le Wed 27 Aug 2008 20:07:23 +0900, a 馗rit :

Quoted 2 lines

Does the functionality provide direct I/O for "system volume" in guest domain?

What do you call "system volume"?

Quoted 7 lines

Sorry, it means "boot disk".

Guest software can directly see HBA(Host Bus Adapter) as a hardware by using the device passthrough functionality. However, current guest BIOS doesn't have a capability to load and invoke expansion ROM stored in the HBA, I guess. As a result, the guest OS cannot boot up from a disk under the HBA.

Quoted 7 lines

Ok, much more clear :)
You may want to have a look at Jean Guyader's work on VGA card pass-through, which precisely requires mapping the expansion ROM into the guest. In other words, the tools to achieve it are there, I guess you just need to assemble them.

Samuel

-----
Jun Kamada