From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 54521] New: nVMX: accurately emulate VMXON region
Date: Tue, 26 Feb 2013 15:07:20 +0000 (UTC)
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
To: kvm@vger.kernel.org
Return-path:
Received: from mail.kernel.org ([198.145.19.201]:46082 "EHLO mail.kernel.org"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1759233Ab3BZPHX (ORCPT );
Tue, 26 Feb 2013 10:07:23 -0500
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id AB464201C8
for ; Tue, 26 Feb 2013 15:07:22 +0000 (UTC)
Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217])
by mail.kernel.org (Postfix) with ESMTP id D4565201D4
for ; Tue, 26 Feb 2013 15:07:20 +0000 (UTC)
Sender: kvm-owner@vger.kernel.org
List-ID:
https://bugzilla.kernel.org/show_bug.cgi?id=54521
Summary: nVMX: accurately emulate VMXON region
Product: Virtualization
Version: unspecified
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: enhancement
Priority: P1
Component: kvm
AssignedTo: virtualization_kvm@kernel-bugs.osdl.org
ReportedBy: nyh@math.technion.ac.il
Regression: No
According to the VMX spec, the VMXON instruction takes a "VMXON region", a 4096
byte memory region which the VMX implementation (in this case, our emulation in
nested VMX) may use for its needs.
We currently have no need to for this memory area, because when our
implementation needs to store extra data, it stores it in the vmx_vcpu
structure (in L0 memory). However, we may want to store data in guest memory in
the future - e.g. for making it easier to do live migration (see bug 53851).
In any case, according to the VMX spec, the VMXON instruction is supposed to
verify that the memory pointed by the VMXON operand is 4K aligned and has the
right physical address width, and its content has the right VMCS revision field
(copied from VMX_BASIC). We don't do this currently.
Moreover, according to the spec, VMXON needs to save this pointer, and on
VMPTRLD/VMCLEAR we need to verify that the given VMCS pointer is not the VMXON
region.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.