Skip to contentSkip to conversation

privileged domains and networking

DISCUSSION Jody Belka 5 participants 7 messages Nov 26, 2004 – Nov 27, 2004

lore
Share & tools
lore

Jody Belka

author
#0 lore raw

Just a couple of quick questions that were running around in my head lately. First, can either of the bsd ports operate as privleged domains yet? And second, is it currently possible to do something like the following:

hard disk(s) nic(s)

       |                          |
       |                          |
 /-----------\              /-----------\
 | dom0-priv |   blk dev    | dom1-priv |
 |           |--------------|           |
 |      xend |  event chnl  |           |
 \-----------/              \-----------/

and then have xend create unprivleged domains with block device event channels hooked up to domain 0, and network device event channels hooked up to domain 1?

Signature · 9 lines
Jody Belka
knew (at) pimb (dot) org


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
#1 lore raw
Quoted 1 line · Jody Belka

First, can either of the bsd ports operate as privleged domains yet?

There are 3 bsd ports (FreeBSD, NetBsd, OpenBSD). Which two are you referring to?

Thanks,
Dave Feustel
(running Openbsd 3.6)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

author
#2 lore raw
Quoted 5 lines · Dave Feustel
Quoted 1 line · Jody Belka

First, can either of the bsd ports operate as privleged domains yet?

There are 3 bsd ports (FreeBSD, NetBsd, OpenBSD). Which two are you referring to?

Ah, i hadn't realised Open had been done yet. let's change that then :)

"First, can any of the bsd ports operate as privleged domains yet?"

Signature · 9 lines
Jody Belka
knew (at) pimb (dot) org


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
#3 lore raw
Quoted 8 lines · Jody Belka
Quoted 5 lines · Dave Feustel
Quoted 1 line · Jody Belka

First, can either of the bsd ports operate as privleged domains yet?

There are 3 bsd ports (FreeBSD, NetBsd, OpenBSD). Which two are you referring to?

Ah, i hadn't realised Open had been done yet. let's change that then :)

My wording mislead you. As far as I know, none of the 3 BSDs have been ported to Xen yet.

Quoted 1 line

"First, can any of the bsd ports operate as privleged domains yet?"

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#4 lore raw
Quoted 5 lines · Dave Feustel
Quoted 4 lines · Jody Belka
Quoted 3 lines · Dave Feustel
Quoted 1 line · Jody Belka

First, can either of the bsd ports operate as privleged domains yet?

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

There are 3 bsd ports (FreeBSD, NetBsd, OpenBSD). Which two are you referring to?

Ah, i hadn't realised Open had been done yet. let's change that then :)

My wording mislead you. As far as I know, none of the 3 BSDs have been ported to Xen yet.

Both FreeBSD and NetBSD have been ported to Xen 2.0. (also there are more than 3 BSDs...)

Quoted 1 line
Quoted 1 line

"First, can any of the bsd ports operate as privleged domains yet?"

The NetBSD port to Xen 1.2 is complete and works as a privileged domain -- you can run a Xen 1.2 NetBSD only machine. There's currently no incentive to make the port to Xen 2.0 operate as a privileged domain.

christian

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#5 lore raw
In reply to Dave Feustel
Quoted 2 lines · Dave Feustel

My wording mislead you. As far as I know, none of the 3 BSDs have been ported to Xen yet.

If you are talking about non-domain0 functionality, NetBSD and FreeBSD are AFAIK available.

http://www.cl.cam.ac.uk/Research/SRG/netos/xen/faq.html#a1.3
So far we have stable ports of Linux 2.4, Linux 2.6, and NetBSD. Ports of FreeBSD and Plan 9 are nearing completion.

j.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

#6 lore raw
In reply to Jody Belka
Quoted 1 line

Just a couple of quick questions that were running around in my head lately. First, can either of the bsd ports operate as privleged domains yet?

Neither of the BSD ports to Xen (FreeBSD and NetBSD) have domain zero functionality (at this time). I don't think there are any plans to implement domain zero functionality for NetBSD, I don't know what the FreeBSD guys are intending to do.

Quoted 12 lines

And second, is it currently possible to do something like the following:

hard disk(s) nic(s)

       |                          |
       |                          |
 /-----------\              /-----------\
 | dom0-priv |   blk dev    | dom1-priv |
 |           |--------------|           |
 |      xend |  event chnl  |           |
 \-----------/              \-----------/
Quoted 3 lines

and then have xend create unprivleged domains with block device event channels hooked up to domain 0, and network device event channels hooked up to domain 1?

That should work in principle. Xend configuration files should allow you to specify what domain to use as a backend for a device. I'm not sure anybody has actually ever tried it...

Cheers,
Mark

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/