qemu/scripts/kvm
Hemant Kumar 5a908cb1a8 tools: kvm_stat: Powerpc related fixes
kvm_stat script is failing to execute on powerpc :
 # ./kvm_stat
Traceback (most recent call last):
  File "./kvm_stat", line 825, in <module>
    main()
  File "./kvm_stat", line 813, in main
    providers = get_providers(options)
  File "./kvm_stat", line 778, in get_providers
    providers.append(TracepointProvider())
  File "./kvm_stat", line 416, in __init__
    self.filters = get_filters()
  File "./kvm_stat", line 315, in get_filters
    if ARCH.exit_reasons:
AttributeError: 'ArchPPC' object has no attribute 'exit_reasons'

This is because, its trying to access a non-defined attribute.

Also, the IOCTL number of RESET is incorrect for powerpc. The correct
number has been added.

Signed-off-by: Hemant Kumar <hemant@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* cherry-picked from linux commit c7d4fb5a
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-08-04 16:23:35 -05:00
..
kvm_flightrecorder kvm: add flightrecorder script 2012-04-12 19:01:41 -03:00
kvm_stat tools: kvm_stat: Powerpc related fixes 2016-08-04 16:23:35 -05:00
kvm_stat.texi kvm_stat: add kvm_stat.1 man page 2015-03-10 10:49:25 +01:00
vmxcap vmxcap: Update according to SDM of September 2014 2014-09-26 21:08:56 +04:00