From: "Pradipta Kr. Banerjee" <bpradip(a)in.ibm.com>
Make virtio as the default net device for PPC64
Signed-off-by: Pradipta Kr. Banerjee <bpradip(a)in.ibm.com>
---
src/qemu/qemu_domain.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index e964c75..db36eff 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -790,7 +790,8 @@ static const char *
qemuDomainDefaultNetModel(const virDomainDef *def)
{
if (def->os.arch == VIR_ARCH_S390 ||
- def->os.arch == VIR_ARCH_S390X)
+ def->os.arch == VIR_ARCH_S390X ||
+ def->os.arch == VIR_ARCH_PPC64)
return "virtio";
if (def->os.arch == VIR_ARCH_ARMV7L) {
--
1.8.3.1