qemu/target/s390x/kvm-stub.c
<<
>>
Prefs
   1/*
   2 * QEMU KVM support -- s390x specific function stubs.
   3 *
   4 * Copyright (c) 2009 Ulrich Hecht
   5 *
   6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
   7 * See the COPYING file in the top-level directory.
   8 */
   9
  10#include "qemu/osdep.h"
  11#include "cpu.h"
  12#include "kvm_s390x.h"
  13
  14void kvm_s390_access_exception(S390CPU *cpu, uint16_t code, uint64_t te_code)
  15{
  16}
  17
  18int kvm_s390_mem_op(S390CPU *cpu, vaddr addr, uint8_t ar, void *hostbuf,
  19                    int len, bool is_write)
  20{
  21    return -ENOSYS;
  22}
  23
  24void kvm_s390_program_interrupt(S390CPU *cpu, uint16_t code)
  25{
  26}
  27
  28int kvm_s390_set_cpu_state(S390CPU *cpu, uint8_t cpu_state)
  29{
  30    return -ENOSYS;
  31}
  32
  33void kvm_s390_vcpu_interrupt_pre_save(S390CPU *cpu)
  34{
  35}
  36
  37int kvm_s390_vcpu_interrupt_post_load(S390CPU *cpu)
  38{
  39    return 0;
  40}
  41
  42int kvm_s390_get_ri(void)
  43{
  44    return 0;
  45}
  46
  47int kvm_s390_get_gs(void)
  48{
  49    return 0;
  50}
  51
  52int kvm_s390_get_clock(uint8_t *tod_high, uint64_t *tod_low)
  53{
  54    return -ENOSYS;
  55}
  56
  57int kvm_s390_get_clock_ext(uint8_t *tod_high, uint64_t *tod_low)
  58{
  59    return -ENOSYS;
  60}
  61
  62int kvm_s390_set_clock(uint8_t tod_high, uint64_t tod_low)
  63{
  64    return -ENOSYS;
  65}
  66
  67int kvm_s390_set_clock_ext(uint8_t tod_high, uint64_t tod_low)
  68{
  69    return -ENOSYS;
  70}
  71
  72void kvm_s390_enable_css_support(S390CPU *cpu)
  73{
  74}
  75
  76int kvm_s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch,
  77                                    int vq, bool assign)
  78{
  79    return -ENOSYS;
  80}
  81
  82void kvm_s390_cmma_reset(void)
  83{
  84}
  85
  86void kvm_s390_reset_vcpu(S390CPU *cpu)
  87{
  88}
  89
  90int kvm_s390_set_mem_limit(uint64_t new_limit, uint64_t *hw_limit)
  91{
  92    return 0;
  93}
  94
  95void kvm_s390_set_max_pagesize(uint64_t pagesize, Error **errp)
  96{
  97}
  98
  99void kvm_s390_crypto_reset(void)
 100{
 101}
 102
 103void kvm_s390_stop_interrupt(S390CPU *cpu)
 104{
 105}
 106
 107void kvm_s390_restart_interrupt(S390CPU *cpu)
 108{
 109}
 110