All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 54521] New: nVMX: accurately emulate VMXON region
@ 2013-02-26 15:07 bugzilla-daemon
  2013-02-26 15:08 ` [Bug 54521] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-02-26 15:07 UTC (permalink / raw)
  To: kvm

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 54521] nVMX: accurately emulate VMXON region
  2013-02-26 15:07 [Bug 54521] New: nVMX: accurately emulate VMXON region bugzilla-daemon
@ 2013-02-26 15:08 ` bugzilla-daemon
  2014-06-12 16:52 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-02-26 15:08 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=54521


Nadav Har'El <nyh@math.technion.ac.il> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |53601




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 54521] nVMX: accurately emulate VMXON region
  2013-02-26 15:07 [Bug 54521] New: nVMX: accurately emulate VMXON region bugzilla-daemon
  2013-02-26 15:08 ` [Bug 54521] " bugzilla-daemon
@ 2014-06-12 16:52 ` bugzilla-daemon
  2014-06-13 13:01 ` bugzilla-daemon
  2015-03-17  3:53 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2014-06-12 16:52 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=54521

Bandan Das <bsd@makefile.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsd@makefile.in

--- Comment #1 from Bandan Das <bsd@makefile.in> ---
Patches posted -
https://lkml.org/lkml/2014/5/6/29

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 54521] nVMX: accurately emulate VMXON region
  2013-02-26 15:07 [Bug 54521] New: nVMX: accurately emulate VMXON region bugzilla-daemon
  2013-02-26 15:08 ` [Bug 54521] " bugzilla-daemon
  2014-06-12 16:52 ` bugzilla-daemon
@ 2014-06-13 13:01 ` bugzilla-daemon
  2015-03-17  3:53 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2014-06-13 13:01 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=54521

Paolo Bonzini <bonzini@gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bonzini@gnu.org
     Kernel Version|                            |3.16
         Resolution|---                         |CODE_FIX

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 54521] nVMX: accurately emulate VMXON region
  2013-02-26 15:07 [Bug 54521] New: nVMX: accurately emulate VMXON region bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-06-13 13:01 ` bugzilla-daemon
@ 2015-03-17  3:53 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2015-03-17  3:53 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=54521

Bandan Das <bsd@makefile.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |94971

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-17  3:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 15:07 [Bug 54521] New: nVMX: accurately emulate VMXON region bugzilla-daemon
2013-02-26 15:08 ` [Bug 54521] " bugzilla-daemon
2014-06-12 16:52 ` bugzilla-daemon
2014-06-13 13:01 ` bugzilla-daemon
2015-03-17  3:53 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.