Re: [PATCH v2 09/11] tests/captest: check RISC-V capabilities lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2018-06-14 at 22:32 +0200, Lubomir Rintel wrote:
> Signed-off-by: Lubomir Rintel <lkundrak@xxxxx>
> ---
>  tests/vircapstest.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/vircapstest.c b/tests/vircapstest.c
> index 1df3fa091f..e016e466d2 100644
> --- a/tests/vircapstest.c
> +++ b/tests/vircapstest.c
> @@ -180,6 +180,12 @@ test_virCapsDomainDataLookupQEMU(const void *data ATTRIBUTE_UNUSED)
>      CAPSCOMP(-1, VIR_ARCH_NONE, VIR_DOMAIN_VIRT_NONE, "/usr/bin/qemu-system-ppc64", NULL,
>          VIR_DOMAIN_OSTYPE_HVM, VIR_ARCH_PPC64,
>          VIR_DOMAIN_VIRT_QEMU, "/usr/bin/qemu-system-ppc64", "pseries");
> +    CAPSCOMP(-1, VIR_ARCH_RISCV32, VIR_DOMAIN_VIRT_NONE, NULL, NULL,
> +        VIR_DOMAIN_OSTYPE_HVM, VIR_ARCH_RISCV32,
> +        VIR_DOMAIN_VIRT_QEMU, "/usr/bin/qemu-system-riscv32", "spike_v1.10");
> +    CAPSCOMP(-1, VIR_ARCH_RISCV64, VIR_DOMAIN_VIRT_NONE, NULL, NULL,
> +        VIR_DOMAIN_OSTYPE_HVM, VIR_ARCH_RISCV64,
> +        VIR_DOMAIN_VIRT_QEMU, "/usr/bin/qemu-system-riscv64", "spike_v1.10");

So spike_v1.10 is the default machine type, uh?

That's a bummer, I would very much have preferred an Arm-style
situation where there is no default and you have to be explicit
instead... I guess that's out of our hands though :)

Looks good, just squash this one into 07/11 as well.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux