Skip to contentSkip to conversation

question on xenbus priv in dom0

DISCUSSION NAHieu 2 participants 3 messages Oct 4, 2005

lore
Share & tools
lore

NAHieu

author
#0 lore raw

Hi,

In domU, we can't use xenbus to access anything outside of the domain's home. That means we are being restricted from reading/writing to other domain's xenstore. That is perfectly fine, and nobody complains here.

But in dom0, do we have the exception? Since dom0 is trusted, I think we can be allowed to access to all other domU's xenstore.

Is that possible? If not, any good workaround solution?

Thank you.
Hieu

#1 lore raw
Quoted 7 lines · NAHieu

Hi,

In domU, we can't use xenbus to access anything outside of the domain's home. That means we are being restricted from reading/writing to other domain's xenstore. That is perfectly fine, and nobody complains here.

Quoted 6 lines

But in dom0, do we have the exception? Since dom0 is trusted, I think we can be allowed to access to all other domU's xenstore.

Is that possible? If not, any good workaround solution?

It should be possible to read from anywhere in the store.

If you specify a path without a '/' in the beginning, it defaults to reading from the domain's home directory. However, if you use a fully qualified path, you should be able to read anywhere. If this doesn't work, it's a bug.

Regards,

Anthony Liguori

Quoted 10 lines

Thank you.
Hieu

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw
Quoted 15 lines · Anthony Liguori
Quoted 7 lines · NAHieu

Hi,

In domU, we can't use xenbus to access anything outside of the domain's home. That means we are being restricted from reading/writing to other domain's xenstore. That is perfectly fine, and nobody complains here.

Quoted 6 lines

But in dom0, do we have the exception? Since dom0 is trusted, I think we can be allowed to access to all other domU's xenstore.

Is that possible? If not, any good workaround solution?

Quoted 7 lines

It should be possible to read from anywhere in the store.

If you specify a path without a '/' in the beginning, it defaults to reading from the domain's home directory. However, if you use a fully qualified path, you should be able to read anywhere. If this doesn't work, it's a bug.

Excellent! Thank you, Anthony.

Hieu