[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Nested virtualization instabilities



Hi.
CPU model: Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
Flags: fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl nonstop_tsc eagerfpu pni pclmulqdq monitor est ssse3 cx16 sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm ida arat epb xsaveopt pln pts dtherm fsgsbase erms

Following your advice I googled a bit, and was able to find a *working* configuration for my system. I added 'hap=1' which solved the problem, so far. I was able to boot a Linux VM under ESXi 5.5, and was able to boot a Linux VM under HVM under XenServer without crashes. I add my VM configuration for future reference by whoever needs it.

name = "VMware"
uuid = "a0b8ce28-afaf-887a-1f4b-856dac4c8401"
maxmem = 4096
memory = 4096
vcpus = 1
builder = "hvm"
boot = "c"
pae = 1
acpi = 1
apic = 1
hap = 0
viridian = 0
rtc_timeoffset = 0
localtime = 0
>>>sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
disk = [ "tap2:aio:/dev/share/VMS/vmware.lun,hda,w", "file:/share/ISO/VMware-VMvisor-Installer-5.5.0-1331820.x86_64.iso,hdc:cdrom,r" ]
vif = [ "mac=00:16:3e:12:1d:72,bridge=lan,script=vif-bridge,model=e1000" ]
parallel = "none"
serial = "pty"
nestedhvm = 1
nx = 1
hap = 1
cpuid = ['0x1:ecx=0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx']

I am currently only with a single VCPU, and would like to add additional VCPUs. I hope it will behave nicely then.

Thanks!
Etzion


On Mon, Dec 23, 2013 at 3:09 AM, Zhang, Yang Z <yang.z.zhang@xxxxxxxxx> wrote:
Etzion Bar-Noy wrote on 2013-12-20:
> Hi.
> It probably seems trivial to you, however, I have no idea (and didn't
> find much documentation about) how to set this this parameter in the config file.
>

What's your CPU model? If you didn't set anything in config file, then I guess your processor doesn't support EPT. Because EPT is used by default.

> Etzion
>
> On Dec 20, 2013 2:50 AM, "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx> wrote:
>
>
>       Etzion Bar-Noy wrote on 2013-12-20:     > Sorry for spamming. Actually -
> it is a bit different - two results   > which appear (on XenServer and on
> VMware). The previous messages were   > for Vmware. The one below is for
> XenServer:
>
>       I guess you are using shadow mode for L1 VMM. With shadow L1, this is
> a known issue to me. Can you try to use L1 EPT to see whether it is reproducible?
>
>


>       Best regards,
>       Yang
>
>
>


Best regards,
Yang


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.