KVM: fix AUDIT code
PATCH 1/1 KVM: fix AUDIT code
From: Ingo Molnar <[email protected]>
Subject: [patch] KVM: fix AUDIT code
fix build bug with AUDIT defined. (it's off by default)
drivers/kvm/mmu.c +1 -1
@@ -1410,7 +1410,7 @@ static void audit_mappings_page(struct kstatic void audit_mappings (struct kvm_vcpu *vcpu) { -unsigned i; +unsigned i, j;if (vcpu->mmu.root_level ==4 ) {audit_mappings_page (vcpu, vcpu->mmu.root_hpa,0 ,4 );
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · Ingo Molnar
From: Ingo Molnar <[email protected]>
Subject: [patch] KVM: fix AUDIT codefix build bug with AUDIT defined. (it's off by default)
Signed-off-by Ingo Molnar <[email protected]>Index:
linux/drivers/kvm/mmu.c
===================================================================
drivers/kvm/mmu.c static void audit_mappings_page(struct k · line 1416
Quoted 8 lines
drivers/kvm/mmu.c +1
-1@@ -1410,7 +1410,7 @@ static void audit_mappings_page(struct kstatic void audit_mappings (struct kvm_vcpu *vcpu) { -unsigned i; +unsigned i, j;if (vcpu->mmu.root_level ==4 ) {audit_mappings_page (vcpu, vcpu->mmu.root_hpa,0 ,4 );
My audit_mappings() doesn't have a j. Is this a cr3 cache tree?
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 45F3DCBE.8010203-atKUWr5tajBWk0Htik3J/[email protected]
Quoted 10 lines · Avi Kivity
Quoted 8 lines
static void
audit_mappings(struct kvm_vcpu *vcpu)
{drivers/kvm/mmu.c +1
-1-unsigned i; +unsigned i, j;if (vcpu->mmu.root_level == 4) { audit_mappings_page(vcpu, vcpu->mmu.root_hpa, 0, 4);My
audit_mappings()doesn't have a j. Is this a cr3 cache tree?
ah, indeed. Sorry about the noise :)
Ingo
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV