With a few exceptions, we assume that qemu binary for given
architecture has form of qemu-system-$arch. Well, openrisc is yet
another exception. It's binary is called qemu-system-or32.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
return VIR_ARCH_I686;
if (STREQ(arch, "arm"))
return VIR_ARCH_ARMV7L;
+ if (STREQ(arch, "or32"))
+ return VIR_ARCH_OR32;
return virArchFromString(arch);
}
return "i386";
else if (arch == VIR_ARCH_ARMV7L)
return "arm";
+ else if (arch == VIR_ARCH_OR32)
+ return "or32";
return virArchToString(arch);
}