]> git.proxmox.com Git - qemu.git/commit - kvm.h
provide a stub version of kvm-all.c if !CONFIG_KVM
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Apr 2010 18:59:30 +0000 (18:59 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 19 Apr 2010 18:59:30 +0000 (18:59 +0000)
commit98c8573eb37bf5d7bb0c07225985a78537c73101
treec709ea4646f51f34804bbf8de7dc1245254334b2
parentc66b5c2cb6bf5ab9869bf0739ff3cdf143ab778c
provide a stub version of kvm-all.c if !CONFIG_KVM

This allows limited use of kvm functions (which will return ENOSYS)
even in once-compiled modules.  The patch also improves a bit the error
messages for KVM initialization.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[blauwirbel@gmail.com: fixed Win32 build]
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Makefile.target
kvm-all.c
kvm-stub.c [new file with mode: 0644]
kvm.h
vl.c