<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/kvm/lapic.c, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/kvm/lapic.c?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/kvm/lapic.c?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2008-01-30T16:01:18Z</updated>
<entry>
<title>KVM: Move arch dependent files to new directory arch/x86/kvm/</title>
<updated>2008-01-30T16:01:18Z</updated>
<author>
<name>Avi Kivity</name>
<email>avi@qumranet.com</email>
</author>
<published>2007-12-16T09:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=edf884172e9828c6234b254208af04655855038d'/>
<id>urn:sha1:edf884172e9828c6234b254208af04655855038d</id>
<content type='text'>
This paves the way for multiple architecture support.  Note that while
ioapic.c could potentially be shared with ia64, it is also moved.

Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: Portability: Move round_robin_prev_vcpu and tss_addr to kvm_arch</title>
<updated>2008-01-30T15:58:10Z</updated>
<author>
<name>Zhang Xiantao</name>
<email>xiantao.zhang@intel.com</email>
</author>
<published>2007-12-14T02:20:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bfc6d222bdb1123d12c1193bcd7c755e6617b405'/>
<id>urn:sha1:bfc6d222bdb1123d12c1193bcd7c755e6617b405</id>
<content type='text'>
This patches moves two fields round_robin_prev_vcpu and tss to kvm_arch.

Signed-off-by: Zhang Xiantao &lt;xiantao.zhang@intel.com&gt;
Acked-by: Carsten Otte &lt;cotte@de.ibm.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: Portability: Introduce kvm_vcpu_arch</title>
<updated>2008-01-30T15:58:09Z</updated>
<author>
<name>Zhang Xiantao</name>
<email>xiantao.zhang@intel.com</email>
</author>
<published>2007-12-13T15:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ad312c7c79f781c822e37effe41307503a2bb85b'/>
<id>urn:sha1:ad312c7c79f781c822e37effe41307503a2bb85b</id>
<content type='text'>
Move all the architecture-specific fields in kvm_vcpu into a new struct
kvm_vcpu_arch.

Signed-off-by: Zhang Xiantao &lt;xiantao.zhang@intel.com&gt;
Acked-by: Carsten Otte &lt;cotte@de.ibm.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: LAPIC: minor debugging compile fix</title>
<updated>2008-01-30T15:53:21Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joerg.roedel@amd.com</email>
</author>
<published>2007-12-12T11:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=722f6ecbcf3e53809236b36e6dfd9042924a2d51'/>
<id>urn:sha1:722f6ecbcf3e53809236b36e6dfd9042924a2d51</id>
<content type='text'>
This patch fixes a compile error of the LAPIC code with APIC debugging enabled.

Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Signed-off-by: Markus Rechberger &lt;markus.rechberger@amd.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: Replace kvm_lapic with kvm_vcpu in ioapic/lapic interface</title>
<updated>2008-01-30T15:53:17Z</updated>
<author>
<name>Zhang Xiantao</name>
<email>xiantao.zhang@intel.com</email>
</author>
<published>2007-12-02T14:35:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8be5453f95933340a42c6e7fc7b66f3bb786fddd'/>
<id>urn:sha1:8be5453f95933340a42c6e7fc7b66f3bb786fddd</id>
<content type='text'>
This patch replaces lapic structure with kvm_vcpu in ioapic.c, making ioapic
independent of the local apic, as required by ia64.

Signed-off-by: Zhang Xiantao &lt;xiantao.zhang@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: Portability: Split kvm_vcpu into arch dependent and independent parts (part 1)</title>
<updated>2008-01-30T15:52:54Z</updated>
<author>
<name>Zhang Xiantao</name>
<email>xiantao.zhang@intel.com</email>
</author>
<published>2007-10-20T07:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=34c16eecf78ed4cf01f39ac7211f5b57942ec899'/>
<id>urn:sha1:34c16eecf78ed4cf01f39ac7211f5b57942ec899</id>
<content type='text'>
First step to split kvm_vcpu.  Currently, we just use an macro to define
the common fields in kvm_vcpu for all archs, and all archs need to define
its own kvm_vcpu struct.

Signed-off-by: Zhang Xiantao &lt;xiantao.zhang@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: apic round robin cleanup</title>
<updated>2008-01-30T15:52:52Z</updated>
<author>
<name>Qing He</name>
<email>qing.he@intel.com</email>
</author>
<published>2007-09-24T09:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e4d47f404b59adf22f639fedc943db99f090f9ee'/>
<id>urn:sha1:e4d47f404b59adf22f639fedc943db99f090f9ee</id>
<content type='text'>
If no apic is enabled in the bitmap of an interrupt delivery with delivery
mode of lowest priority, a warning should be reported rather than select
a fallback vcpu

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
Signed-off-by: Eddie (Yaozu) Dong &lt;eddie.dong@intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: CodingStyle cleanup</title>
<updated>2008-01-30T15:52:50Z</updated>
<author>
<name>Mike Day</name>
<email>ncmike@ncultra.org</email>
</author>
<published>2007-10-08T13:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d77c26fce93d07802db97498959587eb9347b31d'/>
<id>urn:sha1:d77c26fce93d07802db97498959587eb9347b31d</id>
<content type='text'>
Signed-off-by: Mike D. Day &lt;ncmike@ncultra.org&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: Remove gratuitous casts from lapic.c</title>
<updated>2008-01-30T15:52:50Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2007-10-08T00:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7e620d16b8838bc0ad5b27d2dd55796270cd588c'/>
<id>urn:sha1:7e620d16b8838bc0ad5b27d2dd55796270cd588c</id>
<content type='text'>
Since vcpu-&gt;apic is of the correct type, there's not need to cast.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>KVM: Add kvm_free_lapic() to pair with kvm_create_lapic()</title>
<updated>2008-01-30T15:52:50Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2007-10-08T00:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d589444e924bc72e42fa94853f9096589d69374d'/>
<id>urn:sha1:d589444e924bc72e42fa94853f9096589d69374d</id>
<content type='text'>
Instead of the asymetry of kvm_free_apic, implement kvm_free_lapic().
And guess what?  I found a minor bug: we don't need to hrtimer_cancel()
from kvm_main.c, because we do that in kvm_free_apic().

Also:
1) kvm_vcpu_uninit should be the reverse order from kvm_vcpu_init.
2) Don't set apic-&gt;regs_page to zero before freeing apic.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
</feed>
