kvm-s390.c (d0bfb940ecabf0b44fb1fd80d8d60594e569e5ec) | kvm-s390.c (92e6ecf392fac3082653ac9d84b1bdf53d0ea160) |
---|---|
1/* 2 * s390host.c -- hosting zSeries kernel virtual machines 3 * 4 * Copyright IBM Corp. 2008 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License (version 2 only) 8 * as published by the Free Software Foundation. --- 272 unchanged lines hidden (view full) --- 281 vcpu->kvm->arch.guest_origin + 282 VIRTIODESCSPACE - 1ul; 283 vcpu->arch.sie_block->gmsor = vcpu->kvm->arch.guest_origin; 284 vcpu->arch.sie_block->ecb = 2; 285 vcpu->arch.sie_block->eca = 0xC1002001U; 286 setup_timer(&vcpu->arch.ckc_timer, kvm_s390_idle_wakeup, 287 (unsigned long) vcpu); 288 get_cpu_id(&vcpu->arch.cpu_id); | 1/* 2 * s390host.c -- hosting zSeries kernel virtual machines 3 * 4 * Copyright IBM Corp. 2008 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License (version 2 only) 8 * as published by the Free Software Foundation. --- 272 unchanged lines hidden (view full) --- 281 vcpu->kvm->arch.guest_origin + 282 VIRTIODESCSPACE - 1ul; 283 vcpu->arch.sie_block->gmsor = vcpu->kvm->arch.guest_origin; 284 vcpu->arch.sie_block->ecb = 2; 285 vcpu->arch.sie_block->eca = 0xC1002001U; 286 setup_timer(&vcpu->arch.ckc_timer, kvm_s390_idle_wakeup, 287 (unsigned long) vcpu); 288 get_cpu_id(&vcpu->arch.cpu_id); |
289 vcpu->arch.cpu_id.version = 0xfe; | 289 vcpu->arch.cpu_id.version = 0xff; |
290 return 0; 291} 292 293struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, 294 unsigned int id) 295{ 296 struct kvm_vcpu *vcpu = kzalloc(sizeof(struct kvm_vcpu), GFP_KERNEL); 297 int rc = -ENOMEM; --- 119 unchanged lines hidden (view full) --- 417} 418 419int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, 420 struct kvm_translation *tr) 421{ 422 return -EINVAL; /* not implemented yet */ 423} 424 | 290 return 0; 291} 292 293struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, 294 unsigned int id) 295{ 296 struct kvm_vcpu *vcpu = kzalloc(sizeof(struct kvm_vcpu), GFP_KERNEL); 297 int rc = -ENOMEM; --- 119 unchanged lines hidden (view full) --- 417} 418 419int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, 420 struct kvm_translation *tr) 421{ 422 return -EINVAL; /* not implemented yet */ 423} 424 |
425int kvm_arch_vcpu_ioctl_set_guest_debug(struct kvm_vcpu *vcpu, 426 struct kvm_guest_debug *dbg) | 425int kvm_arch_vcpu_ioctl_debug_guest(struct kvm_vcpu *vcpu, 426 struct kvm_debug_guest *dbg) |
427{ 428 return -EINVAL; /* not implemented yet */ 429} 430 431int kvm_arch_vcpu_ioctl_get_mpstate(struct kvm_vcpu *vcpu, 432 struct kvm_mp_state *mp_state) 433{ 434 return -EINVAL; /* not implemented yet */ --- 278 unchanged lines hidden --- | 427{ 428 return -EINVAL; /* not implemented yet */ 429} 430 431int kvm_arch_vcpu_ioctl_get_mpstate(struct kvm_vcpu *vcpu, 432 struct kvm_mp_state *mp_state) 433{ 434 return -EINVAL; /* not implemented yet */ --- 278 unchanged lines hidden --- |