kvm-s390.c (0ff318674503ce3787ef62d84f4d948db204b268) | kvm-s390.c (1f0d0f094df9a570dfc26d5eb825986b7e165e1d) |
---|---|
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. --- 429 unchanged lines hidden (view full) --- 438 kvm_s390_deliver_pending_interrupts(vcpu); 439 440 vcpu->arch.sie_block->icptcode = 0; 441 local_irq_disable(); 442 kvm_guest_enter(); 443 local_irq_enable(); 444 VCPU_EVENT(vcpu, 6, "entering sie flags %x", 445 atomic_read(&vcpu->arch.sie_block->cpuflags)); | 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. --- 429 unchanged lines hidden (view full) --- 438 kvm_s390_deliver_pending_interrupts(vcpu); 439 440 vcpu->arch.sie_block->icptcode = 0; 441 local_irq_disable(); 442 kvm_guest_enter(); 443 local_irq_enable(); 444 VCPU_EVENT(vcpu, 6, "entering sie flags %x", 445 atomic_read(&vcpu->arch.sie_block->cpuflags)); |
446 sie64a(vcpu->arch.sie_block, vcpu->arch.guest_gprs); | 446 if (sie64a(vcpu->arch.sie_block, vcpu->arch.guest_gprs)) { 447 VCPU_EVENT(vcpu, 3, "%s", "fault in sie instruction"); 448 kvm_s390_inject_program_int(vcpu, PGM_ADDRESSING); 449 } |
447 VCPU_EVENT(vcpu, 6, "exit sie icptcode %d", 448 vcpu->arch.sie_block->icptcode); 449 local_irq_disable(); 450 kvm_guest_exit(); 451 local_irq_enable(); 452 453 memcpy(&vcpu->arch.guest_gprs[14], &vcpu->arch.sie_block->gg14, 16); 454} --- 234 unchanged lines hidden --- | 450 VCPU_EVENT(vcpu, 6, "exit sie icptcode %d", 451 vcpu->arch.sie_block->icptcode); 452 local_irq_disable(); 453 kvm_guest_exit(); 454 local_irq_enable(); 455 456 memcpy(&vcpu->arch.guest_gprs[14], &vcpu->arch.sie_block->gg14, 16); 457} --- 234 unchanged lines hidden --- |