From: Olivia Yin hong-hua@freescale.com
With this patch, Freescale ppc64 CPU modesl could be recognized.
virsh # cpu-models ppc64
POWERPC_e6500
POWERPC_e5500
power8
power8e
power7+
power7
power6
POWER8_v1.0
POWER7+_v2.1
POWER7_v2.3
POWER7_v2.1
POWER7
virsh # capabilities
capabilities
host
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
---
src/cpu/cpu_map.xml | 36
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/cpu/cpu_map.xml | 38 +-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index bd9b056..c34874e 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu
Patch fd0f22ed414e114664f4140306834bedd19f52c9 discard virtio-serial
device support on PPC machine.
Most PPC boards don't use -chardev with non-virtio serial device
except pseries which uses -device spapr-vty with -chardev.
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/qemu
Signed-off-by: Olivia Yin hong-hua@freescale.com
Modify qemuParseCommandLinePCI() to support parsing '-device
vfio-pci,host=bus:slot.func'.
Add test case 'hostdev-vfio' into qemuargv2xmltest to validate this function.
The case related to QEMU_CAPS_HOST_PCI_MULTIDOMAIN which uses
'-device
Signed-off-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
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
index e6acced
QEMU ppce500 board uses the legacy -serial option.
Other PPC boards don't give any way to explicitly wire in a -chardev
except pseries which uses -device spapr-vty with -chardev.
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/qemu/qemu_capabilities.c | 9 -
1 file changed
ppce500v2 is not machine supported by official release of QEMU.
It should be replaced by ppce500.
---
docs/schemas/domaincommon.rng| 2 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args | 2 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml | 2 +-
tests/testutilsqemu.c
Machine name ppce500 is used to replace ppce500v2 supported by QEMU.
QEMU ppce500 board uses the legacy -serial option.
Test case ppce500-serial is used to verify this change.
Olivia Yin (3):
change machine name ppce500v2 as ppce500
qemu: Fix specifying char devs for PPC
tests: add test
---
.../qemuxml2argv-ppce500-serial.args | 7 ++
.../qemuxml2argv-ppce500-serial.xml| 26 ++
tests/qemuxml2argvtest.c | 1 +
3 files changed, 34 insertions(+)
create mode 100644
QEMU ppce500 board uses the old style -serial options.
Other PPC boards don't give any way to explicitly wire in a -chardev
except pseries which uses -device spapr-vty with -chardev.
---
src/qemu/qemu_capabilities.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git
---
docs/schemas/domaincommon.rng| 2 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args | 2 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml | 2 +-
tests/testutilsqemu.c| 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git
---
.../qemuxml2argv-ppce500-serial.args | 7 ++
.../qemuxml2argv-ppce500-serial.xml| 26 ++
tests/qemuxml2argvtest.c | 1 +
3 files changed, 34 insertions(+)
create mode 100644
Machine name ppce500 is used to replace ppce500v2 supported by QEMU.
QEMU ppce500 board uses the old style -serial options.
Test case ppce500-serial is used to verify this change.
Olivia Yin (3):
change machine name ppce500v2 as ppce500
qemu: Fix specifying char devs for PPC
tests: add test
QEMU ppce500 board uses the old style -serial options.
Other PPC boards don't give any way to explicitly wire in a -chardev
except pseries which uses -device spapr-vty with -chardev.
---
src/qemu/qemu_capabilities.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git
large for
defined data type
virSysinfoRead: internal error Failed to open /proc/cpuinfo
So this patch increases the maxlen of cpuinfo for PowerPC architecture.
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/util/virsysinfo.c | 6 +++---
src/util/virsysinfo.h | 2 ++
2 files changed
'pp': Value too large for defined data type
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
Failed to open /proc/cpuinfo
This patch defines CPUINFO_FILE_LEN as 10KB which is enough for most
architectures.
Signed-off-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
---
docs/schemas/domaincommon.rng| 2 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args | 2 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml | 2 +-
tests/testutilsqemu.c| 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git
---
src/rpc/virnetserverclient.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/rpc/virnetserverclient.c b/src/rpc/virnetserverclient.c
index d407f5e..58fb0b4 100644
--- a/src/rpc/virnetserverclient.c
+++ b/src/rpc/virnetserverclient.c
@@ -687,6 +687,7 @@
Since v1.1 QEMU provides -dtb option to support loading device tree binary
images.
These patches update qemu commands/capabilities for dtb and provide docs/tests.
Olivia Yin (3):
conf: support dtb tag in XML domain file
qemu: add dtb option supprt
selinux: deal with dtb file
docs
The dtb option sets the filename for the device tree.
If without this option support, -dtb file will be converted into
qemu:commandline in domain XML file.
For example, '-dtb /media/ram/test.dtb' will be converted into
qemu:commandline
qemu:arg value='-dtb'/
qemu:arg
Sometime QEMU need load specific device tree binary images.
These patches provide -dtb option support and update docs/tests.
Olivia Yin (2):
qemu: add support for dtb option
conf: Add support for dtb option in QEMU
src/qemu/qemu_capabilities.c |6
src/qemu
Signed-off-by: Olivia Yin hong-hua@freescale.com
The dtb option sets the filename for the device tree.
If without this option support, -dtb file will be converted into
qemu:commandline in domain XML file.
For example, '-dtb /media/ram/test.dtb' will be converted into
qemu:commandline
Signed-off-by: Olivia Yin hong-hua@freescale.com
This patch adds support to set the device trees file.
---
docs/formatdomain.html.in |5 +
docs/schemas/domaincommon.rng |5 +
src/conf/domain_conf.c|4
src/conf/domain_conf.h|1 +
4 files
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/qemu/qemu_capabilities.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 7bc1ebc..7d7791d 100644
--- a/src/qemu/qemu_capabilities.c
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/conf/domain_conf.c |4
src/conf/domain_conf.h |1 +
src/qemu/qemu_capabilities.c |3 +++
src/qemu/qemu_capabilities.h |1 +
src/qemu/qemu_command.c |6 ++
5 files changed, 15 insertions
Sometime qemu need load specific device tree binary image.
These patches provides -dtb option support and update docs/tests.
Olivia Yin (2):
QEMU: add -dtb option support
update documents and test cases for -dtb support
src/conf/domain_conf.c |4
src/conf
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
docs/formatdomain.html.in|5
docs/schemas/domaincommon.rng|5
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args |1 +
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml | 28
Sometime QEMU need load specific device tree binary images.
These patches provide -dtb option support and update docs/tests.
Olivia Yin (4):
QEMU: add -dtb option support
qemu: add dtb capability
docs: add -dtb option support to QEMU
tests: add dtb test case
src/conf/domain_conf.c
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args |1 +
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.xml | 28 ++
tests/qemuxml2argvtest.c |2 +
3 files changed, 31 insertions(+), 0
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/conf/domain_conf.c |4
src/conf/domain_conf.h |1 +
src/qemu/qemu_command.c |6 ++
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 995cf0c
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/qemu/qemu_capabilities.c |3 +++
src/qemu/qemu_capabilities.h |1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 40022c1..f6a6ab7 100644
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
docs/formatdomain.html.in |5 +
docs/schemas/domaincommon.rng |5 +
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 595f151..93b10ac 100644
Signed-off-by: Olivia Yin hong-hua@freescale.com
---
src/conf/domain_conf.c |4
src/conf/domain_conf.h |1 +
src/qemu/qemu_command.c |6 ++
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 0c75838
36 matches
Mail list logo