Answer the question
In order to leave comments, you need to log in
How to check PV in Xen?
Hello,
I apologize for the stupid question, but I did not find an answer on the net, and before launching it into production, you need to make sure that the XEN settings are correct.
Actually the question is how to check in what mode the guest system is running,
in PV or HVM mode ?
uname -a output on dom0
Linux nginx2 2.6.32-5-xen-amd64 #1 SMP Sun Sep 23 13:49:30 UTC 2012 x86_64 GNU/Linux
uname -a output on dom1
Linux oldsite 2.6.32-5-xen- amd64 #1 SMP Sun Sep 23 13:49:30 UTC 2012 x86_64 GNU/Linux
/proc/cpuid output seems to be exactly the same except for the number of processors
Connecting to guest system via xm console oldsite command
Both debian systems
PS. As far as I understand, everything was automatically installed correctly, if the system was in HVM mode, I would have to connect via VNC, am I right?
Answer the question
In order to leave comments, you need to log in
If you wrote the config yourself, you should know in which mode the guest system is loaded. Where is the question from?
Anyway, inside the system you can do dmesg|grep Xen and see:
[ 0.000000] Booting paravirtualized kernel on Xen
[ 0.000000] Xen version: 4.0.1 (preserve-AD)
[ 0.000000] Xen: using vcpu_info placement
[ 0.000000] Xen: using vcpuop timer interface
[ 0.000000] ACPI: RSDP 000ea020 00024 (v02 Xen)
[ 0.000000] ACPI: XSDT fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: FACP fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: DSDT fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20100528)
[ 0.000000] ACPI: APIC fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000)
[ 0.000000] Xen version 4.0.
[ 0.000000] Xen Platform PCI: I/O protocol version 1
[ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs.
[ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks.
[ 0.000000] Booting paravirtualized kernel on Xen
[ 0.000000] Xen HVM callback vector for event delivery is enabled
the simplest is:
# virsh dumpxml dom_name
and look for:
hvm
/usr/lib/xen/boot/hvmloader
This means
the PV HVM looks something like this:
linux
/var/lib/xen/boot_kernel.I3fzAL
well, or,
# virsh dumpxml dom_name | grep hvm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question