kvm-s390.c (fa576c583d877d667d9acaed909a3dfc6b03e138) kvm-s390.c (4953919feedaeb6d0161ecea920c35d1d1f639d3)
1/*
2 * 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.

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

628 CPUSTAT_SM |
629 CPUSTAT_STOPPED |
630 CPUSTAT_GED);
631 vcpu->arch.sie_block->ecb = 6;
632 if (test_vfacility(50) && test_vfacility(73))
633 vcpu->arch.sie_block->ecb |= 0x10;
634
635 vcpu->arch.sie_block->ecb2 = 8;
1/*
2 * 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.

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

628 CPUSTAT_SM |
629 CPUSTAT_STOPPED |
630 CPUSTAT_GED);
631 vcpu->arch.sie_block->ecb = 6;
632 if (test_vfacility(50) && test_vfacility(73))
633 vcpu->arch.sie_block->ecb |= 0x10;
634
635 vcpu->arch.sie_block->ecb2 = 8;
636 vcpu->arch.sie_block->eca = 0xC1002000U;
636 vcpu->arch.sie_block->eca = 0xD1002000U;
637 if (sclp_has_siif())
638 vcpu->arch.sie_block->eca |= 1;
639 vcpu->arch.sie_block->fac = (int) (long) vfacilities;
640 vcpu->arch.sie_block->ictl |= ICTL_ISKE | ICTL_SSKE | ICTL_RRBE;
641 if (kvm_s390_cmma_enabled(vcpu->kvm)) {
642 rc = kvm_s390_vcpu_setup_cmma(vcpu);
643 if (rc)
644 return rc;

--- 1118 unchanged lines hidden ---
637 if (sclp_has_siif())
638 vcpu->arch.sie_block->eca |= 1;
639 vcpu->arch.sie_block->fac = (int) (long) vfacilities;
640 vcpu->arch.sie_block->ictl |= ICTL_ISKE | ICTL_SSKE | ICTL_RRBE;
641 if (kvm_s390_cmma_enabled(vcpu->kvm)) {
642 rc = kvm_s390_vcpu_setup_cmma(vcpu);
643 if (rc)
644 return rc;

--- 1118 unchanged lines hidden ---