<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/kvm/vmx.c, branch v2.6.24</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>KVM: VMX: Force vm86 mode if setting flags during real mode</title>
<updated>2007-10-22T10:03:29+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@qumranet.com</email>
</author>
<published>2007-10-16T17:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=78f7826868da8e27d097802139a3fec39f47f3b8'/>
<id>78f7826868da8e27d097802139a3fec39f47f3b8</id>
<content type='text'>
When resetting from userspace, we need to handle the flags being cleared
even after we are in real mode.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When resetting from userspace, we need to handle the flags being cleared
even after we are in real mode.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: VMX: Reset mmu context when entering real mode</title>
<updated>2007-10-22T10:03:28+00:00</updated>
<author>
<name>Eddie Dong</name>
<email>eddie.dong@intel.com</email>
</author>
<published>2007-10-10T06:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8668a3c468ed55d19514117a5a959d91d3d03823'/>
<id>8668a3c468ed55d19514117a5a959d91d3d03823</id>
<content type='text'>
Resetting an SMP guest will force AP enter real mode (RESET) with
paging enabled in protected mode. While current enter_rmode() can
only handle mode switch from nonpaging mode to real mode which leads
to SMP reboot failure.

Fix by reloading the mmu context on entering real mode.

Signed-off-by: Yaozu (Eddie) Dong &lt;eddie.dong@intel.com&gt;
Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resetting an SMP guest will force AP enter real mode (RESET) with
paging enabled in protected mode. While current enter_rmode() can
only handle mode switch from nonpaging mode to real mode which leads
to SMP reboot failure.

Fix by reloading the mmu context on entering real mode.

Signed-off-by: Yaozu (Eddie) Dong &lt;eddie.dong@intel.com&gt;
Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: VMX: Handle NMIs before enabling interrupts and preemption</title>
<updated>2007-10-22T10:03:28+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@qumranet.com</email>
</author>
<published>2007-10-09T10:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1b6269db3f83396c2fd2c8d0f3e0f37ac0e6ba05'/>
<id>1b6269db3f83396c2fd2c8d0f3e0f37ac0e6ba05</id>
<content type='text'>
This makes sure we handle NMI on the current cpu, and that we don't service
maskable interrupts before non-maskable ones.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes sure we handle NMI on the current cpu, and that we don't service
maskable interrupts before non-maskable ones.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: Improve emulation failure reporting</title>
<updated>2007-10-13T08:18:28+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@qumranet.com</email>
</author>
<published>2007-09-12T10:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=054b1369679fb97582fc77f25a700d4290ff3e89'/>
<id>054b1369679fb97582fc77f25a700d4290ff3e89</id>
<content type='text'>
Report failed opcodes from all locations.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Report failed opcodes from all locations.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: VMX: Fix exit qualification width on i386</title>
<updated>2007-10-13T08:18:28+00:00</updated>
<author>
<name>He, Qing</name>
<email>qing.he@intel.com</email>
</author>
<published>2007-09-12T06:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bfdaab090386e7dda8c442721eeb91179258dad4'/>
<id>bfdaab090386e7dda8c442721eeb91179258dad4</id>
<content type='text'>
According to Intel Software Developer's Manual, Vol. 3B, Appendix H.4.2,
exit qualification should be of natural width. However, current code
uses u64 as the data type for this register, which occasionally
introduces invalid value to VMExit handling logics. This patch fixes
this bug.

I have tested Windows and Linux guest on i386 host, and they can boot
successfully with this patch.

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to Intel Software Developer's Manual, Vol. 3B, Appendix H.4.2,
exit qualification should be of natural width. However, current code
uses u64 as the data type for this register, which occasionally
introduces invalid value to VMExit handling logics. This patch fixes
this bug.

I have tested Windows and Linux guest on i386 host, and they can boot
successfully with this patch.

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: Move main vcpu loop into subarch independent code</title>
<updated>2007-10-13T08:18:28+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@qumranet.com</email>
</author>
<published>2007-09-10T15:10:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=04d2cc7780d48a212843e38d46402d97fa1f4774'/>
<id>04d2cc7780d48a212843e38d46402d97fa1f4774</id>
<content type='text'>
This simplifies adding new code as well as reducing overall code size.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This simplifies adding new code as well as reducing overall code size.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: VMX: Move vm entry failure handling to the exit handler</title>
<updated>2007-10-13T08:18:27+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@qumranet.com</email>
</author>
<published>2007-09-10T14:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=29bd8a78082f2d7e2165a735f50b5c716ef3213b'/>
<id>29bd8a78082f2d7e2165a735f50b5c716ef3213b</id>
<content type='text'>
This will help moving the main loop to subarch independent code.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will help moving the main loop to subarch independent code.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: Rename kvm_arch_ops to kvm_x86_ops</title>
<updated>2007-10-13T08:18:27+00:00</updated>
<author>
<name>Christian Ehrhardt</name>
<email>ehrhardt@linux.vnet.ibm.com</email>
</author>
<published>2007-09-09T12:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cbdd1bea2a2dce4c0b45c5f0122c150d9f07f0bc'/>
<id>cbdd1bea2a2dce4c0b45c5f0122c150d9f07f0bc</id>
<content type='text'>
This patch just renames the current (misnamed) _arch namings to _x86 to
ensure better readability when a real arch layer takes place.

Signed-off-by: Christian Ehrhardt &lt;ehrhardt@linux.vnet.ibm.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch just renames the current (misnamed) _arch namings to _x86 to
ensure better readability when a real arch layer takes place.

Signed-off-by: Christian Ehrhardt &lt;ehrhardt@linux.vnet.ibm.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: enable in-kernel APIC INIT/SIPI handling</title>
<updated>2007-10-13T08:18:26+00:00</updated>
<author>
<name>He, Qing</name>
<email>qing.he@intel.com</email>
</author>
<published>2007-09-03T14:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c5ec153402b6d276fe20029da1059ba42a4b55e5'/>
<id>c5ec153402b6d276fe20029da1059ba42a4b55e5</id>
<content type='text'>
This patch enables INIT/SIPI handling using in-kernel APIC by
introducing a -&gt;mp_state field to emulate the SMP state transition.

[avi: remove smp_processor_id() warning]

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Xin Li &lt;xin.b.li@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch enables INIT/SIPI handling using in-kernel APIC by
introducing a -&gt;mp_state field to emulate the SMP state transition.

[avi: remove smp_processor_id() warning]

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Xin Li &lt;xin.b.li@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>KVM: Migrate lapic hrtimer when vcpu moves to another cpu</title>
<updated>2007-10-13T08:18:26+00:00</updated>
<author>
<name>Eddie Dong</name>
<email>eddie.dong@intel.com</email>
</author>
<published>2007-09-03T13:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a3d7f85f471f889e4477863a7ca42828ae74e77d'/>
<id>a3d7f85f471f889e4477863a7ca42828ae74e77d</id>
<content type='text'>
This reduces overhead by accessing cachelines from the wrong node, as well
as simplifying locking.

[Qing: fix for inactive or expired one-shot timer]

Signed-off-by: Yaozu (Eddie) Dong &lt;Eddie.Dong@intel.com&gt;
Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces overhead by accessing cachelines from the wrong node, as well
as simplifying locking.

[Qing: fix for inactive or expired one-shot timer]

Signed-off-by: Yaozu (Eddie) Dong &lt;Eddie.Dong@intel.com&gt;
Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
