All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] KVM: fix AUDIT code
@ 2007-03-11 10:37 Ingo Molnar
       [not found] ` <20070311103758.GA24516-X9Un+BFzKDI@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2007-03-11 10:37 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel

From: Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>
Subject: [patch] KVM: fix AUDIT code

fix build bug with AUDIT defined. (it's off by default)

Signed-off-by: Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>

Index: linux/drivers/kvm/mmu.c
===================================================================
--- linux.orig/drivers/kvm/mmu.c
+++ linux/drivers/kvm/mmu.c
@@ -1410,7 +1410,7 @@ static void audit_mappings_page(struct k
 
 static 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] KVM: fix AUDIT code
       [not found] ` <20070311103758.GA24516-X9Un+BFzKDI@public.gmane.org>
@ 2007-03-11 10:41   ` Avi Kivity
       [not found]     ` <45F3DCBE.8010203-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2007-03-11 10:41 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kvm-devel

Ingo Molnar wrote:
> From: Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>
> Subject: [patch] KVM: fix AUDIT code
>
> fix build bug with AUDIT defined. (it's off by default)
>
> Signed-off-by: Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>
>
> Index: linux/drivers/kvm/mmu.c
> ===================================================================
> --- linux.orig/drivers/kvm/mmu.c
> +++ linux/drivers/kvm/mmu.c
> @@ -1410,7 +1410,7 @@ static void audit_mappings_page(struct k
>  
>  static 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?


-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] KVM: fix AUDIT code
       [not found]     ` <45F3DCBE.8010203-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-03-11 10:42       ` Ingo Molnar
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2007-03-11 10:42 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel


* Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:

> > static 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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-11 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-11 10:37 [patch] KVM: fix AUDIT code Ingo Molnar
     [not found] ` <20070311103758.GA24516-X9Un+BFzKDI@public.gmane.org>
2007-03-11 10:41   ` Avi Kivity
     [not found]     ` <45F3DCBE.8010203-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-11 10:42       ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.