KVM: PPC: Generic KVM PV guest support

We have all the hypervisor pieces in place now, but the guest parts are still
missing.

This patch implements basic awareness of KVM when running Linux as guest. It
doesn't do anything with it yet though.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Alexander Graf
2010-07-29 14:47:57 +02:00
committed by Avi Kivity
부모 ba49296236
커밋 d17051cb8d
5개의 변경된 파일65개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -30,6 +30,9 @@
#include <asm/cacheflush.h>
#include <asm/disassemble.h>
#define KVM_MAGIC_PAGE (-4096L)
#define magic_var(x) KVM_MAGIC_PAGE + offsetof(struct kvm_vcpu_arch_shared, x)
unsigned long kvm_hypercall(unsigned long *in,
unsigned long *out,
unsigned long nr)