<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/virt/kvm/kvm_main.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-17T16:45:52Z</updated>
<entry>
<title>KVM: Fix user memslot overlap check</title>
<updated>2013-01-17T16:45:52Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2012-11-29T21:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40bc15c0f535f4e6b88e8b50cfac2beed67efa55'/>
<id>urn:sha1:40bc15c0f535f4e6b88e8b50cfac2beed67efa55</id>
<content type='text'>
commit 5419369ed6bd4cf711fdda5e52a5999b940413f5 upstream.

Prior to memory slot sorting this loop compared all of the user memory
slots for overlap with new entries.  With memory slot sorting, we're
just checking some number of entries in the array that may or may not
be user slots.  Instead, walk all the slots with kvm_for_each_memslot,
which has the added benefit of terminating early when we hit the first
empty slot, and skip comparison to private slots.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'kvm-3.7-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm</title>
<updated>2012-10-24T01:08:42Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-10-24T01:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d0ceac129f3ea0b125289055a3aa7519d38df77'/>
<id>urn:sha1:3d0ceac129f3ea0b125289055a3aa7519d38df77</id>
<content type='text'>
Pull kvm fixes from Avi Kivity:
 "KVM updates for 3.7-rc2"

* tag 'kvm-3.7-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM guest: exit idleness when handling KVM_PV_REASON_PAGE_NOT_PRESENT
  KVM: apic: fix LDR calculation in x2apic mode
  KVM: MMU: fix release noslot pfn
</content>
</entry>
<entry>
<title>KVM: MMU: fix release noslot pfn</title>
<updated>2012-10-22T16:03:25Z</updated>
<author>
<name>Xiao Guangrong</name>
</author>
<published>2012-10-16T12:07:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3ac1a4b667eeffcedf779f45529c95d66ddc71a'/>
<id>urn:sha1:f3ac1a4b667eeffcedf779f45529c95d66ddc71a</id>
<content type='text'>
We can not directly call kvm_release_pfn_clean to release the pfn
since we can meet noslot pfn which is used to cache mmio info into
spte

Signed-off-by: Xiao Guangrong &lt;xiaoguangrong@linux.vnet.ibm.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: replace test_and_set_bit_le() in mark_page_dirty_in_slot() with set_bit_le()</title>
<updated>2012-10-05T18:04:56Z</updated>
<author>
<name>Takuya Yoshikawa</name>
</author>
<published>2012-10-05T00:13:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b74ca3b3fd0fac08167ff96287cece56e8ca6f4d'/>
<id>urn:sha1:b74ca3b3fd0fac08167ff96287cece56e8ca6f4d</id>
<content type='text'>
Now that we have defined generic set_bit_le() we do not need to use
test_and_set_bit_le() for atomically setting a bit.

Signed-off-by: Takuya Yoshikawa &lt;yoshikawa.takuya@oss.ntt.co.jp&gt;
Cc: Avi Kivity &lt;avi@redhat.com&gt;
Cc: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'kvm-3.7-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm</title>
<updated>2012-10-04T16:30:33Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-10-04T16:30:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecefbd94b834fa32559d854646d777c56749ef1c'/>
<id>urn:sha1:ecefbd94b834fa32559d854646d777c56749ef1c</id>
<content type='text'>
Pull KVM updates from Avi Kivity:
 "Highlights of the changes for this release include support for vfio
  level triggered interrupts, improved big real mode support on older
  Intels, a streamlines guest page table walker, guest APIC speedups,
  PIO optimizations, better overcommit handling, and read-only memory."

* tag 'kvm-3.7-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (138 commits)
  KVM: s390: Fix vcpu_load handling in interrupt code
  KVM: x86: Fix guest debug across vcpu INIT reset
  KVM: Add resampling irqfds for level triggered interrupts
  KVM: optimize apic interrupt delivery
  KVM: MMU: Eliminate pointless temporary 'ac'
  KVM: MMU: Avoid access/dirty update loop if all is well
  KVM: MMU: Eliminate eperm temporary
  KVM: MMU: Optimize is_last_gpte()
  KVM: MMU: Simplify walk_addr_generic() loop
  KVM: MMU: Optimize pte permission checks
  KVM: MMU: Update accessed and dirty bits after guest pagetable walk
  KVM: MMU: Move gpte_access() out of paging_tmpl.h
  KVM: MMU: Optimize gpte_access() slightly
  KVM: MMU: Push clean gpte write protection out of gpte_access()
  KVM: clarify kvmclock documentation
  KVM: make processes waiting on vcpu mutex killable
  KVM: SVM: Make use of asm.h
  KVM: VMX: Make use of asm.h
  KVM: VMX: Make lto-friendly
  KVM: x86: lapic: Clean up find_highest_vector() and count_vectors()
  ...

Conflicts:
	arch/s390/include/asm/processor.h
	arch/x86/kvm/i8259.c
</content>
</entry>
<entry>
<title>KVM: make processes waiting on vcpu mutex killable</title>
<updated>2012-09-17T16:46:32Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2012-09-16T08:50:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9fc77441e5e1bf80b794cc546d2243ee9f4afb75'/>
<id>urn:sha1:9fc77441e5e1bf80b794cc546d2243ee9f4afb75</id>
<content type='text'>
vcpu mutex can be held for unlimited time so
taking it with mutex_lock on an ioctl is wrong:
one process could be passed a vcpu fd and
call this ioctl on the vcpu used by another process,
it will then be unkillable until the owner exits.

Call mutex_lock_killable instead and return status.
Note: mutex_lock_interruptible would be even nicer,
but I am not sure all users are prepared to handle EINTR
from these ioctls. They might misinterpret it as an error.

Cleanup paths expect a vcpu that can't be used by
any userspace so this will always succeed - catch bugs
by calling BUG_ON.

Catch callers that don't check return state by adding
__must_check.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: move postcommit flush to x86, as mmio sptes are x86 specific</title>
<updated>2012-09-06T13:37:30Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-08-28T20:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b4dc3a031110753b9ba36432dbd21f989fcee56'/>
<id>urn:sha1:3b4dc3a031110753b9ba36432dbd21f989fcee56</id>
<content type='text'>
Other arches do not need this.

Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;

v2: fix incorrect deletion of mmio sptes on gpa move (noticed by Takuya)
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: perform an invalid memslot step for gpa base change</title>
<updated>2012-09-06T13:37:27Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-08-24T18:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12d6e7538e2d418c08f082b1b44ffa5fb7270ed8'/>
<id>urn:sha1:12d6e7538e2d418c08f082b1b44ffa5fb7270ed8</id>
<content type='text'>
PPC must flush all translations before the new memory slot
is visible.

Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: split kvm_arch_flush_shadow</title>
<updated>2012-09-06T13:37:25Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-08-24T18:54:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2df72e9bc4c505d8357012f2924589f3d16f9d44'/>
<id>urn:sha1:2df72e9bc4c505d8357012f2924589f3d16f9d44</id>
<content type='text'>
Introducing kvm_arch_flush_shadow_memslot, to invalidate the
translations of a single memory slot.

Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: PPC: book3s: fix build error caused by gfn_to_hva_memslot()</title>
<updated>2012-08-27T19:44:20Z</updated>
<author>
<name>Gavin Shan</name>
</author>
<published>2012-08-24T08:50:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66a03505a7fcc70187319ef2318832f4d3c451a6'/>
<id>urn:sha1:66a03505a7fcc70187319ef2318832f4d3c451a6</id>
<content type='text'>
The build error was caused by that builtin functions are calling
the functions implemented in modules. This error was introduced by
commit 4d8b81abc4 ("KVM: introduce readonly memslot").

The patch fixes the build error by moving function __gfn_to_hva_memslot()
from kvm_main.c to kvm_host.h and making that "inline" so that the
builtin function (kvmppc_h_enter) can use that.

Acked-by: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Gavin Shan &lt;shangw@linux.vnet.ibm.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
</feed>
