Re: [PATCH 8/24] Hold a vmcs02 for each vmcs12

2010-08-02 Thread Nadav Har'El
On Tue, Jul 06, 2010, Dong, Eddie wrote about RE: [PATCH 8/24] Hold a vmcs02 for each vmcs12: +/* Allocate an L0 VMCS (vmcs02) for the current L1 VMCS (vmcs12), if one + * does not already exist. The allocation is done in L0 memory, ... +static int nested_create_current_vmcs(struct kvm_vcpu

RE: [PATCH 8/24] Hold a vmcs02 for each vmcs12

2010-07-06 Thread Dong, Eddie
+/* Allocate an L0 VMCS (vmcs02) for the current L1 VMCS (vmcs12), if one + * does not already exist. The allocation is done in L0 memory, so to avoid + * denial-of-service attack by guests, we limit the number of concurrently- + * allocated vmcss. A well-behaving L1 will VMCLEAR unused