diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 18:36:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 18:36:00 -0400 |
commit | 08d19f51f05a68ce89a289320ce4ed96e757df72 (patch) | |
tree | 31c5d718d0aeaff5083fe533cd6e1f9fbbe846bb /arch/s390 | |
parent | 1c95e1b69073cff5ff179e592fa1a1e182c78a17 (diff) | |
parent | 2381ad241d0bea1253a37f314b270848067640bb (diff) |
Merge branch 'kvm-updates/2.6.28' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
* 'kvm-updates/2.6.28' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm: (134 commits)
KVM: ia64: Add intel iommu support for guests.
KVM: ia64: add directed mmio range support for kvm guests
KVM: ia64: Make pmt table be able to hold physical mmio entries.
KVM: Move irqchip_in_kernel() from ioapic.h to irq.h
KVM: Separate irq ack notification out of arch/x86/kvm/irq.c
KVM: Change is_mmio_pfn to kvm_is_mmio_pfn, and make it common for all archs
KVM: Move device assignment logic to common code
KVM: Device Assignment: Move vtd.c from arch/x86/kvm/ to virt/kvm/
KVM: VMX: enable invlpg exiting if EPT is disabled
KVM: x86: Silence various LAPIC-related host kernel messages
KVM: Device Assignment: Map mmio pages into VT-d page table
KVM: PIC: enhance IPI avoidance
KVM: MMU: add "oos_shadow" parameter to disable oos
KVM: MMU: speed up mmu_unsync_walk
KVM: MMU: out of sync shadow core
KVM: MMU: mmu_convert_notrap helper
KVM: MMU: awareness of new kvm_mmu_zap_page behaviour
KVM: MMU: mmu_parent_walk
KVM: x86: trap invlpg
KVM: MMU: sync roots on mmu reload
...
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/Kconfig | 7 | ||||
-rw-r--r-- | arch/s390/kvm/priv.c | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 4c03049e7db9..bc581d8a7cd9 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -565,13 +565,16 @@ config ZFCPDUMP | |||
565 | Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this. | 565 | Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this. |
566 | 566 | ||
567 | config S390_GUEST | 567 | config S390_GUEST |
568 | bool "s390 guest support (EXPERIMENTAL)" | 568 | bool "s390 guest support for KVM (EXPERIMENTAL)" |
569 | depends on 64BIT && EXPERIMENTAL | 569 | depends on 64BIT && EXPERIMENTAL |
570 | select VIRTIO | 570 | select VIRTIO |
571 | select VIRTIO_RING | 571 | select VIRTIO_RING |
572 | select VIRTIO_CONSOLE | 572 | select VIRTIO_CONSOLE |
573 | help | 573 | help |
574 | Select this option if you want to run the kernel under s390 linux | 574 | Select this option if you want to run the kernel as a guest under |
575 | the KVM hypervisor. This will add detection for KVM as well as a | ||
576 | virtio transport. If KVM is detected, the virtio console will be | ||
577 | the default console. | ||
575 | endmenu | 578 | endmenu |
576 | 579 | ||
577 | source "net/Kconfig" | 580 | source "net/Kconfig" |
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c index d1faf5c54405..cce40ff2913b 100644 --- a/arch/s390/kvm/priv.c +++ b/arch/s390/kvm/priv.c | |||
@@ -157,8 +157,8 @@ static int handle_stfl(struct kvm_vcpu *vcpu) | |||
157 | int rc; | 157 | int rc; |
158 | 158 | ||
159 | vcpu->stat.instruction_stfl++; | 159 | vcpu->stat.instruction_stfl++; |
160 | facility_list &= ~(1UL<<24); /* no stfle */ | 160 | /* only pass the facility bits, which we can handle */ |
161 | facility_list &= ~(1UL<<23); /* no large pages */ | 161 | facility_list &= 0xfe00fff3; |
162 | 162 | ||
163 | rc = copy_to_guest(vcpu, offsetof(struct _lowcore, stfl_fac_list), | 163 | rc = copy_to_guest(vcpu, offsetof(struct _lowcore, stfl_fac_list), |
164 | &facility_list, sizeof(facility_list)); | 164 | &facility_list, sizeof(facility_list)); |