Diff for /qemu/kvm-stub.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 18:55:29 version 1.1.1.4, 2018/04/24 19:33:22
Line 16 Line 16
 #include "gdbstub.h"  #include "gdbstub.h"
 #include "kvm.h"  #include "kvm.h"
   
 int kvm_irqchip_in_kernel(void)  int kvm_init_vcpu(CPUArchState *env)
 {  
     return 0;  
 }  
   
 int kvm_pit_in_kernel(void)  
 {  
     return 0;  
 }  
   
   
 int kvm_init_vcpu(CPUState *env)  
 {  {
     return -ENOSYS;      return -ENOSYS;
 }  }
Line 51  void kvm_flush_coalesced_mmio_buffer(voi Line 40  void kvm_flush_coalesced_mmio_buffer(voi
 {  {
 }  }
   
 void kvm_cpu_synchronize_state(CPUState *env)  void kvm_cpu_synchronize_state(CPUArchState *env)
 {  {
 }  }
   
 void kvm_cpu_synchronize_post_reset(CPUState *env)  void kvm_cpu_synchronize_post_reset(CPUArchState *env)
 {  {
 }  }
   
 void kvm_cpu_synchronize_post_init(CPUState *env)  void kvm_cpu_synchronize_post_init(CPUArchState *env)
 {  {
 }  }
   
 int kvm_cpu_exec(CPUState *env)  int kvm_cpu_exec(CPUArchState *env)
 {  {
     abort ();      abort ();
 }  }
Line 78  int kvm_has_many_ioeventfds(void) Line 67  int kvm_has_many_ioeventfds(void)
     return 0;      return 0;
 }  }
   
   int kvm_allows_irq0_override(void)
   {
       return 1;
   }
   
   int kvm_has_pit_state2(void)
   {
       return 0;
   }
   
 void kvm_setup_guest_memory(void *start, size_t size)  void kvm_setup_guest_memory(void *start, size_t size)
 {  {
 }  }
   
 int kvm_update_guest_debug(CPUState *env, unsigned long reinject_trap)  int kvm_update_guest_debug(CPUArchState *env, unsigned long reinject_trap)
 {  {
     return -ENOSYS;      return -ENOSYS;
 }  }
   
 int kvm_insert_breakpoint(CPUState *current_env, target_ulong addr,  int kvm_insert_breakpoint(CPUArchState *current_env, target_ulong addr,
                           target_ulong len, int type)                            target_ulong len, int type)
 {  {
     return -EINVAL;      return -EINVAL;
 }  }
   
 int kvm_remove_breakpoint(CPUState *current_env, target_ulong addr,  int kvm_remove_breakpoint(CPUArchState *current_env, target_ulong addr,
                           target_ulong len, int type)                            target_ulong len, int type)
 {  {
     return -EINVAL;      return -EINVAL;
 }  }
   
 void kvm_remove_all_breakpoints(CPUState *current_env)  void kvm_remove_all_breakpoints(CPUArchState *current_env)
 {  {
 }  }
   
 #ifndef _WIN32  #ifndef _WIN32
 int kvm_set_signal_mask(CPUState *env, const sigset_t *sigset)  int kvm_set_signal_mask(CPUArchState *env, const sigset_t *sigset)
 {  {
     abort();      abort();
 }  }
Line 115  int kvm_set_ioeventfd_pio_word(int fd, u Line 114  int kvm_set_ioeventfd_pio_word(int fd, u
     return -ENOSYS;      return -ENOSYS;
 }  }
   
 int kvm_set_ioeventfd_mmio_long(int fd, uint32_t adr, uint32_t val, bool assign)  int kvm_set_ioeventfd_mmio(int fd, uint32_t adr, uint32_t val, bool assign, uint32_t len)
 {  {
     return -ENOSYS;      return -ENOSYS;
 }  }
   
 int kvm_on_sigbus_vcpu(CPUState *env, int code, void *addr)  int kvm_on_sigbus_vcpu(CPUArchState *env, int code, void *addr)
 {  {
     return 1;      return 1;
 }  }

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com