How to make sure xen DomU is HVM or PV
In Citrix XenServer 6.2, looking at all the parameters of the virtual machine, you will see that Refferences on PV or HVM:
# xe vm-list name-label=myVM params=all|grep PV-[kd]
PV-kernel ( RW):
PV-drivers-version (MRO): major: 6; minor: 2; micro: 0; build: 70442
PV-drivers-up-to-date ( RO): true
It turns out, in the case of a Linux VM, you can see if its PV will be:
[myVM]$ dmesg | egrep "Booting|Xen ver"
Booting paravirtualized kernel on Xen
Xen version: 4.1.5 (preserve-AD)
I'm not really sure why the PV core doesn't reflect this. See determine-which-guest-is-running-on-xen-hvm-or-pv-guest and is-there-an-os-command-i-can-run-to-determine-if-running-inside for details -a-xen-based-virt .
source to share
If your Dom0 is a Linux machine, can you check the output of the "ps -eaf | grep qemu" command? It should indicate the type of guest system running on it (in case of using the xen hypervisor).
The result corresponding to the guest pv will end in "-M xenpv", and the output corresponding to the hvm / pvhvm guests should end in "-M xenfv". This is what I find in my case.
# ps -eaf | grep qemu
/usr/lib/xen/bin/qemu-dm -d 419 -serial pty -domain-name pvm_guest -videoram 4 -vnc 0.0.0.0:0 -vncunused -M xenpv
/usr/lib/xen/bin/qemu-dm -d 429 -domain-name hvm_guest -videoram 4 -k en-us -vnc 0.0.0.0:0 -vncunused -vcpus 1 -vcpu_avail 0x1 -boot c -serial pty -acpi -net nic,vlan=1,macaddr=00:16:3e:40:94:4f,model=rtl8139 -net tap,vlan=1,ifname=tap429.0,bridge=br0 -M xenfv
source to share