Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread David Gibson
On Thu, Jun 20, 2013 at 02:58:18PM +1000, Alexey Kardashevskiy wrote: > On 06/20/2013 01:49 AM, Alex Williamson wrote: > > On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: > >> On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: > >> > Alex, any objection ? > >>> > >>> Whi

KVM Test report, kernel e47a5f5f... + qemu 58fcb1ed...

2013-06-19 Thread Ren, Yongjie
Hi All, This is KVM upstream test result against kvm.git next branch and qemu-kvm.git uq/master branch. kvm.git next branch: e47a5f5fb715b90b40747e9e235de557c6abd56c based on kernel 3.10.0-rc1 qemu-kvm.git uq/master branch: 58fcb1ed2bdeb8565a14e7e516a21bd4e6fdb2c7 We found no

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Thu, Jun 20, 2013 at 01:48:39AM +0800, Gmail wrote: > > 在 2013-6-20,0:03,Gleb Natapov 写道: > > > On Wed, Jun 19, 2013 at 11:07:18PM +0800, 李春奇 wrote: > >> Hi Gleb, > >> This version can set %rsp before trapping into emulator, because > >> insn_page and alt_insn_page is statically defined and

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Rob Landley
On 06/19/2013 04:09:25 AM, Xiao Guangrong wrote: Document it to Documentation/virtual/kvm/mmu.txt Why break a change to a single documentation file into 7 pieces. Are we going to bisect the documentation? Rob-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a me

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexey Kardashevskiy
On 06/20/2013 01:49 AM, Alex Williamson wrote: > On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: >> On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: >> Alex, any objection ? >>> >>> Which Alex? :) >> >> Heh, mostly Williamson in this specific case but your input is sti

Re: [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO

2013-06-19 Thread Bandan Das
Gleb Natapov writes: > On Tue, Jun 18, 2013 at 11:29:27AM -0400, Bandan Das wrote: >> Gleb Natapov writes: >> >> > On Tue, Jun 18, 2013 at 04:05:08PM +0200, Paolo Bonzini wrote: >> >> Il 05/06/2013 10:42, Gleb Natapov ha scritto: >> >> >> > These patches add an emulated MSR_PLATFORM_INFO that k

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gmail
在 2013-6-20,0:03,Gleb Natapov 写道: > On Wed, Jun 19, 2013 at 11:07:18PM +0800, 李春奇 wrote: >> Hi Gleb, >> This version can set %rsp before trapping into emulator, because >> insn_page and alt_insn_page is statically defined and their relative >> position to (save) is fixed during execution. > The

Re: [PATCH 0/7] KVM: MMU: update mmu documentation

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > As Paolo pointed out that this is the time to update the documentation, this > patchest does it to let mmu.txt matches with the current mmu implementation > > Xiao Guangrong (7): > KVM: MMU: update the documentation for reverse mapping of parent_

Re: [PATCH v3 0/6] KVM: MMU: fast invalidate all mmio sptes

2013-06-19 Thread Paolo Bonzini
Il 07/06/2013 10:51, Xiao Guangrong ha scritto: > Changelog: > V3: > All of these changes are from Gleb's review: > 1) rename RET_MMIO_PF_EMU to RET_MMIO_PF_EMULATE. > 2) smartly adjust kvm generation number in kvm_current_mmio_generatio() > to avoid kvm_memslots->generation overflow. >

[GIT PULL] KVM fixes for 3.10-rc7

2013-06-19 Thread Paolo Bonzini
Linus, the following changes since commit 77293e215edef7871a39de4b326f777bc39278ca: Merge branch 'fixes-3.10' of git://git.infradead.org/users/willy/linux-nvme (2013-06-11 23:07:21 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 11:07:18PM +0800, 李春奇 wrote: > Hi Gleb, > This version can set %rsp before trapping into emulator, because > insn_page and alt_insn_page is statically defined and their relative > position to (save) is fixed during execution. > The position of the code is not fixed during

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alex Williamson
On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: > > > > Alex, any objection ? > > > > Which Alex? :) > > Heh, mostly Williamson in this specific case but your input is still > welcome :-) > > > I think validate works, i

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
Hi Gleb, This version can set %rsp before trapping into emulator, because insn_page and alt_insn_page is statically defined and their relative position to (save) is fixed during execution. In this way, test case of test_mmx_movq_mf needs to pre-define its own stack, this change is in the next patc

