On 01/19/2010 02:50 PM, Gleb Natapov wrote:

This should fix it:

Unrelated, but important:

Signed-off-by: Gleb Natapov<[email protected]>
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 47c6e23..147bda7 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3807,11 +3807,11 @@ int kvm_hv_hypercall(struct kvm_vcpu *vcpu)
        longmode = is_long_mode(vcpu)&&  cs_l == 1;

        if (!longmode) {
-               param = (kvm_register_read(vcpu, VCPU_REGS_RDX)<<  32) |
+               param = ((u64)kvm_register_read(vcpu, VCPU_REGS_RDX)<<  32) |
                        (kvm_register_read(vcpu, VCPU_REGS_RAX)&  0xffffff);

This seems to be written for a 24-bit machine...

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to