Carsten Otte fa5877439d s390: KVM guest: detect when running on kvm
This patch adds functionality to detect if the kernel runs under the KVM
hypervisor. A macro MACHINE_IS_KVM is exported for device drivers. This
allows drivers to skip device detection if the systems runs non-virtualized.
We also define a preferred console to avoid having the ttyS0, which is a line
mode only console.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 12:00:50 +03:00
..
2007-05-09 12:30:56 -07:00
2008-02-09 18:24:41 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-04-17 07:47:06 +02:00
2008-01-26 14:11:10 +01:00
2007-07-29 17:09:29 -07:00
2008-04-17 07:47:06 +02:00
2008-04-17 07:47:06 +02:00
2007-03-05 23:35:45 +01:00
2007-04-27 16:01:42 +02:00
2008-04-17 07:47:06 +02:00
2008-04-17 10:42:34 -04:00
2008-04-17 07:47:06 +02:00
2008-04-17 07:47:06 +02:00
2008-02-05 16:50:59 +01:00
2008-04-17 07:47:06 +02:00
2008-04-17 07:47:01 +02:00
2008-02-05 16:50:55 +01:00