/usr/share/apport/package-hooks/source_qemu-kvm.py is in qemu-common 1.0+noroms-0ubuntu13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | '''apport package hook for qemu-kvm
(c) 2009 Canonical Ltd.
Author: Dustin Kirkland <kirkland@canonical.com>
'''
from apport.hookutils import *
def add_info(report):
attach_hardware(report)
attach_related_packages(report, ['kvm*', '*libvirt*', 'virt-manager', 'qemu*'])
report['KvmCmdLine'] = command_output(['ps', '-C', 'kvm', '-F'])
|