updated .gitignore
[kvm-coreboot.git] / packages / kernel / patches / kvm.patch
blobe91bb95ab30230a4fe0157a563d3fb59406c16b4
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
3 @@ -16,6 +16,10 @@
4 * NOTE: all addresses are guest-physical addresses (gpa), to make it
5 * easier for the hypervisor to map between the various addresses.
6 */
8 +#define PAGE_SHIFT 12
9 +#define PAGE_SIZE (1UL << PAGE_SHIFT)
11 struct kvm_vcpu_para_state {
13 * API version information for compatibility. If there's any support
14 @@ -25,17 +29,17 @@
15 * is supposed to work - new host versions will support all old
16 * guest API versions.
18 - u32 guest_version;
19 - u32 host_version;
20 - u32 size;
21 - u32 ret;
22 + uint32_t guest_version;
23 + uint32_t host_version;
24 + uint32_t size;
25 + uint32_t ret;
28 * The address of the vm exit instruction (VMCALL or VMMCALL),
29 * which the host will patch according to the CPU model the
30 * VM runs on:
32 - u64 hypercall_gpa;
33 + uint64_t hypercall_gpa;
35 } __attribute__ ((aligned(PAGE_SIZE)));