[PATCH 2/2] kvm-unit-tests: Change two cases to use trap_emulator

2013-06-19 Thread Arthur Chunqi Li
Change two functions (test_mmx_movq_mf and test_movabs) using unified trap_emulator. Signed-off-by: Arthur Chunqi Li --- x86/emulator.c | 62 ++-- 1 file changed, 11 insertions(+), 51 deletions(-) diff --git a/x86/emulator.c b/x86/emulator.c

[PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Arthur Chunqi Li
Add a function trap_emulator to run an instruction in emulator. Set inregs first (%rax is invalid because it is used as return address), put instruction codec in alt_insn and call func with alt_insn_length. Get results in outregs. Signed-off-by: Arthur Chunqi Li --- x86/emulator.c | 110 +++

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Benjamin Herrenschmidt
On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: > > Alex, any objection ? > > Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-) > I think validate works, it keeps iteration logic out of the kernel > which is a good thing. There still needs

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with "entry failed, hardware error 0x80000021"

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 04:12:04PM +0200, Stefan Pietsch wrote: > On 19.06.2013 15:41, Gleb Natapov wrote: > > On Sun, Jun 16, 2013 at 02:25:04AM +0200, Stefan Pietsch wrote: > >> > >> first bad commit: [25391454e73e3156202264eb3c473825afe4bc94] > >> KVM: VMX: don't clobber segment AR of unusable s

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
I use insn_ram as what the origin/master done before. I don't know how to describe it clearly, I will commit a patch later and you can get to know from my codes. Arthur On Wed, Jun 19, 2013 at 10:13 PM, Gleb Natapov wrote: > On Wed, Jun 19, 2013 at 10:01:40PM +0800, 李春奇 wrote: >> I found the fi

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 10:01:40PM +0800, 李春奇 wrote: > I found the final reason! The initial use of init_ram is also used by > test_rip_relative(), which will cause conflict. I changed it and > everything runs well. > Not sure what you mean. Your version of test_movabs does not use insn_ram. > O

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with "entry failed, hardware error 0x80000021"

2013-06-19 Thread Stefan Pietsch
On 19.06.2013 15:41, Gleb Natapov wrote: > On Sun, Jun 16, 2013 at 02:25:04AM +0200, Stefan Pietsch wrote: >> >> first bad commit: [25391454e73e3156202264eb3c473825afe4bc94] >> KVM: VMX: don't clobber segment AR of unusable segments. >> >> >> 25391454e73e3156202264eb3c473825afe4bc94 >> emulate_inva

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
I found the final reason! The initial use of init_ram is also used by test_rip_relative(), which will cause conflict. I changed it and everything runs well. On Wed, Jun 19, 2013 at 8:32 PM, Gleb Natapov wrote: > On Wed, Jun 19, 2013 at 08:30:33PM +0800, 李春奇 wrote: >> On Wed, Jun 19, 2013 at 8:26

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with "entry failed, hardware error 0x80000021"

2013-06-19 Thread Gleb Natapov
On Sun, Jun 16, 2013 at 02:25:04AM +0200, Stefan Pietsch wrote: > On 13.06.2013 16:59, Stefan Pietsch wrote: > > On 13.06.2013 15:42, Paolo Bonzini wrote: > >> Il 13/06/2013 07:57, Stefan Pietsch ha scritto: > >>> git bisect tells me: > >>> 79fd50c67f91136add9726fb7719b57a66c6f763 is the first bad

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:41 PM, Paolo Bonzini wrote: > Il 19/06/2013 14:25, Xiao Guangrong ha scritto: >> On 06/19/2013 07:55 PM, Paolo Bonzini wrote: >>> Il 19/06/2013 13:53, Xiao Guangrong ha scritto: On 06/19/2013 07:32 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto:

Re: [PATCHv1] kvm guest: fix uninitialized kvmclock read by KVM guest

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 15:20, Batalov Eugene ha scritto: > > I've missed this detail. It looks like Igor's patch doesn't bring > secondary cpus kvm_clocksource behavior back to one before the regression, > Before the regression per_cpu variables are used to allocate > kvm_pv_clock areas. > To to usage of p

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:35 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document it to Documentation/virtual/kvm/mmu.txt >> >> Signed-off-by: Xiao Guangrong >> --- >> Documentation/virtual/kvm/mmu.txt | 25 + >> 1 file changed, 25 insertions(+) >>

Re: [PATCH 6/7] KVM: MMU: document fast invalidate all pages

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:25 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document it to Documentation/virtual/kvm/mmu.txt >> >> Signed-off-by: Xiao Guangrong >> --- >> Documentation/virtual/kvm/mmu.txt | 23 +++ >> arch/x86/include/asm/kvm_host.h |

Re: [PATCHv1] kvm guest: fix uninitialized kvmclock read by KVM guest

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 00:21, Marcelo Tosatti ha scritto: > On Sat, Jun 15, 2013 at 10:01:45PM +0400, Eugene Batalov wrote: >> Due to unintialized kvmclock read KVM guest is hanging on SMP boot stage. >> If unintialized memory contains fatal garbage then hang reproduction is 100%. >> Unintialized memory is

Re: [PATCH 5/7] KVM: MMU: document fast page fault in

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:13 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document fast page fault to Documentation/virtual/kvm/mmu.txt >> >> Signed-off-by: Xiao Guangrong >> --- >> Documentation/virtual/kvm/mmu.txt | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --

Re: [PATCH 4/7] KVM: MMU: document mmio page fault

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:10 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document it to Documentation/virtual/kvm/mmu.txt >> >> Signed-off-by: Xiao Guangrong >> --- >> Documentation/virtual/kvm/mmu.txt | 11 +-- >> 1 file changed, 9 insertions(+), 2 deletions(-) >

Re: [PATCH] pci: Enable overrides for missing ACS capabilities

2013-06-19 Thread Don Dutile
On 06/18/2013 10:52 PM, Bjorn Helgaas wrote: On Tue, Jun 18, 2013 at 5:03 PM, Don Dutile wrote: On 06/18/2013 06:22 PM, Alex Williamson wrote: On Tue, 2013-06-18 at 15:31 -0600, Bjorn Helgaas wrote: On Tue, Jun 18, 2013 at 12:20 PM, Alex Williamson wrote: On Tue, 2013-06-18 at 11:28 -0

Re: [PATCH 3/7] KVM: MMU: document write_flooding_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:58 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document write_flooding_count to Documentation/virtual/kvm/mmu.txt >> >> Signed-off-by: Xiao Guangrong >> --- >> Documentation/virtual/kvm/mmu.txt | 8 >> arch/x86/include/asm/kvm_host.h |

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 14:25, Xiao Guangrong ha scritto: > On 06/19/2013 07:55 PM, Paolo Bonzini wrote: >> Il 19/06/2013 13:53, Xiao Guangrong ha scritto: >>> On 06/19/2013 07:32 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document it to Documentation/virtual/kvm/mmu.

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:40 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document it to Documentation/virtual/kvm/mmu.txt > > Edits inline, please ack. Good to me. Thank you very much for bearing my poor English. -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document it to Documentation/virtual/kvm/mmu.txt > > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/Documentation/virtual/kvm/mmu.txt >

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 08:30:33PM +0800, 李春奇 wrote: > On Wed, Jun 19, 2013 at 8:26 PM, Gleb Natapov wrote: > > On Wed, Jun 19, 2013 at 08:18:29PM +0800, 李春奇 wrote: > >> On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov wrote: > >> > On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 wrote: > >> >> On

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
On Wed, Jun 19, 2013 at 8:26 PM, Gleb Natapov wrote: > On Wed, Jun 19, 2013 at 08:18:29PM +0800, 李春奇 wrote: >> On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov wrote: >> > On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 wrote: >> >> On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov wrote: >> >> > Send

Re: [PATCH 6/7] KVM: MMU: document fast invalidate all pages

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document it to Documentation/virtual/kvm/mmu.txt > > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 23 +++ > arch/x86/include/asm/kvm_host.h | 5 + > 2 files changed, 28 insertions(+) > > di

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:55 PM, Paolo Bonzini wrote: > Il 19/06/2013 13:53, Xiao Guangrong ha scritto: >> On 06/19/2013 07:32 PM, Paolo Bonzini wrote: >>> Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt >>> >>> While reviewing the docs, I looked at the

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 08:18:29PM +0800, 李春奇 wrote: > On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov wrote: > > On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 wrote: > >> On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov wrote: > >> > Send code in a form of a patch. > >> > > >> > On Wed, Jun 19, 20

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov wrote: > On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 wrote: >> On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov wrote: >> > Send code in a form of a patch. >> > >> > On Wed, Jun 19, 2013 at 12:14:13AM +0800, 李春奇 wrote: >> >> extern u8 insn_page[], i

Re: [PATCH 5/7] KVM: MMU: document fast page fault in

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document fast page fault to Documentation/virtual/kvm/mmu.txt > > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/virtual/kvm/mmu.txt > b/Document

Re: [PATCH 4/7] KVM: MMU: document mmio page fault

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document it to Documentation/virtual/kvm/mmu.txt > > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/Documentation/virtual/kvm/mmu.txt

Re: [PATCH 3/7] KVM: MMU: document write_flooding_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document write_flooding_count to Documentation/virtual/kvm/mmu.txt > > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 8 > arch/x86/include/asm/kvm_host.h | 5 + > 2 files changed, 13 insertions(+) > > d

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 13:53, Xiao Guangrong ha scritto: > On 06/19/2013 07:32 PM, Paolo Bonzini wrote: >> Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >>> Document it to Documentation/virtual/kvm/mmu.txt >> >> While reviewing the docs, I looked at the code. >> >> Why can't this happen? >> >> CPU 1:

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:32 PM, Paolo Bonzini wrote: > Il 19/06/2013 11:09, Xiao Guangrong ha scritto: >> Document it to Documentation/virtual/kvm/mmu.txt > > While reviewing the docs, I looked at the code. > > Why can't this happen? > > CPU 1: __get_spte_lockless CPU 2: __update_clear_spte

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document it to Documentation/virtual/kvm/mmu.txt Edits inline, please ack. > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 4 > arch/x86/include/asm/kvm_host.h | 5 + > arch/x86/kvm/mmu.c| 7

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Document it to Documentation/virtual/kvm/mmu.txt While reviewing the docs, I looked at the code. Why can't this happen? CPU 1: __get_spte_lockless CPU 2: __update_clear_spte_slow --

Re: [PATCH v3 0/6] KVM: MMU: fast invalidate all mmio sptes

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:08 PM, Paolo Bonzini wrote: > Il 10/06/2013 19:03, Gleb Natapov ha scritto: >> On Mon, Jun 10, 2013 at 10:43:52PM +0900, Takuya Yoshikawa wrote: >>> On Mon, 10 Jun 2013 16:39:37 +0800 >>> Xiao Guangrong wrote: >>> On 06/10/2013 03:56 PM, Gleb Natapov wrote: > On Fri, Jun

Re: [PATCH v3 0/6] KVM: MMU: fast invalidate all mmio sptes

2013-06-19 Thread Paolo Bonzini
Il 10/06/2013 19:03, Gleb Natapov ha scritto: > On Mon, Jun 10, 2013 at 10:43:52PM +0900, Takuya Yoshikawa wrote: >> On Mon, 10 Jun 2013 16:39:37 +0800 >> Xiao Guangrong wrote: >> >>> On 06/10/2013 03:56 PM, Gleb Natapov wrote: On Fri, Jun 07, 2013 at 04:51:22PM +0800, Xiao Guangrong wrote: >

Re: [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO

2013-06-19 Thread Gleb Natapov
On Tue, Jun 18, 2013 at 10:59:37AM -0700, Nakajima, Jun wrote: > On Tue, Jun 18, 2013 at 8:16 AM, Gleb Natapov wrote: > > On Tue, Jun 18, 2013 at 04:05:08PM +0200, Paolo Bonzini wrote: > >> Il 05/06/2013 10:42, Gleb Natapov ha scritto: > >> >> > These patches add an emulated MSR_PLATFORM_INFO that

Re: [PATCH 1/7] KVM: MMU: update the documentation for reverse mapping of parent_pte

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: > Update the document to match the current reverse mapping of > parent_pte > > Signed-off-by: Xiao Guangrong > --- > Documentation/virtual/kvm/mmu.txt | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/Documentat

Re: [PATCH] kvm api doc: fix section numbers

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 03:42, Alexey Kardashevskiy ha scritto: > Signed-off-by: Alexey Kardashevskiy > --- > Documentation/virtual/kvm/api.txt |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/virtual/kvm/api.txt > b/Documentation/virtual/kvm/api.txt > ind

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 06:59, Benjamin Herrenschmidt wrote: > On Wed, 2013-06-19 at 13:05 +0930, Rusty Russell wrote: >> symbol_get() won't try to load a module; it'll just fail. This is what >> you want, since they must have vfio in the kernel to get a valid fd... > > Ok, cool. I suppose what we wa

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 wrote: > On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov wrote: > > Send code in a form of a patch. > > > > On Wed, Jun 19, 2013 at 12:14:13AM +0800, 李春奇 wrote: > >> extern u8 insn_page[], insn_page_end[]; > >> extern u8 test_insn[], test_insn_end[];

[PATCH 1/7] KVM: MMU: update the documentation for reverse mapping of parent_pte

2013-06-19 Thread Xiao Guangrong
Update the document to match the current reverse mapping of parent_pte Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/virtual/kvm/mmu.txt index

[PATCH 5/7] KVM: MMU: document fast page fault in

2013-06-19 Thread Xiao Guangrong
Document fast page fault to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/virtual/kvm/mmu.txt index 4fb442b..b5ce7dd 100644 --- a/Docu

[PATCH 3/7] KVM: MMU: document write_flooding_count

2013-06-19 Thread Xiao Guangrong
Document write_flooding_count to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 8 arch/x86/include/asm/kvm_host.h | 5 + 2 files changed, 13 insertions(+) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/vir

[PATCH 0/7] KVM: MMU: update mmu documentation

2013-06-19 Thread Xiao Guangrong
As Paolo pointed out that this is the time to update the documentation, this patchest does it to let mmu.txt matches with the current mmu implementation Xiao Guangrong (7): KVM: MMU: update the documentation for reverse mapping of parent_pte KVM: MMU: document clear_spte_count KVM: MMU: docu

[PATCH 4/7] KVM: MMU: document mmio page fault

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/virtual/kvm/mmu.txt index 5a6b2e2..4fb442b 10064

[PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 25 + 1 file changed, 25 insertions(+) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/virtual/kvm/mmu.txt index f5c4de9..9b7cfb3 100644

[PATCH 6/7] KVM: MMU: document fast invalidate all pages

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 23 +++ arch/x86/include/asm/kvm_host.h | 5 + 2 files changed, 28 insertions(+) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/virt

[PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong --- Documentation/virtual/kvm/mmu.txt | 4 arch/x86/include/asm/kvm_host.h | 5 + arch/x86/kvm/mmu.c| 7 --- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-19 Thread Ralf Baechle
FYI, Since you intend to resubmit anyway I just dropped the entire series from patchwork. Ralf -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html