[PATCH 1/2] KVM: PPC: epapr: Add idle hcall support for host

2011-12-30 Thread Liu Yu
Add a new field opt_feature in struct kvm_ppc_pvinfo to tell userspace whether it support hcall idle. Signed-off-by: Liu Yu --- arch/powerpc/include/asm/kvm_para.h | 18 ++ arch/powerpc/kvm/powerpc.c |9 + include/linux/kvm.h |5

[PATCH 2/2] KVM: PPC: epapr: Install ev_idle hcall for paravirt guest linux

2011-12-30 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- arch/powerpc/kernel/kvm.c | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/kvm.c b/arch/powerpc/kernel/kvm.c index b06bda

[PATCH v2 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-01-05 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v2: 1. move the idle code into assembly. 2. move the part that check "has-idle" into epapr code. arch/powerpc/include/asm/epapr_hcalls.h |1 + arch/powerpc/include/asm/machdep.h

[PATCH 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-01-05 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu --- arch/powerpc/include/asm/epapr_hcalls.h |8 + arch/powerpc/kernel/Makefile|1 + arch/powerpc/kernel/epapr_para.c| 45 +++ arch/powerpc/kernel/kvm.c |9

[PATCH v2 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-01-05 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu --- v2: 1. instead of adding new field in kvm_ppc_pvinfo, use flags. 2. expose hcall definitions to userspace arch/powerpc/include/asm/kvm_para.h | 14 -- arch

[PATCH v3 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-10 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu --- v3: no change arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c |8 include/linux/kvm.h |2

[PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-10 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu --- v3: apply the epapr init for all ppc platform arch/powerpc/Kconfig|4 +++ arch/powerpc/include/asm/epapr_hcalls.h |8 + arch/powerpc/kernel/Makefile|1 + arch/powerpc/kernel

[PATCH v3 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-10 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v3: 1. apply the hcall idle for all ppc platform 2. add a loop to prevent spurious wakeups arch/powerpc/kernel/Makefile |2 +- arch/powerpc/kernel/epapr.S

[PATCH v4 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-16 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v4: 1. discard the CONFIG_E500 to make code for all powerpc platform 2. code cleanup arch/powerpc/kernel/epapr.S | 29 + arch/powerpc/kernel/epapr_par

[PATCH v4 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-16 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu --- v4: 1. code cleanup 2. move kvm_hypercall_start() to epapr_hypercall_start() arch/powerpc/Kconfig|4 ++ arch/powerpc/include/asm/epapr_hcalls.h |2 + arch/powerpc/kernel/Makefile|1

[PATCH v4 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-16 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu --- v4: no change arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c |8 include/linux/kvm.h |2

[PATCH v5 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-02-20 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu --- v5: 1. remove the ifdef 2. add epapr_hcalls.h into headers install list arch/powerpc/include/asm/Kbuild |1 + arch/powerpc/include/asm/kvm_para.h | 14

[PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-20 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v5: no change arch/powerpc/kernel/epapr_hcalls.S | 29 + arch/powerpc/kernel/epapr_paravirt.c | 11 ++- 2 files changed, 39 insertions(+), 1 deletions(-) di

[PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-20 Thread Liu Yu
Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu --- v5: new patch arch/powerpc/include/asm/epapr_hcalls.h | 22 +- arch/powerpc/include/asm/fsl_hcalls.h | 36 +++--- 2 files changed, 29 insertions

[PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-20 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu --- v5: 1. fix the if test 2. use patch_instruction() 3. code cleanup 4. rename the files 5. make epapr paravirt user-selectable arch/powerpc/include/asm/epapr_hcalls.h |2 + arch/powerpc/kernel/Makefile|1 + arch

[PATCH v6 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-23 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu --- v6: 1. rename epapr_para to epapr_paravirt 2. remove redundant warnings 3. remove unnecessary init arch/powerpc/include/asm/epapr_hcalls.h |2 + arch/powerpc/kernel/Makefile|1 + arch/powerpc/kernel

[PATCH v6 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-02-23 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu --- v6: no change arch/powerpc/include/asm/Kbuild |1 + arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c |6

[PATCH v6 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-23 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v6: reuse the EV_IDLE definition arch/powerpc/include/asm/epapr_hcalls.h | 11 ++- arch/powerpc/kernel/epapr_hcalls.S | 27 +++ arch/powerpc/kernel/epapr_

[PATCH v6 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-23 Thread Liu Yu
Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu --- v6: select epapr_paravirt when enable fsl_hv driver arch/powerpc/include/asm/epapr_hcalls.h | 22 +- arch/powerpc/include/asm/fsl_hcalls.h | 36

Serial of guest kernel complain "too much work" in kvm/qemu

2008-08-20 Thread Liu Yu
Hi all, How is this going? http://www.archivum.info/[EMAIL PROTECTED]/2008-02/msg00169.html I use serial as guest's default stdio on powerpc platform. When displaying a number of characters, e.g. cat a big ascii file, the serial always hangs as it encounters overwhelming interrupts, and then com

[PATCH] virtio-blk: change config to guest endian

2008-09-08 Thread Liu Yu
Since virtio-blk in kernel has already changed, qemu needs to be updated. see http://thread.gmane.org/gmane.linux.kernel.virtualization/5776/focus=580 Only tested it on branch kvm-70rc1 for e500/powerpc platform. Signed-off-by: Liu Yu <[EMAIL PROTECTED]> Acked-by: Anthony Liguori &

RE: [PATCH] kvm: ppc: stop leaking host memory on VM exit

2008-11-24 Thread Liu Yu
Good catch. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Hollis Blanchard > Sent: Tuesday, November 25, 2008 1:38 AM > To: Avi Kivity > Cc: kvm-ppc; kvm > Subject: [PATCH] kvm: ppc: stop leaking host memory on VM exit > > When the VM exits, we

RE: [PATCH] kvm: ppc: stop leaking host memory on VM exit

2008-11-25 Thread Liu Yu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Hollis Blanchard > Sent: Tuesday, November 25, 2008 1:38 AM > To: Avi Kivity > Cc: kvm-ppc; kvm > Subject: [PATCH] kvm: ppc: stop leaking host memory on VM exit > > When the VM exits, we must call put_

[PATCH v2] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-02-02 Thread Liu Yu
Old method prematurely sets ESR and DEAR. Move this part after we decide to inject interrupt, which is more like hardware behave. Signed-off-by: Liu Yu --- v2: use new fields queued_esr queued_dear to queue flags arch/powerpc/include/asm/kvm_host.h |2 + arch/powerpc/kvm/booke.c

[PATCH v3] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-02-02 Thread Liu Yu
Old method prematurely sets ESR and DEAR. Move this part after we decide to inject interrupt, which is more like hardware behave. Signed-off-by: Liu Yu --- v3: change some functions to static arch/powerpc/include/asm/kvm_host.h |2 + arch/powerpc/kvm/booke.c| 59

[PATCH 1/4] kvmppc: guest debug definitions

2010-02-03 Thread Liu Yu
Signed-off-by: Liu Yu --- arch/powerpc/include/asm/kvm.h | 20 arch/powerpc/include/asm/kvm_host.h | 16 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/kvm.h b/arch/powerpc/include/asm/kvm.h index 81f3b0b

[PATCH RESEND 0/4] kvmppc/booke: add guest debug support

2010-02-03 Thread Liu Yu
This patchset add guest debug support for booke. -- 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

[PATCH 2/4] kvmppc/booke: switch shadow/host debug registers on guest enter/exit path

2010-02-03 Thread Liu Yu
This provide a precise way to avoid confounding settings of guest and host. Also the guest hardware emulation about debug can be implemented based on this. Signed-off-by: Liu Yu --- arch/powerpc/kernel/asm-offsets.c |3 ++ arch/powerpc/kvm/booke_interrupts.S | 58

[PATCH 3/4] kvmppc/booke: guest debug support

2010-02-03 Thread Liu Yu
According to user's gdb command, we set the corresponding debug control bits in shadow. Signed-off-by: Liu Yu --- arch/powerpc/include/asm/kvm_ppc.h |3 + arch/powerpc/kvm/booke.c | 93 ++-- arch/powerpc/kvm/e500.c|8 ---

[PATCH 4/4] kvmppc/booke: exit_nr fixup for guest debug single step

2010-02-03 Thread Liu Yu
guest exit path. Then we need to recognize this kind of single step interrupt and fix the exit_nr to the original value. So that everything looks like normal. Signed-off-by: Liu Yu --- arch/powerpc/kvm/booke.c| 82 +++ arch/powerpc/kvm/booke_interrupts.S

[PATCH 1/2] kvm/e500v2: Remove shadow tlb

2010-09-08 Thread Liu Yu
to trace the relation between guest tlb entry and page. Signed-off-by: Liu Yu --- arch/powerpc/include/asm/kvm_e500.h |7 +- arch/powerpc/kvm/e500_tlb.c | 287 +-- 2 files changed, 108 insertions(+), 186 deletions(-) diff --git a/arch/powerpc/include

[PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0

2010-09-08 Thread Liu Yu
entry. This patch remove the link between pages and guest tlb entry to do the unlink. And keep host_tlb0_ref in each vcpu to trace pages. Then it's easy to map guest TLB1 to host TLB0. In guest ramdisk boot test(guest mainly uses TLB1), with this patch, the tlb miss number get down 90%. Signed-o

[PATCH 0/2] kvm/e500v2: MMU optimization

2010-09-08 Thread Liu Yu
The patchset aims at mapping guest TLB1 to host TLB0. And it includes: [PATCH 1/2] kvm/e500v2: Remove shadow tlb [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0 The reason we need patch 1 is because patch 1 make things simple and flexible. Only applying patch 1 aslo make kvm work. -- To u

[PATCH v2 2/3] kvmppc/e500: Add PVR/PIR init for E500

2010-01-22 Thread Liu Yu
commit 513579e3a391a3874c478a8493080822069976e8 change the way we emulate PVR/PIR, which left PVR/PIR uninitialized on E500, and make guest puzzled. Signed-off-by: Liu Yu --- arch/powerpc/kvm/e500.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kvm

[PATCH v2 0/3] kvmppc/e500: fix breaks

2010-01-22 Thread Liu Yu
These patches fix current e500 break. v2: patch 2: add comment about PIR patch 3: move tlbcfg code to init -- 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

[PATCH v2 3/3] kvmppc/e500: fix tlbcfg emulation

2010-01-22 Thread Liu Yu
commit 55fb1027c1cf9797dbdeab48180da530e81b1c39 doesn't update tlbcfg correctly. Fix it and move this part to init code. Signed-off-by: Liu Yu --- arch/powerpc/include/asm/kvm_e500.h |2 ++ arch/powerpc/kvm/e500_emulate.c | 20 ++-- arch/powerpc/kvm/e500_

[PATCH v2 1/3] kvmppc/e500: Add register l1csr0 emulation

2010-01-22 Thread Liu Yu
Latest kernel start to access l1csr0 to contron L1. We just tell guest no operation is on going. Signed-off-by: Liu Yu --- arch/powerpc/include/asm/kvm_e500.h |1 + arch/powerpc/kvm/e500_emulate.c |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/powerpc

[PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-22 Thread Liu Yu
Old method prematurely sets ESR and DEAR. Move this part after we decide to inject interrupt, and make it more like hardware behave. Signed-off-by: Liu Yu --- arch/powerpc/kvm/booke.c | 24 ++-- arch/powerpc/kvm/emulate.c |2 -- 2 files changed, 14 insertions(+), 12

[PATCH v3 3/3] kvmppc/e500: fix tlbcfg emulation

2010-01-22 Thread Liu Yu
commit 55fb1027c1cf9797dbdeab48180da530e81b1c39 doesn't update tlbcfg correctly. Fix it. And since guest OS likes 'fixed' hardware, initialize tlbcfg everytime when guest access is useless. So move this part to init code. Signed-off-by: Liu Yu --- v3: change the commit

RE: [PATCH 5 of 5] kvm: powerpc: Map guest userspace with TID=0 mappings

2008-07-28 Thread Liu Yu
I have a question that I could not think through. While multiple qemu/kvm processes are running at the same time, how to prevent one guest from using others' TLB? For all the guests have the same TID=0 for userspace and TID=1 for kernel. > -Original Message- > From: [EMAIL PROTECTED] >

RE: [PATCH 5 of 5] kvm: powerpc: Map guest userspace with TID=0 mappings

2008-07-29 Thread Liu Yu
> -Original Message- > From: Christian Ehrhardt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 29, 2008 3:03 PM > To: Liu Yu > Cc: Hollis Blanchard; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; kvm@vger.kernel.org > Subject: Re: [PATCH 5 of 5] kvm: powerpc: Map guest us

RE: [PATCH 5 of 5] kvm: powerpc: Map guest userspace with TID=0 mappings

2008-07-29 Thread Liu Yu
=- > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Liu Yu > Sent: Tuesday, July 29, 2008 3:48 PM > To: Christian Ehrhardt > Cc: Hollis Blanchard; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; kvm@vger.kernel.org > Subject

RE: [PATCH 1/2] KVM/PPC: Fix PPC KVM e500_tlb.c build error

2009-07-01 Thread Liu Yu-B13201
This fix is already accepted in kvm.git > -Original Message- > From: Yang Shi [mailto:yang@windriver.com] > Sent: Thursday, July 02, 2009 10:55 AM > To: Liu Yu-B13201; holl...@us.ibm.com; a...@redhat.com > Cc: kvm-...@vger.kernel.org; kvm@vger.kernel.org; > linux

RE: [PATCH 1/2] KVM/PPC: Fix PPC KVM e500_tlb.c build error

2009-07-02 Thread Liu Yu-B13201
> -Original Message- > From: Avi Kivity [mailto:a...@redhat.com] > Sent: Thursday, July 02, 2009 7:20 PM > To: Liu Yu-B13201 > Cc: Yang Shi; holl...@us.ibm.com; kvm-...@vger.kernel.org; > kvm@vger.kernel.org; linuxppc-...@ozlabs.org > Subject: Re: [PATCH 1/2]

RE: [PATCH] KVM: PPC: E500: Support hugetlbfs

2011-09-21 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Tuesday, September 20, 2011 7:36 AM > To: kvm-...@vger.kernel.org > Cc: kvm@vger.kernel.org > Subject: [PATCH] KVM: PPC: E500: Support hugetlbfs > > W

RE: [PATCH 2/2] KVM: PPC: epapr: Install ev_idle hcall for paravirt guest linux

2012-01-04 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, January 03, 2012 2:23 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org > Subject: Re: [PATCH 2/2] KVM: PPC: epapr: Install ev_idle hcall for > paravirt guest lin

RE: [PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-12 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, February 11, 2012 2:40 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] KVM: PPC:

RE: [PATCH v4 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-16 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, February 16, 2012 6:20 PM > To: Liu Yu-B13201 > Cc: ; ; d...@ozlabs.org>; Wood Scott-B07421; Liu Yu-B13201 > Subject: Re: [PATCH v4 2/3] KVM: PPC: epapr: Add idle hcall support for

RE: [PATCH v4 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-17 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, February 17, 2012 1:13 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v4 1/3] KVM: PPC: epapr:

RE: [PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-21 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, February 22, 2012 5:56 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v5 1/4] KVM: PPC:

RE: [PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-21 Thread Liu Yu-B13201
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, February 22, 2012 5:58 AM > To: Liu Yu-B13201 > Cc: ag...@suse.de; kvm-...@vger.kernel.org; kvm@vger.kernel.org; > linuxppc-...@ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH v5 4/4] KVM: PPC

RE: [PATCH V5 1/3] perf & kvm: Enhance perf to collect KVM guest os statistics from host side

2010-04-22 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ow...@vger.kernel.org > [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Zhang, Yanmin > Sent: Monday, April 19, 2010 1:33 PM > To: Avi Kivity > Cc: Ingo Molnar; Peter Zijlstra; Avi Kivity; Sheng Yang; > linux-ker...@vger.kernel.org; kvm@vger.kernel.org;

RE: [PATCH] kvm/powerpc: fix a build error in e500_tlb.c

2010-06-06 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ow...@vger.kernel.org > [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Friday, June 04, 2010 10:08 PM > To: Kevin Hao > Cc: Marcelo Tosatti; Kumar Gala; Avi Kivity; > kvm@vger.kernel.org list; linuxppc-.

RE: 63 sectors

2008-09-03 Thread Liu Yu-B13201
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Avi Kivity > Sent: Wednesday, September 03, 2008 4:12 PM > To: KVM list > Cc: H. Peter Anvin > Subject: 63 sectors > > Qemu sets the sectors-per-track setting of virtual disks to 63. This > seems to

RE: 63 sectors

2008-09-03 Thread Liu Yu-B13201
> -Original Message- > From: H. Peter Anvin [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2008 11:33 AM > To: Liu Yu-B13201 > Cc: Avi Kivity; KVM list > Subject: Re: 63 sectors > > Liu Yu-B13201 wrote: > > How about adding 1 sector offset when

RE: Virtio_pci in kernel ignore endian of PCI I/O space?

2008-09-03 Thread Liu Yu-B13201
> -Original Message- > From: Hollis Blanchard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 02, 2008 10:16 PM > To: Liu Yu-B13201 > Cc: [EMAIL PROTECTED]; kvm > Subject: Re: Virtio_pci in kernel ignore endian of PCI I/O space? > > On Tue, 2008-09-02 at 15

RE: Virtio_pci in kernel ignore endian of PCI I/O space?

2008-09-07 Thread Liu Yu-B13201
> -Original Message- > From: Hollis Blanchard [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 11:31 PM > To: Liu Yu-B13201 > Cc: [EMAIL PROTECTED]; kvm > Subject: RE: Virtio_pci in kernel ignore endian of PCI I/O space? > > On Thu, 2008-09-04 at 13

RE: KVM Port

2009-03-25 Thread Liu Yu-B13201
IMHO, one thing you should keep in mind is how to isolate the guest space based on your hardware MMU. And then deal with the exceptions carefully, some may be directly send to guest and some should be handled by hypervisor. In powerpc BOOKE implementation, we have to hijack all exceptions, beca

RE: KVM Port

2009-03-25 Thread Liu Yu-B13201
om] > Sent: Thursday, March 26, 2009 2:03 PM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org > Subject: Re: KVM Port > > do we have to port qemu as well? > > On Thu, Mar 26, 2009 at 7:22 AM, Liu Yu-B13201 > wrote: > > > > IMHO, one thin

RE: qemu-kvm.git now live

2009-04-23 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Avi Kivity > Sent: Thursday, April 23, 2009 11:40 PM > To: KVM list > Cc: Anthony Liguori; Hollis Blanchard; Zhang, Xiantao; > kvm-ppc; kvm-i...@vger.kernel.org; Carsten Otte

RE: PowerPC page faults

2009-05-11 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ow...@vger.kernel.org > [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Anthony Liguori > Sent: Tuesday, May 12, 2009 6:18 AM > To: Hollis Blanchard > Cc: Gregory Haskins; Avi Kivity; Chris Wright; Gregory > Haskins; linux-ker...@vger.kernel.org; kvm@vg

RE: [PATCH 1/4] kvmppc: guest debug definitions

2010-02-03 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Wednesday, February 03, 2010 4:57 PM > To: Liu Yu-B13201 > Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > kvm@vger.kern

RE: [PATCH 4/4] kvmppc/booke: exit_nr fixup for guest debug single step

2010-02-03 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Wednesday, February 03, 2010 5:03 PM > To: Liu Yu-B13201 > Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > kvm@vger.kern

RE: [PATCH 1/4] kvmppc: guest debug definitions

2010-02-03 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Wednesday, February 03, 2010 5:51 PM > To: Liu Yu-B13201 > Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > kvm@vger.kernel.org > Subject: Re: [PATCH 1/4] kvmppc: guest debug definitio

RE: [PATCH 4/4] kvmppc/booke: exit_nr fixup for guest debug single step

2010-02-03 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Wednesday, February 03, 2010 6:14 PM > To: Liu Yu-B13201 > Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > kvm@vger.kernel.org > Subject: Re: [PATCH 4/4] kvmppc/booke: exit_nr fix

RE: [PATCH] KVM: PPC: E500 compile fix

2010-03-26 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, March 26, 2010 5:10 PM > To: Bruce Majia > Cc: Avi Kivity; kvm@vger.kernel.org; kvm-ppc; Liu Yu-B13201 > Subject: Re: [PATCH] KVM: PPC: E500 compile fix > > > On 26.03.2010,

RE: [PATCH 1/2] kvm/e500v2: Remove shadow tlb

2010-09-09 Thread Liu Yu-B13201
> -Original Message- > From: Hollis Blanchard [mailto:hollis_blanch...@mentor.com] > Sent: Thursday, September 09, 2010 12:07 AM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org; ag...@suse.de > Subject: Re: [PATCH 1/2] kvm/e500v2: Remove shadow

RE: [PATCH 0/2] kvm/e500v2: MMU optimization

2010-09-09 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Hollis Blanchard > Sent: Thursday, September 09, 2010 12:07 AM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org; ag...@suse.de >

RE: [PATCH 0/2] kvm/e500v2: MMU optimization

2010-09-09 Thread Liu Yu-B13201
> -Original Message- > From: Hollis Blanchard [mailto:hollis_blanch...@mentor.com] > Sent: Friday, September 10, 2010 12:23 AM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org; ag...@suse.de > Subject: Re: [PATCH 0/2] kvm/e500v2

RE: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0

2010-09-16 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, September 10, 2010 7:24 AM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org > Subject: Re: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0 > > &

RE: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0

2010-09-17 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Thursday, September 16, 2010 7:44 PM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org > Subject: Re: [

RE: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0

2010-09-17 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, September 17, 2010 6:20 PM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org > Subject: Re: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0 > > &

RE: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0

2010-09-17 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, September 17, 2010 7:34 PM > To: Liu Yu-B13201 > Cc: kvm@vger.kernel.org; kvm-...@vger.kernel.org > Subject: Re: [PATCH 2/2] kvm/e500v2: mapping guest TLB1 to host TLB0 > > &

RE: [PATCH 7/9] KVM: PPC: Emulate trap SRR1 flags properly

2010-01-10 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Hollis Blanchard > Sent: Saturday, January 09, 2010 3:30 AM > To: Alexander Graf > Cc: kvm@vger.kernel.org; kvm-ppc; Benjamin Herrenschmidt; Liu Yu > Su

RE: [PATCH] KVM: PPC: E500 compile fix

2010-01-10 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, January 11, 2010 1:02 AM > To: kvm@vger.kernel.org > Cc: kvm-ppc; Liu Yu-B13201 > Subject: [PATCH] KVM: PPC: E500 compile fix > > While trying to compile an E500 vmli

RE: [PATCH 7/9] KVM: PPC: Emulate trap SRR1 flags properly

2010-01-12 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, January 12, 2010 8:08 AM > To: Liu Yu-B13201 > Cc: Hollis Blanchard; kvm@vger.kernel.org; kvm-ppc; Benjamin > Herrenschmidt; Liu Yu > Subject: Re: [PATCH 7/9] KVM: PPC: Emulate tra

RE: [PATCH 7/9] KVM: PPC: Emulate trap SRR1 flags properly

2010-01-21 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Hollis Blanchard > Sent: Saturday, January 09, 2010 3:30 AM > To: Alexander Graf > Cc: kvm@vger.kernel.org; kvm-ppc; Benjamin Herrenschmidt; Liu Yu > Su

RE: [PATCH v2 3/3] kvmppc/e500: fix tlbcfg emulation

2010-01-22 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, January 22, 2010 7:05 PM > To: Liu Yu-B13201 > Cc: kvm-...@vger.kernel.org; kvm@vger.kernel.org > Subject: Re: [PATCH v2 3/3] kvmppc/e500: fix tlbcfg emulation > > > On 2

RE: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-22 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Friday, January 22, 2010 7:13 PM > To: Liu Yu-B13201 > Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > kvm@vger.ker

RE: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-25 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, January 22, 2010 7:33 PM > To: Liu Yu-B13201 > Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > kvm@vger.kernel.org > Subject: Re: [PATCH] kvmppc/booke: Set ESR and DEAR when

RE: [PATCH 14/27] KVM: PPC: Magic Page BookE support

2010-07-12 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ow...@vger.kernel.org > [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alexander Graf > Sent: Thursday, July 01, 2010 6:43 PM > To: kvm-...@vger.kernel.org > Cc: KVM list; linuxppc-dev > Subject: [PATCH 14/27] KVM: PPC: Magic Page BookE support > > As