Re: [libvirt] [PATCH] cpu: add Freescale ppc64 CPU models

2015-01-29 Thread hong-hua....@freescale.com
: [libvirt] [PATCH] cpu: add Freescale ppc64 CPU models On Friday 23 January 2015 08:42 AM, Olivia Yin wrote: Signed-off-by: Olivia Yin hong-hua@freescale.com --- src/cpu/cpu_map.xml | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git

Re: [libvirt] [PATCH] cpu: add Freescale ppc64 CPU models

2015-01-26 Thread hong-hua....@freescale.com
Freescale ppc64 CPU models When running Openstack on Freescale ppc64 board, got libvirtError as before: nova.openstack.common.threadgroup libvirtError: XML error: Missing CPU model name. This patch is to add Freescale ppc64 CPU models. Signed-off-by: Olivia Yin hong-hua@freescale.com

Re: [libvirt] Error starting domain: internal error: missing IFLA_VF_INFO in netlink response

2015-01-12 Thread hong-hua....@freescale.com
starting domain: internal error: missing IFLA_VF_INFO in netlink response On 01/08/2015 04:40 AM, hong-hua@freescale.com wrote: Hi Laine, Sorry to disturb you. It seemed this issue had been fixed in libvirt-1.2.2/libnl-3.2.22/linux-3.12. But we still got the error on PowerPC

Re: [libvirt] Error starting domain: internal error: missing IFLA_VF_INFO in netlink response

2015-01-12 Thread hong-hua....@freescale.com
:13 PM To: Yin Olivia-R63875 Cc: libvir-list@redhat.com Subject: Re: Error starting domain: internal error: missing IFLA_VF_INFO in netlink response On 01/08/2015 04:40 AM, hong-hua@freescale.com wrote: Hi Laine, Sorry to disturb you. It seemed this issue had been fixed

Re: [libvirt] Error starting domain: internal error: missing IFLA_VF_INFO in netlink response

2015-01-08 Thread hong-hua....@freescale.com
Hi Laine, Sorry to disturb you. It seemed this issue had been fixed in libvirt-1.2.2/libnl-3.2.22/linux-3.12. But we still got the error on PowerPC platform. I'll appreciate if you could give any suggestion. We are not sure if any netlink implementation in kernel space is missed. The scenario

[libvirt] Error starting domain: internal error: missing IFLA_VF_INFO in netlink response

2014-11-24 Thread hong-hua....@freescale.com
Hi, We try PCI Passthrough of host network devices on PPC platform. http://wiki.libvirt.org/page/Networking#Assignment_with_.3Cinterface_type.3D.27hostdev.27.3E_.28SRIOV_devices_only.29 But we got a similar issue as below that reported on RedHat before:

Re: [libvirt] [PATCH] QEMU: Fix virtio-serial device support on PPC.

2014-06-25 Thread hong-hua....@freescale.com
. Signed-off-by: Olivia Yin hong-hua@freescale.com --- src/qemu/qemu_capabilities.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 8e0a550..4541f52 100644 --- a/src/qemu

Re: [libvirt] [PATCH v3] QEMU: parse '-device vfio-pci' and '-device pci-assign'

2014-06-16 Thread hong-hua....@freescale.com
-by: Olivia Yin hong-hua@freescale.com Signed-off-by: Laine Stump la...@laine.org Modify the existing function qemuParseCommandLinePCI(), which works with - pcidevice, to support for -device pci-assign and -device pci-assign. Change test cases 'hostdev-vfio' and 'hostdev-pci-address-device

Re: [libvirt] [RFC][PATCH]QEMU: Parse -device vfio-pci commandline

2014-06-08 Thread hong-hua....@freescale.com
Stump Sent: Friday, June 06, 2014 8:37 PM To: libvir-list@redhat.com Cc: Eric Blake; Yin Olivia-R63875 Subject: Re: [libvirt] [RFC][PATCH]QEMU: Parse -device vfio-pci commandline On 06/05/2014 04:03 PM, Eric Blake wrote: On 06/05/2014 05:51 AM, hong-hua@freescale.com wrote: The test

Re: [libvirt] [RFC][PATCH]QEMU: Parse -device vfio-pci commandline

2014-06-05 Thread hong-hua....@freescale.com
commandline Signed-off-by: Olivia Yin hong-hua@freescale.com --- src/qemu/qemu_command.c | 67 tests/qemuargv2xmltest.c | 2 +- 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c

Re: [libvirt] [RFC][PATCH]QEMU: Parse -device vfio-pci commandline

2014-06-05 Thread hong-hua....@freescale.com
- From: Eric Blake [mailto:ebl...@redhat.com] Sent: Thursday, June 05, 2014 9:03 PM To: Yin Olivia-R63875; libvir-list@redhat.com Subject: Re: [libvirt] [RFC][PATCH]QEMU: Parse -device vfio-pci commandline On 06/05/2014 05:51 AM, hong-hua@freescale.com wrote: The test case failed

[libvirt] Parse commandline for -device option

2014-06-04 Thread hong-hua....@freescale.com
Hi Maintainers, Currently libvirt could only parse commandline for several legacy devices. For example, -pcidevice: qemuParseCommandLinePCI() -usbdevice: qemuParseCommandLineUSB() It also provides test cases for host device assignment. DO_TEST(hostdev-usb-address);

Re: [libvirt] [PATCH 3/3] tests: add test case for -serial option for ppce500

2014-05-26 Thread hong-hua....@freescale.com
Hi Jan, You're right. It should be QEMU_CAPS_DEVICE other than QEMU_CAPS_DRIVE. Best Regards, Olivia -Original Message- From: Ján Tomko [mailto:jto...@redhat.com] Sent: Monday, May 26, 2014 7:37 PM To: Yin Olivia-R63875; libvir-list@redhat.com Subject: Re: [libvirt] [PATCH 3/3]

Re: [libvirt] [PATCH 2/3] qemu: Fix specifying char devs for PPC

2014-05-26 Thread hong-hua....@freescale.com
Hi Jan, Thanks for comments. Could you please help review the v2 patches? Best Regards, Olivia -Original Message- From: Ján Tomko [mailto:jto...@redhat.com] Sent: Monday, May 26, 2014 7:37 PM To: Yin Olivia-R63875; libvir-list@redhat.com Subject: Re: [libvirt] [PATCH 2/3] qemu: Fix

Re: [libvirt] [PATCH 0/3] use -serial for ppce500 board and add test case

2014-05-25 Thread hong-hua....@freescale.com
Ping. Cole, Jan Li, Could you please help review the v2 patches? Best Regards, Olivia -Original Message- From: Olivia Yin [mailto:hong-hua@freescale.com] Sent: Thursday, May 22, 2014 6:56 PM To: libvir-list@redhat.com Cc: Yin Olivia-R63875 Subject: [PATCH 0/3] use -serial

Re: [libvirt] [PATCH] qemu: Fix specifying char devs for PPC

2014-05-20 Thread hong-hua....@freescale.com
char devs for PPC On 05/20/2014 01:25 AM, hong-hua@freescale.com wrote: Hi Cole, Thanks for the comments. Exactly there were already test cases for both pseries and ppce500 machines. For example, 1) qemuxml2argv-pseries-basic.args: '-chardev spapr-vty' for pseries. 2

Re: [libvirt] [PATCH] qemu: Fix specifying char devs for PPC

2014-05-19 Thread hong-hua....@freescale.com
Hi Cole, This is a patch similar with your previous patch to fix for ARM. Do you have any comments on it? Cindy, Since you are the main contributor to QEMU driver on PPC, I'll also appreciate your comments. Best Regards, Olivia -Original Message- From: Yin Olivia-R63875 Sent:

Re: [libvirt] [PATCH] qemu: Fix specifying char devs for PPC

2014-05-19 Thread hong-hua....@freescale.com
-Original Message- From: Cole Robinson [mailto:crobi...@redhat.com] Sent: Monday, May 19, 2014 9:40 PM To: Yin Olivia-R63875; libvir-list@redhat.com; zhlci...@linux.vnet.ibm.com Subject: Re: [PATCH] qemu: Fix specifying char devs for PPC On 05/19/2014 03:41 AM, hong-hua@freescale.com

Re: [libvirt] [PATCH] qemu: Fix specifying char devs for PPC

2014-05-15 Thread hong-hua....@freescale.com
Ping. This is a patch similar with ARM platforms. http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=3a2beaee1d50dc968171c584ec2edcfdcb8fadde Right now on ppce500, chardev is not supported for the serial console. So it uses the the legacy -serial option. Best Regards, Olivia -Original

Re: [libvirt] [PATCH] Define STATE_XMLFILE_LEN as 8192

2014-04-04 Thread hong-hua....@freescale.com
... Signed-off-by: Olivia Yin hong-hua@freescale.com --- tools/virsh-domain.c | 6 +++--- tools/virsh.h| 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 73414f8..8ade296 100644 --- a/tools/virsh-domain.c

Re: [libvirt] [PATCH] Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for powerpc

2014-04-03 Thread hong-hua....@freescale.com
-by: Olivia Yin hong-hua@freescale.com --- src/util/virsysinfo.c | 6 +++--- src/util/virsysinfo.h | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c index 7b16157..33c4bc6 100644 --- a/src/util/virsysinfo.c +++ b/src

Re: [libvirt] [PATCH] qemu: add PCI-multibus support for ppc

2014-03-04 Thread hong-hua....@freescale.com
for ppc On 02/28/2014 10:10 AM, hong-hua@freescale.com wrote: Hi Daniel, Refer to libvirt/src/qemu/qemu_capabilities.c, only x86_64/i686 support PCI_MULTIBUS. /* Currently only x86_64 and i686 support PCI-multibus. */ if (qemuCaps-arch == VIR_ARCH_X86_64 || qemuCaps

Re: [libvirt] [PATCH] qemu: add PCI-multibus support for ppc

2014-03-04 Thread hong-hua....@freescale.com
: [PATCH] qemu: add PCI-multibus support for ppc On Fri, Feb 28, 2014 at 09:10:47AM +, hong-hua@freescale.com wrote: Hi Daniel, Refer to libvirt/src/qemu/qemu_capabilities.c, only x86_64/i686 support PCI_MULTIBUS. /* Currently only x86_64 and i686 support PCI-multibus

Re: [libvirt] [PATCH] qemu: add PCI-multibus support for ppc

2014-02-28 Thread hong-hua....@freescale.com
it for all PPC is not right. -Original Message- From: Yin Olivia-R63875 Sent: Wednesday, March 13, 2013 12:44 PM To: libvir-list@redhat.com Cc: Yin Olivia-R63875 Subject: [PATCH] qemu: add PCI-multibus support for ppc Signed-off-by: Olivia Yin hong-hua@freescale.com