Add QEMU/KVM detection for ACPI-boot ARM
[virt-what.git] / virt-what.in
index a5ed33e..697595c 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh -
 # @configure_input@
-# Copyright (C) 2008-2011 Red Hat Inc.
+# Copyright (C) 2008-2015 Red Hat Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -264,6 +264,11 @@ if ! "$skip_qemu_kvm"; then
             # using KVM acceleration or not.
             echo qemu
             skip_lkvm=true
+        elif echo "$dmi" | grep -q 'Manufacturer: QEMU'; then
+            # We don't have enough information to determine if we're
+            # using KVM acceleration or not.
+            echo qemu
+            skip_lkvm=true
         fi
     else
         # XXX This is known to fail for qemu with the explicit -cpu