4359 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • thumbnail
    linux - Determine which guest is running on XEN: HVM or PV guest - Server Fault

    A quick note, there are actually 3 modes, not two when it comes to the drivers in use:

    HVM: unmodified kernel and drivers using software emulated devices
    PV-HVM: unmodified kernel with paravirtualized (Xen specific) disk and network drivers
    PV: modified kernel and drivers

    For a Xen guest/DomU you can do a very basic uname and lsmod with a grep to list the modules in use:

    uname -a
    lsmod | grep xen

    If uname -a lists a kernel with the string "xen" in it, then you have a modified kernel and it's likely a PV guest, and you will see output from the lsmod command to confirm it. If you have output from the grep on lsmod but no sign of a modified kernel then you are PV-HVM. Without any sign of either, it's a straight HVM.

    Note: Generally you can do more with VMs that have the PV tools installed, so that can be quite an obvious pointer, however you can fake the presence of the PV tools to allow suspend/resume etc. so you cannot rely on that in general.

    August 21, 2015 at 10:10:47 AM GMT+2 - permalink - archive.org - http://serverfault.com/questions/511923/determine-which-guest-is-running-on-xen-hvm-or-pv-guest
    xen
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation