search for: xenvmmxenvmm

Displaying 12 results from an estimated 12 matches for "xenvmmxenvmm".

2013 Jul 23
2
[PATCH 2/4] xen: switch to use hypervisor_cpuid_base()
...signature[13]; - - for (base = 0x40000000; base < 0x40010000; base += 0x100) { - cpuid(base, &eax, &ebx, &ecx, &edx); - *(uint32_t *)(signature + 0) = ebx; - *(uint32_t *)(signature + 4) = ecx; - *(uint32_t *)(signature + 8) = edx; - signature[12] = 0; - - if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) - return base; - } - - return 0; + return hypervisor_cpuid_base("XenVMMXenVMM", 2); } #ifdef CONFIG_XEN -- 1.7.1
2013 Jul 23
2
[PATCH 2/4] xen: switch to use hypervisor_cpuid_base()
...signature[13]; - - for (base = 0x40000000; base < 0x40010000; base += 0x100) { - cpuid(base, &eax, &ebx, &ecx, &edx); - *(uint32_t *)(signature + 0) = ebx; - *(uint32_t *)(signature + 4) = ecx; - *(uint32_t *)(signature + 8) = edx; - signature[12] = 0; - - if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) - return base; - } - - return 0; + return hypervisor_cpuid_base("XenVMMXenVMM", 2); } #ifdef CONFIG_XEN -- 1.7.1
2013 Jul 23
2
[PATCH 2/4] xen: switch to use hypervisor_cpuid_base()
...signature[13]; - - for (base = 0x40000000; base < 0x40010000; base += 0x100) { - cpuid(base, &eax, &ebx, &ecx, &edx); - *(uint32_t *)(signature + 0) = ebx; - *(uint32_t *)(signature + 4) = ecx; - *(uint32_t *)(signature + 8) = edx; - signature[12] = 0; - - if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) - return base; - } - - return 0; + return hypervisor_cpuid_base("XenVMMXenVMM", 2); } #ifdef CONFIG_XEN -- 1.7.1
2013 Jul 25
0
[PATCH V2 2/4] xen: switch to use hypervisor_cpuid_base()
...signature[13]; - - for (base = 0x40000000; base < 0x40010000; base += 0x100) { - cpuid(base, &eax, &ebx, &ecx, &edx); - *(uint32_t *)(signature + 0) = ebx; - *(uint32_t *)(signature + 4) = ecx; - *(uint32_t *)(signature + 8) = edx; - signature[12] = 0; - - if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) - return base; - } - - return 0; + return hypervisor_cpuid_base("XenVMMXenVMM", 2); } #ifdef CONFIG_XEN -- 1.7.1
2013 Jul 25
0
[PATCH V2 2/4] xen: switch to use hypervisor_cpuid_base()
...signature[13]; - - for (base = 0x40000000; base < 0x40010000; base += 0x100) { - cpuid(base, &eax, &ebx, &ecx, &edx); - *(uint32_t *)(signature + 0) = ebx; - *(uint32_t *)(signature + 4) = ecx; - *(uint32_t *)(signature + 8) = edx; - signature[12] = 0; - - if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) - return base; - } - - return 0; + return hypervisor_cpuid_base("XenVMMXenVMM", 2); } #ifdef CONFIG_XEN -- 1.7.1
2013 Jul 25
0
[PATCH V2 2/4] xen: switch to use hypervisor_cpuid_base()
...signature[13]; - - for (base = 0x40000000; base < 0x40010000; base += 0x100) { - cpuid(base, &eax, &ebx, &ecx, &edx); - *(uint32_t *)(signature + 0) = ebx; - *(uint32_t *)(signature + 4) = ecx; - *(uint32_t *)(signature + 8) = edx; - signature[12] = 0; - - if (!strcmp("XenVMMXenVMM", signature) && ((eax - base) >= 2)) - return base; - } - - return 0; + return hypervisor_cpuid_base("XenVMMXenVMM", 2); } #ifdef CONFIG_XEN -- 1.7.1
2009 May 26
2
xen-detect.c question
Hello, I have a question about xen-detect.c (which is posted http://lists.xensource.com/archives/html/xen-changelog/2007-02/msg00075.htmlhere) It says that by running this program xen PV and HVM can be detected. First of all, is it true that it can detect HVM (hardware support Xen)? Can anyone confirm this? If it is true then can anyone explain me how this can detect xen? Thank you in advance.
2010 Jun 29
1
[PATCH] virt-what.in: Added VMware virt detection using cpuid in wrapper script
...exit 1 +} # To tell if it is Xen and KVM HVM (fully virtualized) we can use this # helper C program. -cpuid=`virt-what-cpuid-helper` - -# Check for Xen. +detect_virt_env_using_cpuid () { + cpuid=`virt-what-cpuid-helper` + + # Check for Xen. + + if [ "$cpuid" = "XenVMMXenVMM" ]; then + echo xen; echo xen-hvm + exit 0 + elif [ -f /proc/xen/privcmd ]; then + echo xen; echo xen-dom0 + exit 0 + elif [ -f /proc/xen/capabilities ]; then + echo xen; echo xen-domU + exit 0 +...
2010 Jun 29
1
[PATCH] virt-what.in: Added VMware virt detection using cpuid in wrapper script
...exit 1 +} # To tell if it is Xen and KVM HVM (fully virtualized) we can use this # helper C program. -cpuid=`virt-what-cpuid-helper` - -# Check for Xen. +detect_virt_env_using_cpuid () { + cpuid=`virt-what-cpuid-helper` + + # Check for Xen. + + if [ "$cpuid" = "XenVMMXenVMM" ]; then + echo xen; echo xen-hvm + exit 0 + elif [ -f /proc/xen/privcmd ]; then + echo xen; echo xen-dom0 + exit 0 + elif [ -f /proc/xen/capabilities ]; then + echo xen; echo xen-domU + exit 0 +...
2007 Sep 24
4
testing hypercall from windows - what''s the most basic call I can make to test
...PUID call... What is the simplest hypercall I can make to get an answer from the hypervisor to tell me that it''s working? Also, it would be really helpful if someone could validate my logic here: . Get the PCI details (mmio space, io space, interrupt) . CPUID(0x40000000) to check for the XenVMMXenVMM signature . CPUID(0x40000001) to check the Xen version . CPUID(0x40000002) to get the number of pages for the hypercall memory space, and the msr to use . Allocate page-aligned, executable memory for the hypercall memory space . execute an WRMSR using the msr value given above and the pfn(*) of eac...
2010 Jul 28
23
HVM hypercalls
Hi I need to use hypercalls from HVM domain (e.g. HYPERVISOR_add_to_physmap). However, it does not work when I am trying to invoke it from HVM Linux guest. Basically, I don''t see that anything happens on hypervisor''s side. I also grep''ed the guest code for ''vmmcall''/''vmcall'' and did not find anything. Is it possible to do it at all?
2013 Oct 28
5
FreeBSD PVH guest support
...red trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #420: Mon Oct 28 13:07:53 CET 2013 root@odin:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. Hypervisor: Origin = "XenVMMXenVMM" Calibrating TSC clock ... TSC clock: 3066775691 Hz CPU: Intel(R) Xeon(R) CPU W3550 @ 3.07GHz (3066.78-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Family = 0x6 Model = 0x1a Stepping = 5 Features=0x1fc98b75<FPU,DE,TSC,MSR,PAE,CX8,APIC,SEP,CMOV,PAT,CLFL...