Skip to contentSkip to conversation

Status of nestedhvm (on Intel)

DISCUSSION Christian Tramnitz 5 participants 7 messages Apr 16, 2012 – May 4, 2012

lore
Share & tools
lore
#0 lore raw

May I ask what the current nestedhvm status in Xen 4.1 is? The parameter exists, the documentation just says that only previously existent cpu features will be passed through, but I can't seem to get a VM with "vmx" (for testing of ESX or Hyper-V in a Xen domU) working. "nestedhvm=1" seems just to be ignored...

Is this AMD-only in 4.1? Are additional CPU host features required to make this work (like EPT, which I do have on this Xeon 5520 box or "Shared EPT" that I dont have but could be AMD related anyway)? Do I need unstable to make use of it?

Thanks,
Christian

#1 lore raw
Quoted 1 line · Christian Tramnitz

Do I need unstable to make use of it?

Yes, all the nested HVM code is newer than 4.1.

Cheers,

Tim.

#2 lore raw
In reply to Christian Tramnitz
Quoted 8 lines · Christian Tramnitz

May I ask what the current nestedhvm status in Xen 4.1 is? The parameter exists, the documentation just says that only previously existent cpu features will be passed through, but I can't seem to get a VM with "vmx" (for testing of ESX or Hyper-V in a Xen domU) working. "nestedhvm=1" seems just to be ignored...

Is this AMD-only in 4.1? Are additional CPU host features required to make this work (like EPT, which I do have on this Xeon 5520 box or "Shared EPT" that I dont have but could be AMD related anyway)? Do I need unstable to make use of it?

I can't see any support for nested HVM of any sort in 4.1. AFAIK it is going to be an (experimental) feature in 4.2.

Ian.

#3 lore raw
Quoted 4 lines · Ian Campbell <Ian.Campbell <at> citrix.com> writes:

I can't see any support for nested HVM of any sort in 4.1. AFAIK it is going to be an (experimental) feature in 4.2.

Ian.

My fault, I was looking at config options here
http://www.xen.org/support/generated.html to get used to xl (always using xm before). I wasn't paying attention to the note above that this is for unstable only...

Thanks for the hint!

Best regards,
Christian

#4 lore raw
In reply to Ian Campbell
Quoted 1 line · Ian Campbell <Ian.Campbell <at> citrix.com> writes:

AFAIK it is going to be an (experimental) feature in 4.2.

Short follow-up: I haven't tried with Hyper-V yet, but on current (today's unstable.hg) Xen 4.2 at least ESXi does not work. VMX flag is visible, but during load ESXi 5u1 crashes and Xen log shows:

(XEN) vvmx.c:1366:d8 VMX MSR 485 not fully supported yet. (XEN) hvm.c:1143:d8 All CPUs offline -- powering off.

Does anyone have an idea what MSR 485 does? It is not documented in "Intel 64 and IA-32 Architectures Software Developer's Manual"...

Regards,
Christian

#5 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · Christian Tramnitz
Quoted 1 line · Ian Campbell <Ian.Campbell <at> citrix.com> writes:

AFAIK it is going to be an (experimental) feature in 4.2.

Short follow-up: I haven't tried with Hyper-V yet, but on current (today's unstable.hg) Xen 4.2 at least ESXi does not work. VMX flag is visible, but during load ESXi 5u1 crashes and Xen log shows:

Quoted 6 lines

(XEN) vvmx.c:1366:d8 VMX MSR 485 not fully supported yet. (XEN) hvm.c:1143:d8 All CPUs offline -- powering off.

Does anyone have an idea what MSR 485 does? It is not documented in "Intel 64 and IA-32 Architectures Software Developer's Manual"...

xen/include/asm-x86/msr-index.h says

#define MSR_IA32_VMX_MISC 0x485

Jan

#6 lore raw

And it's documented in A.6 (Appendix A).

A.6 MISCELLANEOUS DATA
The IA32_VMX_MISC MSR (index 485H) consists of the following fields:
...

Quoted 18 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Christian Tramnitz
Quoted 1 line · Ian Campbell <Ian.Campbell <at> citrix.com> writes:

AFAIK it is going to be an (experimental) feature in 4.2.

Short follow-up: I haven't tried with Hyper-V yet, but on current

(today's

Quoted 1 line

unstable.hg) Xen 4.2 at least ESXi does not work. VMX flag is visible,

but

Quoted 7 lines

during load ESXi 5u1 crashes and Xen log shows:

(XEN) vvmx.c:1366:d8 VMX MSR 485 not fully supported yet. (XEN) hvm.c:1143:d8 All CPUs offline -- powering off.

Does anyone have an idea what MSR 485 does? It is not documented in

"Intel

Quoted 1 line

64 and IA-32 Architectures Software Developer's Manual"...

Quoted 7 lines

xen/include/asm-x86/msr-index.h says

#define MSR_IA32_VMX_MISC 0x485

Jan

--

Jun
Intel Open Source Technology Center

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel