[Qemu-devel] [PATCH] kvmppc: update "has-idle" property in hypervisor node

2012-02-17 Thread Liu Yu
Check if host support ev_idle hypercall via pvinfo->flags, If so, then set "has-idle" property in guest dts. Signed-off-by: Liu Yu --- hw/ppc_newworld.c |2 +- hw/ppc_oldworld.c |2 +- hw/ppce500_mpc8544ds.c |6 +- scripts

[Qemu-devel] [PATCH] kvm-ppc: halt secondary cpus when guest reset

2011-11-29 Thread Liu Yu
fortunately, kvmppc doesn't use halt exit. Signed-off-by: Liu Yu --- hw/ppce500_spin.c |1 + target-ppc/kvm.c | 11 ++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c index cccd940..2b52728 100644 --- a/hw/ppce500_spin.c +++

[Qemu-devel] [PATCH 1/2] ppc/e500_pci: Fix code style

2011-09-29 Thread Liu Yu
Put trailing statements on next line. Signed-off-by: Liu Yu --- hw/ppce500_pci.c | 76 +++-- 1 files changed, 56 insertions(+), 20 deletions(-) diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c index 2db365d..0ece422 100644 --- a/hw

[Qemu-devel] [PATCH v2 2/2] ppc/e500_pci: Fix an array overflow issue

2011-09-29 Thread Liu Yu
When access PPCE500_PCI_IW1 the previous index get overflow. The patch fix the issue and update all to keep consistent style. Signed-off-by: Liu Yu --- v2: also apply idx for outbound to keep consistent style. hw/ppce500_pci.c | 38 ++ 1 files changed, 22

[Qemu-devel] [PATCH] ppc/e500_pci: Fix an array overflow issue

2011-09-27 Thread Liu Yu
Signed-off-by: Liu Yu --- hw/ppce500_pci.c | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c index 2db365d..3e24e85 100644 --- a/hw/ppce500_pci.c +++ b/hw/ppce500_pci.c @@ -108,15 +108,18 @@ static uint32_t

Re: [Qemu-devel] [PATCH v2 4/5] exec.c: refactor cpu_physical_memory_map

2011-07-21 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, July 22, 2011 2:00 PM > To: Liu Yu-B13201 > Cc: stefano.stabell...@eu.citrix.com; qemu-devel@nongnu.org; > xen-de...@lists.xensource.com; Yoder Stuart-B08248 > Subject: Re: [Qemu

Re: [Qemu-devel] [PATCH v2 4/5] exec.c: refactor cpu_physical_memory_map

2011-07-21 Thread Liu Yu-B13201
> -Original Message- > From: qemu-devel-bounces+yu.liu=freescale@nongnu.org > [mailto:qemu-devel-bounces+yu.liu=freescale@nongnu.org] > On Behalf Of stefano.stabell...@eu.citrix.com > Sent: Friday, May 20, 2011 1:36 AM > To: qemu-devel@nongnu.org > Cc: xen-de...@lists.xensource

[Qemu-devel] RE: [PATCH] virtio-net: Fix lduw_p() pointer argument of wrong size

2011-03-03 Thread Liu Yu-B13201
> -Original Message- > From: Aurelien Jarno [mailto:aurel...@aurel32.net] > Sent: Friday, March 04, 2011 6:46 AM > To: Stefan Hajnoczi > Cc: Liu Yu-B13201; Anthony Liguori; qemu-devel@nongnu.org > Subject: Re: [PATCH] virtio-net: Fix lduw_p() pointer > argument

RE: [Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-02-28 Thread Liu Yu-B13201
> -Original Message- > From: qemu-devel-bounces+yu.liu=freescale@nongnu.org > [mailto:qemu-devel-bounces+yu.liu=freescale@nongnu.org] > On Behalf Of Aurelien Jarno > Sent: Sunday, January 16, 2011 3:28 AM > To: qemu-devel@nongnu.org > Cc: Anthony Liguori; Aurelien Jarno > Subje

[Qemu-devel] RE: Vhost support

2011-02-21 Thread Liu Yu-B13201
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, February 21, 2011 7:46 PM > To: Liu Yu-B13201 > Cc: qemu-devel@nongnu.org; Yoder Stuart-B08248 > Subject: Re: Vhost support > > On Mon, Feb 21, 2011 at 11:41:39AM +0

[Qemu-devel] RE: Vhost support

2011-02-21 Thread Liu Yu-B13201
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, February 21, 2011 7:22 PM > To: Liu Yu-B13201 > Cc: qemu-devel@nongnu.org; Yoder Stuart-B08248 > Subject: Re: Vhost support > > On Mon, Feb 21, 2011 at 11:13:33AM +0

[Qemu-devel] Vhost support

2011-02-21 Thread Liu Yu-B13201
Hello everyone, Does anyone know the status of vhost in upstream qemu? We would like to try vhost with kvm on powerpc e500v2 platform, but obviously, powerpc kvm only works with upstream qemu. KVM wike page says it needs to enable CONFIG_PCI_MSI for guest kernel. Is MSI a necessary? Thanks, Yu

[Qemu-devel] RE: [PATCH 4/4] ppc4xx: load Bamboo kernel, initrd, and fdt at fixed addresses

2010-08-05 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, August 05, 2010 8:22 AM > To: qemu-devel@nongnu.org > Cc: kvm-...@vger.kernel.org > Subject: [PATCH 4/4] ppc4xx: load Bamboo kernel, initrd

[Qemu-devel] [PATCH 1/2] powerpc/booke: move fdt loading to rom infrastructure

2010-02-02 Thread Liu Yu
It's convinent to use rom to checking overlap, to reset etc. And uImage and ramdisk loading has already moved to it. Also, after we add fdt to rom, free it. Signed-off-by: Liu Yu --- hw/ppc440_bamboo.c | 15 --- hw/ppce500_mpc8544ds.c | 17 ++--- 2 files ch

[Qemu-devel] [PATCH 2/2] powerpc/e500: adjust fdt and ramdisk loading addr

2010-02-02 Thread Liu Yu
Since kernel uimage is getting bigger, old fixed loading bases will result in regions overlap. Add pad for fdt and ramdisk, so that they won't overlap with uimage. Signed-off-by: Liu Yu --- hw/ppce500_mpc8544ds.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[Qemu-devel] [PATCH] kvm/booke: Add synchronize register for booke init

2010-01-26 Thread Liu Yu
So that the following registers init could be flushed back to kvm. Signed-off-by: Liu Yu --- hw/ppc440_bamboo.c |2 ++ hw/ppce500_mpc8544ds.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index 1ab9872..1b9ec17 100644