Detect KVM property when running on POWER (RHBZ#1455676).
authorThomas Huth <thuth@redhat.com>
Thu, 29 Jun 2017 10:27:42 +0000 (11:27 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 29 Jun 2017 10:27:42 +0000 (11:27 +0100)
commit50153230d19401fe47fcfd19d7ca0a2623c1ff09
tree4b75f7bf9d2d89a955ccf2b96b4333d8b8bf24af
parent516a3554c2f018e18f0b51e6e4a035f029e64543
Detect KVM property when running on POWER (RHBZ#1455676).

QEMU on ppc64 adds an additional property in the device tree if
running with KVM, so you could check that property for the string
"linux,kvm" to see if KVM is enabled:

0000000: 6c69 6e75 782c 6b76 6d00                 linux,kvm.
virt-what.in