Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7957047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:11:08+00:00 2026-06-04T04:11:08+00:00

( I feel this question half belongs here and half on Server Fault; please

  • 0

(I feel this question half belongs here and half on Server Fault; please let me know if you think there’s a better venue for it.)

How does Xen, or indeed, any hypervisor, expose hardware to guest operating systems?

For instance, a guest wanting to communicate on the network; at some stage its request must get translated into a request to the NIC. Does the hypervisor expose a dummy network device, which we assume the guest knows how to use? Or do paravirtualised guests have knowledge of how to directly make a request for a given piece of hardware? (If so, what do non-paravirtualised guests do?)

Once the request is made, who handles it? I’m guessing the hypervisor has no little knowledge about physical hardware (from a driver perspective), so it probably has to come down to the dom0. Right?

I ask because I love doing kernel development, but writing drivers is a chore. If I could rely on a dom0 with pretty good hardware support (Ubuntu, say), and then just write my kernel to run paravirtualised, and/or to make use of some mock device that Xen exposes, that would make my life a lot easier. It’s pretty difficult to find documentation on these topics, however, so my next stop is probably to look at a range of Xen guest implementations; HaLVM, a port of GHC for running Haskell software natively as a Xen guest, looks like a good start.

Thanks and salutations!

Edit: this marketing doc from Xen.org seems to state that the dom0 runs drivers in order to facilitate domUs’ block device and network access, in line with my guess. In this case, any technical references/specs/etc. would be awesome!

Edit: this (apparently outdated) documentation looks good.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:11:09+00:00Added an answer on June 4, 2026 at 4:11 am

    There are three types of device models.

    1. PV — For example, Linux PV guests use pv_ops (http://wiki.xen.org/wiki/XenParavirtOps, http://wiki.xen.org/wiki/Category:PVOPS)

    2. HVM — full virtualization of devices with QEMU (https://serverfault.com/questions/222010/difference-between-xen-pv-xen-kvm-and-hvm)

    3. Passthrough (http://wiki.xensource.com/wiki/Xen_PCI_Passthrough)

    The book The Definitive Guide to the Xen Hypervisor might be useful to you.

    There is quite a bit of development related info on the wiki:
    http://wiki.xen.org/wiki/Category:Developers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I haven't found this question, feel free to close if it's already up here.
I feel like this is a stupid question, but I can't think of a
There are a few questions around that circle around this question but I feel
NOTE: I am not an expert, so if you feel this question stupid/lame please
I feel like this question is basic enough to be out there somewhere, but
I feel embarrassed asking this question, but I've spent the last half an hour
First let me say that I really feel directionless on this question. I am
I feel really silly having to ask this question as I know I should
I feel stupid asking this question, but I've been wrestling with it for hours
I feel silly asking this question... Sometimes I have a domain that I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.