Re: [PATCH] Build fix for #define KVM_DEBUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/09/2010 08:40 AM, Tsuyoshi Ozawa wrote:
Build fix for #define KVM_DEBUG

If KVM_DEBUG is defined, the build for kvm_kmod is failed because :

1. is_long_mode() has moved to x86.h.
2. shadow_efer no longer exists.
3. The registers R8 - R15 don't exist on i386 architecture.

This patch fix this problem.


         VMCS_REG_DUMP(RSP);
         VMCS_REG_DUMP(RIP);
@@ -1088,7 +1091,6 @@ void sregs_dump(struct kvm_vcpu *vcpu)
         vcpu_printf(vcpu, "cr3 = 0x%lx\n", vcpu->arch.cr3);
         vcpu_printf(vcpu, "cr4 = 0x%lx\n", vcpu->arch.cr4);
         vcpu_printf(vcpu, "cr8 = 0x%lx\n", vcpu->arch.cr8);
-       vcpu_printf(vcpu, "shadow_efer = 0x%llx\n", vcpu->arch.shadow_efer);
         vcpu_printf(vcpu,

shadow_efer was renamed to efer, so this should be modified rather than deleted.

--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux