kvm-s390.c (c0d744a9c8aae81b624e0650e6fbbbb83db1a145) kvm-s390.c (d6b6d166864fa97ca3b1ed1a5c62fd3b53d4606f)
1/*
2 * s390host.c -- hosting zSeries kernel virtual machines
3 *
4 * Copyright IBM Corp. 2008,2009
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.

--- 491 unchanged lines hidden (view full) ---

500 memcpy(&vcpu->arch.sie_block->gg14, &vcpu->arch.guest_gprs[14], 16);
501
502 if (need_resched())
503 schedule();
504
505 if (test_thread_flag(TIF_MCCK_PENDING))
506 s390_handle_mcck();
507
1/*
2 * s390host.c -- hosting zSeries kernel virtual machines
3 *
4 * Copyright IBM Corp. 2008,2009
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.

--- 491 unchanged lines hidden (view full) ---

500 memcpy(&vcpu->arch.sie_block->gg14, &vcpu->arch.guest_gprs[14], 16);
501
502 if (need_resched())
503 schedule();
504
505 if (test_thread_flag(TIF_MCCK_PENDING))
506 s390_handle_mcck();
507
508 kvm_s390_deliver_pending_interrupts(vcpu);
508 if (!kvm_is_ucontrol(vcpu->kvm))
509 kvm_s390_deliver_pending_interrupts(vcpu);
509
510 vcpu->arch.sie_block->icptcode = 0;
511 local_irq_disable();
512 kvm_guest_enter();
513 local_irq_enable();
514 VCPU_EVENT(vcpu, 6, "entering sie flags %x",
515 atomic_read(&vcpu->arch.sie_block->cpuflags));
516 rc = sie64a(vcpu->arch.sie_block, vcpu->arch.guest_gprs);

--- 347 unchanged lines hidden ---
510
511 vcpu->arch.sie_block->icptcode = 0;
512 local_irq_disable();
513 kvm_guest_enter();
514 local_irq_enable();
515 VCPU_EVENT(vcpu, 6, "entering sie flags %x",
516 atomic_read(&vcpu->arch.sie_block->cpuflags));
517 rc = sie64a(vcpu->arch.sie_block, vcpu->arch.guest_gprs);

--- 347 unchanged lines hidden ---