[PATCH 0/4] Export offsets of VMCS fields as note information for kdump

Avi Kivity avi at redhat.com
Wed Apr 11 06:49:11 EDT 2012

On 04/11/2012 01:21 PM, Joerg Roedel wrote:
> Hi,
> On Wed, Apr 11, 2012 at 09:39:43AM +0800, zhangyanfei wrote:
> > The problem is that VMCS internal is hidden by Intel in its
> > specification. So, we reverse engineering it in the way implemented in
> > this patch set.
> Have you made sure this layout is the same on all uarchitectures that
> implment VMX?

He's determining the layout at runtime.  It should even work with kvm's
vmx implementation.

It's vulnerable to two issues:
- fields that are cached in the processor and not flushed to memory
(perhaps just make sure to VMXOFF before dumping memory)
- fields that are encoded differently in memory than VMREAD/VMWRITE

error compiling committee.c: too many arguments to function

More information about the kexec mailing list