Skip to contentSkip to conversation

x86/lapic: remove unwanted debugging messages

PATCH In review Paolo Bonzini 2 participants 3 messages Sep 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/lapic: remove unwanted debugging messages

/me hides in the corner...

---
 hw/i386/kvm/apic.c | 1 -
 1 file changed, 1 deletion(-)
hw/i386/kvm/apic.c +0 -1
index 5d140b9..feb0002 100644
@@ -141,7 +141,6 @@ static void kvm_apic_put(void *data)
 
 static void kvm_apic_post_load(APICCommonState *s)
 {
-    fprintf(stderr, "%s: Yeh\n", __func__);
     run_on_cpu(CPU(s->cpu), kvm_apic_put, s);
 }
 
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 13 lines · * Paolo Bonzini ([email protected]) wrote:

/me hides in the corner...

---
 hw/i386/kvm/apic.c | 1 -
 1 file changed, 1 deletion(-)
hw/i386/kvm/apic.c +0 -0
index 5d140b9..feb0002 100644

hw/i386/kvm/apic.c static void kvm_apic_put(void *data) · line 145

Quoted 6 lines
hw/i386/kvm/apic.c +0 -1
@@ -141,7 +141,6 @@ static void kvm_apic_put(void *data)
 
 static void kvm_apic_post_load(APICCommonState *s)
 {
-    fprintf(stderr, "%s: Yeh\n", __func__);
     run_on_cpu(CPU(s->cpu), kvm_apic_put, s);
 }

Hmm, I think you picked up the debug version we exchanged privately rather than the one I actually posted which I'd excised the debug from:
https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg02658.html

I think the only other change was that the one I posted I'd reformatted kvm_put_apic_state so it wasn't 81 characters long.

Dave

Quoted 4 lines
Signature · 2 lines
-- 
1.8.3.1

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

#2 lore raw
Quoted 24 lines · Dr. David Alan Gilbert
Quoted 13 lines · * Paolo Bonzini ([email protected]) wrote:

/me hides in the corner...

---
 hw/i386/kvm/apic.c | 1 -
 1 file changed, 1 deletion(-)
hw/i386/kvm/apic.c +0 -0
index 5d140b9..feb0002 100644

hw/i386/kvm/apic.c static void kvm_apic_put(void *data) · line 145

Quoted 6 lines
hw/i386/kvm/apic.c +0 -1
@@ -141,7 +141,6 @@ static void kvm_apic_put(void *data)
 
 static void kvm_apic_post_load(APICCommonState *s)
 {
-    fprintf(stderr, "%s: Yeh\n", __func__);
     run_on_cpu(CPU(s->cpu), kvm_apic_put, s);
 }

Hmm, I think you picked up the debug version we exchanged privately rather than the one I actually posted which I'd excised the debug from:

Quoted 4 lines
   https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg02658.html

I think the only other change was that the one I posted I'd reformatted kvm_put_apic_state so it wasn't 81 characters long.

Yes, I did. It's me who hides in the corner, not you. :)

Paolo

Quoted 10 lines

Dave

Quoted 4 lines
Signature · 2 lines
-- 
1.8.3.1

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK