<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/x86/kvm/x86.h, branch v3.9-rc2</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.9-rc2</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.9-rc2'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2012-11-30T20:26:12+00:00</updated>
<entry>
<title>KVM: x86: Add code to track call origin for msr assignment</title>
<updated>2012-11-30T20:26:12+00:00</updated>
<author>
<name>Will Auld</name>
<email>will.auld.intel@gmail.com</email>
</author>
<published>2012-11-29T20:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8fe8ab46be06fcd9abfe6fe9928fd95b54ab079a'/>
<id>urn:sha1:8fe8ab46be06fcd9abfe6fe9928fd95b54ab079a</id>
<content type='text'>
In order to track who initiated the call (host or guest) to modify an msr
value I have changed function call parameters along the call path. The
specific change is to add a struct pointer parameter that points to (index,
data, caller) information rather than having this information passed as
individual parameters.

The initial use for this capability is for updating the IA32_TSC_ADJUST msr
while setting the tsc value. It is anticipated that this capability is
useful for other tasks.

Signed-off-by: Will Auld &lt;will.auld@intel.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: use jump label to optimize checking for in kernel local apic presence</title>
<updated>2012-08-06T16:00:44+00:00</updated>
<author>
<name>Gleb Natapov</name>
<email>gleb@redhat.com</email>
</author>
<published>2012-08-05T12:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=54e9818f3903902a4ea3046035739b8770880092'/>
<id>urn:sha1:54e9818f3903902a4ea3046035739b8770880092</id>
<content type='text'>
Usually all vcpus have local apic pointer initialized, so the check may
be completely skipped.

Signed-off-by: Gleb Natapov &lt;gleb@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: x86: add paging gcc optimization</title>
<updated>2012-04-08T11:03:13+00:00</updated>
<author>
<name>Davidlohr Bueso</name>
<email>dave@gnu.org</email>
</author>
<published>2012-03-08T11:45:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c36fc04ef558c95cff46a8c89d2f804f217335f5'/>
<id>urn:sha1:c36fc04ef558c95cff46a8c89d2f804f217335f5</id>
<content type='text'>
Since most guests will have paging enabled for memory management, add likely() optimization
around CR0.PG checks.

Signed-off-by: Davidlohr Bueso &lt;dave@gnu.org&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: Move cpuid code to new file</title>
<updated>2011-12-27T09:21:49+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@redhat.com</email>
</author>
<published>2011-11-23T14:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=00b27a3efb116062ca5a276ad5cb01ea1b80b5f6'/>
<id>urn:sha1:00b27a3efb116062ca5a276ad5cb01ea1b80b5f6</id>
<content type='text'>
The cpuid code has grown; put it into a separate file.

Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: MMU: cache mmio info on page fault path</title>
<updated>2011-07-24T08:50:26+00:00</updated>
<author>
<name>Xiao Guangrong</name>
<email>xiaoguangrong@cn.fujitsu.com</email>
</author>
<published>2011-07-11T19:23:20+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bebb106a5afa32efdf5332ed4a40bf4d6d06b56e'/>
<id>urn:sha1:bebb106a5afa32efdf5332ed4a40bf4d6d06b56e</id>
<content type='text'>
If the page fault is caused by mmio, we can cache the mmio info, later, we do
not need to walk guest page table and quickly know it is a mmio fault while we
emulate the mmio instruction

Signed-off-by: Xiao Guangrong &lt;xiaoguangrong@cn.fujitsu.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: nVMX: Implement VMPTRST</title>
<updated>2011-07-12T08:45:13+00:00</updated>
<author>
<name>Nadav Har'El</name>
<email>nyh@il.ibm.com</email>
</author>
<published>2011-05-25T20:08:00+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6a4d7550601b5b17df227959bdbec208384f729c'/>
<id>urn:sha1:6a4d7550601b5b17df227959bdbec208384f729c</id>
<content type='text'>
This patch implements the VMPTRST instruction.

Signed-off-by: Nadav Har'El &lt;nyh@il.ibm.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: nVMX: Decoding memory operands of VMX instructions</title>
<updated>2011-07-12T08:45:11+00:00</updated>
<author>
<name>Nadav Har'El</name>
<email>nyh@il.ibm.com</email>
</author>
<published>2011-05-25T20:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=064aea774768749c6fd308b37818ea3a9600583d'/>
<id>urn:sha1:064aea774768749c6fd308b37818ea3a9600583d</id>
<content type='text'>
This patch includes a utility function for decoding pointer operands of VMX
instructions issued by L1 (a guest hypervisor)

Signed-off-by: Nadav Har'El &lt;nyh@il.ibm.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: fix push of wrong eip when doing softint</title>
<updated>2011-05-11T11:57:09+00:00</updated>
<author>
<name>Serge E. Hallyn</name>
<email>serge@hallyn.com</email>
</author>
<published>2011-04-13T14:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=71f9833bb1cba9939245f3e57388d87d69f8f399'/>
<id>urn:sha1:71f9833bb1cba9939245f3e57388d87d69f8f399</id>
<content type='text'>
When doing a soft int, we need to bump eip before pushing it to
the stack.  Otherwise we'll do the int a second time.

[apw@canonical.com: merged eip update as per Jan's recommendation.]
Signed-off-by: Serge E. Hallyn &lt;serge.hallyn@ubuntu.com&gt;
Signed-off-by: Andy Whitcroft &lt;apw@canonical.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Do not report xsave in supported cpuid</title>
<updated>2010-12-08T15:28:37+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joerg.roedel@amd.com</email>
</author>
<published>2010-12-07T16:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=24d1b15f72abe3465e871d11cfc9dc34d1aab8b2'/>
<id>urn:sha1:24d1b15f72abe3465e871d11cfc9dc34d1aab8b2</id>
<content type='text'>
To support xsave properly for the guest the SVM module need
software support for it. As long as this is not present do
not report the xsave as supported feature in cpuid.
As a side-effect this patch moves the bit() helper function
into the x86.h file so that it can be used in svm.c too.

KVM-Stable-Tag.
Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: Add kvm_inject_realmode_interrupt() wrapper</title>
<updated>2010-10-24T08:53:01+00:00</updated>
<author>
<name>Mohammed Gamal</name>
<email>m.gamal005@gmail.com</email>
</author>
<published>2010-09-19T12:34:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=63995653ade16deacaea5b49ceaf6376314593ac'/>
<id>urn:sha1:63995653ade16deacaea5b49ceaf6376314593ac</id>
<content type='text'>
This adds a wrapper function kvm_inject_realmode_interrupt() around the
emulator function emulate_int_real() to allow real mode interrupt injection.

[avi: initialize operand and address sizes before emulating interrupts]
[avi: initialize rip for real mode interrupt injection]
[avi: clear interrupt pending flag after emulating interrupt injection]

Signed-off-by: Mohammed Gamal &lt;m.gamal005@gmail.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
</feed>
