1 --- linux-2.6.22.2/include/linux/kvm_para.h.old 2007-08-10 00:28:15.000000000 +0300
2 +++ linux-2.6.22.2/include/linux/kvm_para.h 2008-07-10 17:11:30.000000000 +0300
4 * NOTE: all addresses are guest-physical addresses (gpa), to make it
5 * easier for the hypervisor to map between the various addresses.
9 +#define PAGE_SIZE (1UL << PAGE_SHIFT)
11 struct kvm_vcpu_para_state {
13 * API version information for compatibility. If there's any support
15 * is supposed to work - new host versions will support all old
22 + uint32_t guest_version;
23 + uint32_t host_version;
28 * The address of the vm exit instruction (VMCALL or VMMCALL),
29 * which the host will patch according to the CPU model the
33 + uint64_t hypercall_gpa;
35 } __attribute__ ((aligned(PAGE_SIZE)));