fix some printf errors when debug is enabled
PATCH 1/1 fix some printf errors when debug is enabled
--- cputlb.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
cputlb.c +2 -2
@@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,#if defined(DEBUG_TLB )printf ("tlb_set_page: vaddr=" TARGET_FMT_lx" paddr=0x" TARGET_FMT_plx -" prot=%x idx=%d pd=0x%08lx\n" , - vaddr, paddr, prot, mmu_idx, pd); +" prot=%x idx=%d\n" , + vaddr, paddr, prot, mmu_idx);#endif address = vaddr;
hw/acpi/piix4.c +3 -3
@@ -518,7 +518,7 @@ static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width)PIIX4PMState *s = opaque;uint32_t val =acpi_gpe_ioport_readb (&s->ar, addr); -PIIX4_DPRINTF ("gpe read %x == %x\n" , addr, val); +PIIX4_DPRINTF ("gpe read %lx == %x\n" , addr, val);return val; }
@@ -530,7 +530,7 @@ static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val,acpi_gpe_ioport_writeb (&s->ar, addr, val);pm_update_sci (s); -PIIX4_DPRINTF ("gpe write %x <== %d\n" , addr, val); +PIIX4_DPRINTF ("gpe write %lx <== %lu\n" , addr, val); }static const MemoryRegionOps piix4_gpe_ops = {
@@ -579,7 +579,7 @@ static void pci_write(void *opaque, hwaddr addr, uint64_t data,switch (addr) {case PCI_EJ_BASE -PCI_HOTPLUG_ADDR :acpi_piix_eject_slot (opaque, (uint32_t )data); -PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== % " PRIu64"\n" , +PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== %" PRIu64"\n" , addr, data);break ;default :
Signature · 1 line
1.8.2.3
PATCH 1/1 fix typo: apci -> acpi
--- hw/acpi/ich9.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
hw/acpi/ich9.c +2 -2
@@ -215,11 +215,11 @@ void ich9_pm_init(PCIDevice *lpc_pci, ICH9LPCPMRegs *pm,acpi_pm1_cnt_init (&pm->acpi_regs, &pm->io,2 );acpi_gpe_init (&pm->acpi_regs,ICH9_PMIO_GPE0_LEN ); -memory_region_init_io (&pm->io_gpe, &ich9_gpe_ops, pm,"apci-gpe0" , +memory_region_init_io (&pm->io_gpe, &ich9_gpe_ops, pm,"acpi-gpe0" ,ICH9_PMIO_GPE0_LEN );memory_region_add_subregion (&pm->io,ICH9_PMIO_GPE0_STS , &pm->io_gpe); -memory_region_init_io (&pm->io_smi, &ich9_smi_ops, pm,"apci-smi" , +memory_region_init_io (&pm->io_smi, &ich9_smi_ops, pm,"acpi-smi" ,8 );memory_region_add_subregion (&pm->io,ICH9_PMIO_SMI_EN , &pm->io_smi);
hw/acpi/piix4.c +3 -3
@@ -670,18 +670,18 @@ static int piix4_device_hotplug(DeviceState *qdev, PCIDevice *dev,static void piix4_acpi_system_hot_add_init (MemoryRegion *parent,PCIBus *bus,PIIX4PMState *s) { -memory_region_init_io (&s->io_gpe, &piix4_gpe_ops, s,"apci-gpe0" , +memory_region_init_io (&s->io_gpe, &piix4_gpe_ops, s,"acpi-gpe0" ,GPE_LEN );memory_region_add_subregion (parent,GPE_BASE , &s->io_gpe); -memory_region_init_io (&s->io_pci, &piix4_pci_ops, s,"apci-pci-hotplug" , +memory_region_init_io (&s->io_pci, &piix4_pci_ops, s,"acpi-pci-hotplug" ,PCI_HOTPLUG_SIZE );memory_region_add_subregion (parent,PCI_HOTPLUG_ADDR , &s->io_pci);pci_bus_hotplug (bus, piix4_device_hotplug, &s->dev.qdev);qemu_for_each_cpu (piix4_init_cpu_status, &s->gpe_cpu); -memory_region_init_io (&s->io_cpu, &cpu_hotplug_ops, s,"apci-cpu-hotplug" , +memory_region_init_io (&s->io_cpu, &cpu_hotplug_ops, s,"acpi-cpu-hotplug" ,PIIX4_PROC_LEN );memory_region_add_subregion (parent,PIIX4_PROC_BASE , &s->io_cpu); s->cpu_added_notifier.notify = piix4_cpu_added_req;
Signature · 1 line
1.8.2.3
Re: [Qemu-devel] [PATCH] fix typo: apci -> acpi
Am 13.06.2013 12:51, schrieb Hu Tao:
Quoted 5 lines
Signed-off-by Hu Tao <[email protected]>--- hw/acpi/ich9.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Re: [Qemu-devel] [PATCH] fix typo: apci -> acpi
Michael,
Quoted 8 lines · Andreas Färber
Am 13.06.2013 12:51, schrieb Hu Tao:
Quoted 5 lines
Signed-off-by Hu Tao <[email protected]>--- hw/acpi/ich9.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)Reviewed-by Andreas Färber <[email protected]>
Would you like to pick up this one?
Re: [Qemu-devel] [PATCH] fix typo: apci -> acpi
Quoted 10 lines · Hu Tao
Michael,
Quoted 7 lines · Andreas Färber
Am 13.06.2013 12:51, schrieb Hu Tao:
Quoted 5 lines
Signed-off-by Hu Tao <[email protected]>--- hw/acpi/ich9.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Quoted 3 lines
Quoted 1 line
Reviewed-by Andreas Färber <[email protected]>Would you like to pick up this one?
Yes I will, together with a bunch of other patches posted to -trivial. This patch was a bit too late for previous week pull so it missed that.
Thanks,
/mjt
PATCH 1/1 remove call to type_initialize in object_new_with_type
In reply to Hu TaoSince it's called in object_initialize_with_type later.
--- qom/object.c | 3 --- 1 file changed, 3 deletions(-)
qom/object.c +0 -3
@@ -406,9 +406,6 @@ Object *object_new_with_type(Type type) {Object *obj; -g_assert (type !=NULL ); -type_initialize (type); - obj =g_malloc (type->instance_size);object_initialize_with_type (obj, type); obj->free = g_free;
Signature · 1 line
1.8.2.3
Re: [Qemu-devel] [PATCH] remove call to type_initialize in object_new_with_type
Quoted 12 lines · Hu Tao
Since it's called in
object_initialize_with_typelater.Signed-off-by Hu Tao <[email protected]>--- qom/object.c | 3 --- 1 file changed, 3 deletions(-)qom/object.c +0
-0
qom/object.c Object *object_new_with_type(Type type) · line 409
Quoted 7 lines
qom/object.c +0
-3@@ -406,9 +406,6 @@ Object *object_new_with_type(Type type) {Object *obj; -g_assert (type !=NULL ); -type_initialize (type); - obj =g_malloc (type->instance_size);
Well, type->instance_size has to be initialized before this.
Quoted 5 lines
qom/object.c +0
-0object_initialize_with_type (obj, type); obj->free = g_free;Signature · 1 line
1.8.2.3
Re: [Qemu-devel] [PATCH] remove call to type_initialize in object_new_with_type
Quoted 16 lines · Hu Tao
Quoted 15 lines · Hu Tao
Since it's called in
object_initialize_with_typelater.Signed-off-by Hu Tao <[email protected]>--- qom/object.c | 3 --- 1 file changed, 3 deletions(-)qom/object.c +0
-0@@ -406,9 +406,6 @@ Object *object_new_with_type(Type type) {Object *obj;
Quoted 7 lines
qom/object.c Object *object_new_with_type(Type type) · line 409
Quoted 4 lines
qom/object.c +0
-3-g_assert (type !=NULL ); -type_initialize (type); - obj =g_malloc (type->instance_size);Well,
type->instance_sizehas to be initialized before this.
Missed this reply. Thanks for catching. Sorry for the noise.
Regards,
Peter
Quoted 6 lines
Quoted 5 lines
qom/object.c +0
-1object_initialize_with_type (obj, type); obj->free = g_free; --1.8.2.3
Re: [Qemu-devel] [PATCH] remove call to type_initialize in object_new_with_type
In reply to Hu TaoHi Hu,
Quoted 12 lines · Hu Tao
Since it's called in
object_initialize_with_typelater.Signed-off-by Hu Tao <[email protected]>--- qom/object.c | 3 --- 1 file changed, 3 deletions(-)qom/object.c +0
-0
qom/object.c Object *object_new_with_type(Type type) · line 409
Quoted 7 lines
qom/object.c +0
-3@@ -406,9 +406,6 @@ Object *object_new_with_type(Type type) {Object *obj; -g_assert (type !=NULL ); -type_initialize (type); - obj =g_malloc (type->instance_size);
type->instance_size may be lazily set by type_initilize, so I think this malloc will break for classes that inherit their instance size. Some relevant code (qom/object.c):
228 static void type_initialize(TypeImpl *ti)
229 {
[snip]
236 ti->class_size = type_class_get_size(ti);
237 ti->instance_size = type_object_get_size(ti);
176 static size_t type_object_get_size(TypeImpl *ti) 177 {
178 if (ti->instance_size) {
179 return ti->instance_size;
180 }
181
182 if (type_has_parent(ti)) {
183 return type_object_get_size(type_get_parent(ti));
184 }
185
186 return 0;
187 }
Regards,
Peter
Quoted 6 lines
qom/object.c +0
-1object_initialize_with_type (obj, type); obj->free = g_free; --1.8.2.3
Am 13.06.2013 12:51, schrieb Hu Tao:
Quoted 26 lines
Signed-off-by Hu Tao <[email protected]>--- cputlb.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)cputlb.c +2
-2@@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,#if defined(DEBUG_TLB )printf ("tlb_set_page: vaddr=" TARGET_FMT_lx" paddr=0x" TARGET_FMT_plx -" prot=%x idx=%d pd=0x%08lx\n" , - vaddr, paddr, prot, mmu_idx, pd); +" prot=%x idx=%d\n" , + vaddr, paddr, prot, mmu_idx);#endif address = vaddr;hw/acpi/piix4.c +0
-0
hw/acpi/piix4.c static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width) · line 521
Quoted 5 lines
hw/acpi/piix4.c +1
-1@@ -518,7 +518,7 @@ static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width)PIIX4PMState *s = opaque;uint32_t val =acpi_gpe_ioport_readb (&s->ar, addr); -PIIX4_DPRINTF ("gpe read %x == %x\n" , addr, val); +PIIX4_DPRINTF ("gpe read %lx == %x\n" , addr, val);
You need HWADDR_PRIx as seen below, because it might be %llx on some platforms. While touching it, changing %x to PRIx32 would be even better.
hw/acpi/piix4.c static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val, · line 533
Quoted 9 lines
hw/acpi/piix4.c +1
-1return val; }@@ -530,7 +530,7 @@ static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val,acpi_gpe_ioport_writeb (&s->ar, addr, val);pm_update_sci (s); -PIIX4_DPRINTF ("gpe write %x <== %d\n" , addr, val); +PIIX4_DPRINTF ("gpe write %lx <== %lu\n" , addr, val);
HWADDR_PRIx, PRIx64
Regards,
Andreas
Quoted 13 lines
hw/acpi/piix4.c +1
-1}static const MemoryRegionOps piix4_gpe_ops = {@@ -579,7 +579,7 @@ static void pci_write(void *opaque, hwaddr addr, uint64_t data,switch (addr) {case PCI_EJ_BASE -PCI_HOTPLUG_ADDR :acpi_piix_eject_slot (opaque, (uint32_t )data); -PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== % " PRIu64"\n" , +PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== %" PRIu64"\n" , addr, data);break ;default :
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Am 13.06.2013 13:10, schrieb Andreas Färber:
Quoted 39 lines
Am 13.06.2013 12:51, schrieb Hu Tao:
Quoted 26 lines
Signed-off-by Hu Tao <[email protected]>--- cputlb.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)cputlb.c +2
-2@@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,#if defined(DEBUG_TLB )printf ("tlb_set_page: vaddr=" TARGET_FMT_lx" paddr=0x" TARGET_FMT_plx -" prot=%x idx=%d pd=0x%08lx\n" , - vaddr, paddr, prot, mmu_idx, pd); +" prot=%x idx=%d\n" , + vaddr, paddr, prot, mmu_idx);#endif address = vaddr;hw/acpi/piix4.c +0
-0hw/acpi/piix4.c static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width) · line 521
Quoted 5 lines
hw/acpi/piix4.c +1
-1@@ -518,7 +518,7 @@ static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width)PIIX4PMState *s = opaque;uint32_t val =acpi_gpe_ioport_readb (&s->ar, addr); -PIIX4_DPRINTF ("gpe read %x == %x\n" , addr, val); +PIIX4_DPRINTF ("gpe read %lx == %x\n" , addr, val);You need
HWADDR_PRIxas seen below, because it might be %llx on some platforms. While touching it, changing %x to PRIx32 would be even better.Quoted 3 lines
hw/acpi/piix4.c +0
-0return val; }
Quoted 8 lines
hw/acpi/piix4.c static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val, · line 533
Quoted 6 lines
hw/acpi/piix4.c +1
-1@@ -530,7 +530,7 @@ static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val,acpi_gpe_ioport_writeb (&s->ar, addr, val);pm_update_sci (s); -PIIX4_DPRINTF ("gpe write %x <== %d\n" , addr, val); +PIIX4_DPRINTF ("gpe write %lx <== %lu\n" , addr, val);
HWADDR_PRIx, PRIx64
err... PRIu64 obviously.
Quoted 19 lines
Regards,
AndreasQuoted 13 lines
hw/acpi/piix4.c +1
-1}static const MemoryRegionOps piix4_gpe_ops = {@@ -579,7 +579,7 @@ static void pci_write(void *opaque, hwaddr addr, uint64_t data,switch (addr) {case PCI_EJ_BASE -PCI_HOTPLUG_ADDR :acpi_piix_eject_slot (opaque, (uint32_t )data); -PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== % " PRIu64"\n" , +PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== %" PRIu64"\n" , addr, data);break ;default :
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 30 lines · Andreas Färber
Am 13.06.2013 12:51, schrieb Hu Tao:
Quoted 29 lines
Signed-off-by Hu Tao <[email protected]>--- cputlb.c | 4 ++-- hw/acpi/piix4.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)cputlb.c +2
-2@@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,#if defined(DEBUG_TLB )printf ("tlb_set_page: vaddr=" TARGET_FMT_lx" paddr=0x" TARGET_FMT_plx -" prot=%x idx=%d pd=0x%08lx\n" , - vaddr, paddr, prot, mmu_idx, pd); +" prot=%x idx=%d\n" , + vaddr, paddr, prot, mmu_idx);#endif address = vaddr;hw/acpi/piix4.c +0
-0@@ -518,7 +518,7 @@ static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width)PIIX4PMState *s = opaque;uint32_t val =acpi_gpe_ioport_readb (&s->ar, addr);
Quoted 5 lines
hw/acpi/piix4.c static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width) · line 521
Quoted 2 lines
hw/acpi/piix4.c +1
-1-PIIX4_DPRINTF ("gpe read %x == %x\n" , addr, val); +PIIX4_DPRINTF ("gpe read %lx == %x\n" , addr, val);You need
HWADDR_PRIxas seen below, because it might be %llx on some platforms. While touching it, changing %x to PRIx32 would be even better.
OK. Thanks!
Quoted 34 lines
hw/acpi/piix4.c static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val, · line 533
Quoted 10 lines
hw/acpi/piix4.c +1
-1return val; }@@ -530,7 +530,7 @@ static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val,acpi_gpe_ioport_writeb (&s->ar, addr, val);pm_update_sci (s); -PIIX4_DPRINTF ("gpe write %x <== %d\n" , addr, val); +PIIX4_DPRINTF ("gpe write %lx <== %lu\n" , addr, val);
HWADDR_PRIx, PRIx64Regards,
AndreasQuoted 13 lines
hw/acpi/piix4.c +1
-1}static const MemoryRegionOps piix4_gpe_ops = {@@ -579,7 +579,7 @@ static void pci_write(void *opaque, hwaddr addr, uint64_t data,switch (addr) {case PCI_EJ_BASE -PCI_HOTPLUG_ADDR :acpi_piix_eject_slot (opaque, (uint32_t )data); -PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== % " PRIu64"\n" , +PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== %" PRIu64"\n" , addr, data);break ;default :Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
PATCH v2 1/1 piix: fix some printf errors when debug is enabled
In reply to Andreas FärberAnd use PRIxxx macros if possible.
--- cputlb.c | 4 ++-- hw/acpi/piix4.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-)
cputlb.c +2 -2
@@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,#if defined(DEBUG_TLB )printf ("tlb_set_page: vaddr=" TARGET_FMT_lx" paddr=0x" TARGET_FMT_plx -" prot=%x idx=%d pd=0x%08lx\n" , - vaddr, paddr, prot, mmu_idx, pd); +" prot=%x idx=%d\n" , + vaddr, paddr, prot, mmu_idx);#endif address = vaddr;
hw/acpi/piix4.c +6 -6
@@ -518,7 +518,7 @@ static uint64_t gpe_readb(void *opaque, hwaddr addr, unsigned width)PIIX4PMState *s = opaque;uint32_t val =acpi_gpe_ioport_readb (&s->ar, addr); -PIIX4_DPRINTF ("gpe read %x == %x\n" , addr, val); +PIIX4_DPRINTF ("gpe read %" HWADDR_PRIx" == %" PRIu32"\n" , addr, val);return val; }
@@ -530,7 +530,7 @@ static void gpe_writeb(void *opaque, hwaddr addr, uint64_t val,acpi_gpe_ioport_writeb (&s->ar, addr, val);pm_update_sci (s); -PIIX4_DPRINTF ("gpe write %x <== %d\n" , addr, val); +PIIX4_DPRINTF ("gpe write %" HWADDR_PRIx" <== %" PRIu64"\n" , addr, val); }static const MemoryRegionOps piix4_gpe_ops = {
@@ -553,15 +553,15 @@ static uint64_t pci_read(void *opaque, hwaddr addr, unsigned int size)/* Manufacture an "up" value to cause a device check on any hotplug * slot with a device. Extra device checks are harmless. */ val = s->pci0_slot_device_present & s->pci0_hotplug_enable; -PIIX4_DPRINTF ("pci_up_read %x\n" , val); +PIIX4_DPRINTF ("pci_up_read %" PRIu32"\n" , val);break ;case PCI_DOWN_BASE -PCI_HOTPLUG_ADDR : val = s->pci0_status.down; -PIIX4_DPRINTF ("pci_down_read %x\n" , val); +PIIX4_DPRINTF ("pci_down_read %" PRIu32"\n" , val);break ;case PCI_EJ_BASE -PCI_HOTPLUG_ADDR :/* No feature defined yet */ -PIIX4_DPRINTF ("pci_features_read %x\n" , val); +PIIX4_DPRINTF ("pci_features_read %" PRIu32"\n" , val);break ;case PCI_RMV_BASE -PCI_HOTPLUG_ADDR : val = s->pci0_hotplug_enable;
@@ -579,7 +579,7 @@ static void pci_write(void *opaque, hwaddr addr, uint64_t data,switch (addr) {case PCI_EJ_BASE -PCI_HOTPLUG_ADDR :acpi_piix_eject_slot (opaque, (uint32_t )data); -PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== % " PRIu64"\n" , +PIIX4_DPRINTF ("pciej write %" HWADDR_PRIx" <== %" PRIu64"\n" , addr, data);break ;default :
Signature · 1 line
1.8.2.3
Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] piix: fix some printf errors when debug is enabled
Quoted 13 lines · Hu Tao
And use PRIxxx macros if possible.
Signed-off-by Hu Tao <[email protected]>--- cputlb.c | 4 ++-- hw/acpi/piix4.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-)cputlb.c +0
-0
cputlb.c void tlb_set_page(CPUArchState *env, target_ulong vaddr, · line 267
Quoted 8 lines
cputlb.c +2
-2@@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,#if defined(DEBUG_TLB )printf ("tlb_set_page: vaddr=" TARGET_FMT_lx" paddr=0x" TARGET_FMT_plx -" prot=%x idx=%d pd=0x%08lx\n" , - vaddr, paddr, prot, mmu_idx, pd); +" prot=%x idx=%d\n" , + vaddr, paddr, prot, mmu_idx);#endif
This one hunk has already been posted by Hervé Poussineau in this message:
From: Hervé Poussineau <[email protected]>
Date: Wed, 5 Jun 2013 20:16:42 +0800
Message-Id: <[email protected]>
Subject: [Qemu-trivial] [PATCH] cputlb: fix debug logs
I questioned it because the `pd' thing hasn't been really removed but moved into a different structure instead, and we should either ask subsystem maintainers to fix it or remove the whole thing. This is debugging stuff, which is needed by someone who actually understands the subsystem and understands the debugging output too. If the debugging isn't needed (and since it does not compile for quite some time, it obviously isn't used), let's get rid of whole thing instead.
Unfortunately no one replied to that my email so far. Adding Cc BlueSwirl again, in a hope...
Thanks,
/mjt
Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] piix: fix some printf errors when debug is enabled
In reply to Hu TaoQuoted 1 line · Hu Tao
And use PRIxxx macros if possible.
Thanks, applied to the trivial patches queue, on top of the patch by Hervé Poussineau which I mentioned before.
/mjt
Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] piix: fix some printf errors when debug is enabled
Quoted 7 lines · Michael Tokarev
Quoted 1 line · Hu Tao
And use PRIxxx macros if possible.
Thanks, applied to the trivial patches queue, on top of the patch by Hervé Poussineau which I mentioned before.
/mjt
Thanks!