aboutsummaryrefslogtreecommitdiff
path: root/scripts/checkstack.py
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-09-03 11:41:01 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-19 11:48:59 +0200
commitebfece8e85d18190846c622d540e8aa96303ca31 (patch)
treedb576e8a30b9618acdbf996c9597fae6627f0396 /scripts/checkstack.py
parentb367e0ab76f3ee77bb30371ab6b84553e6113aed (diff)
downloadseabios-ebfece8e85d18190846c622d540e8aa96303ca31.zip
seabios-ebfece8e85d18190846c622d540e8aa96303ca31.tar.gz
seabios-ebfece8e85d18190846c622d540e8aa96303ca31.tar.bz2
Add generic qemu detection
This patch adds support for detecting whenever SeaBIOS runs on qemu or not. This is done by looking at the northbridge (pci device 00:00.0) and check the subsystem id. Most pci devices emulated by qemu -- the two northbridges i440fx and q35 included -- have a subsystem id of "1af4:1100". In case the subsystem ID matches set PF_QEMU, log a message (including the northbridge found while being at it) and also check for kvm. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/checkstack.py')
0 files changed, 0 insertions, 0 deletions