[libvirt] [PATCH 2/2] Tests : Add test for 'ppc64le' architecture.

Ján Tomko jtomko at redhat.com
Wed Mar 4 15:58:47 UTC 2015


On Thu, Feb 26, 2015 at 10:45:54PM +0530, Prerna Saxena wrote:
> Tests : Add test for 'ppc64le' architecture.
> 
> Signed-off-by: Prerna Saxena <prerna at linux.vnet.ibm.com>
> ---
>  .../qemuxml2argv-pseries-cpu-le.args               |  7 +++++
>  .../qemuxml2argv-pseries-cpu-le.xml                | 17 ++++++++++++
>  tests/qemuxml2argvtest.c                           |  2 ++
>  tests/testutilsqemu.c                              | 30 ++++++++++++++++++++++
>  4 files changed, 56 insertions(+)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-le.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-le.xml
> 
> diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-le.args b/tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-le.args
> new file mode 100644
> index 0000000..f4f8d5e
> --- /dev/null
> +++ b/tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-le.args
> @@ -0,0 +1,7 @@
> +LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
> +QEMU_AUDIO_DRV=none /usr/bin/qemu-system-ppc64 -S -M pseries \
> +-m 512 -smp 1 -nographic -nodefconfig -nodefaults \
> +-chardev socket,id=charmonitor,path=/tmp/test-monitor,server,nowait \
> +-mon chardev=charmonitor,id=monitor,mode=readline -no-acpi -boot c -usb \
> +-chardev pty,id=charserial0 \
> +-device spapr-vty,chardev=charserial0,reg=0x30000000

I don't see any reference to little endian on the command line.

If the domain can only use the same endianness as the host system, do we
need to check if the guest arch matches the host arch somewhere?

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150304/96333473/attachment-0001.sig>


More information about the libvir-list mailing list