summary refs log tree commit diff stats
path: root/hw/virtio-net.c
diff options
context:
space:
mode:
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>2012-10-29 02:13:20 +0000
committerAlexander Graf <agraf@suse.de>2012-10-29 19:41:55 +0100
commit1b3e6f88dc151578acb6158e22570cf3ee7cbb69 (patch)
tree1f3694aff150c9ea9332e0716c0d1af993063696 /hw/virtio-net.c
parent235a3f0bed3584fe65079ffa07c7a842971f261e (diff)
downloadfocaccia-qemu-1b3e6f88dc151578acb6158e22570cf3ee7cbb69.tar.gz
focaccia-qemu-1b3e6f88dc151578acb6158e22570cf3ee7cbb69.zip
s390/kvm_stat: correct sys_perf_event_open syscall number
Correct sys_perf_event_open syscall number for s390 architecture
   - the hardcoded syscall number 298 is for x86 but should
     be different for other architectures.
     In case we figure out via /proc/cpuinfo that we are running
     on s390 the appropriate syscall number is used from map
     syscall_numbers; other architectures can extend this.

Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions