[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/5] qxl: s/__FUNCTION__/__func__/, change logging l
From: |
Alon Levy |
Subject: |
[Qemu-devel] [PATCH 2/5] qxl: s/__FUNCTION__/__func__/, change logging levels |
Date: |
Mon, 24 Oct 2011 14:02:16 +0200 |
---
hw/qxl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index 4003e53..af02cda 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -515,7 +515,7 @@ static int interface_get_command(QXLInstance *sin, struct
QXLCommandExt *ext)
switch (qxl->mode) {
case QXL_MODE_VGA:
- dprint(qxl, 2, "%s: vga\n", __FUNCTION__);
+ dprint(qxl, 4, "%s: vga\n", __func__);
ret = false;
qemu_mutex_lock(&qxl->ssd.lock);
if (qxl->ssd.update != NULL) {
@@ -526,19 +526,19 @@ static int interface_get_command(QXLInstance *sin, struct
QXLCommandExt *ext)
}
qemu_mutex_unlock(&qxl->ssd.lock);
if (ret) {
- dprint(qxl, 2, "%s %s\n", __FUNCTION__,
qxl_mode_to_string(qxl->mode));
+ dprint(qxl, 4, "%s %s\n", __func__, qxl_mode_to_string(qxl->mode));
qxl_log_command(qxl, "vga", ext);
}
return ret;
case QXL_MODE_COMPAT:
case QXL_MODE_NATIVE:
case QXL_MODE_UNDEFINED:
- dprint(qxl, 4, "%s: %s\n", __FUNCTION__,
qxl_mode_to_string(qxl->mode));
+ dprint(qxl, 5, "%s: %s\n", __func__, qxl_mode_to_string(qxl->mode));
ring = &qxl->ram->cmd_ring;
if (SPICE_RING_IS_EMPTY(ring)) {
return false;
}
- dprint(qxl, 2, "%s: %s\n", __FUNCTION__,
qxl_mode_to_string(qxl->mode));
+ dprint(qxl, 4, "%s: %s\n", __func__, qxl_mode_to_string(qxl->mode));
SPICE_RING_CONS_ITEM(ring, cmd);
ext->cmd = *cmd;
ext->group_id = MEMSLOT_GROUP_GUEST;
--
1.7.7
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, (continued)
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Luiz Capitulino, 2011/10/24
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Alon Levy, 2011/10/25
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Luiz Capitulino, 2011/10/25
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Alon Levy, 2011/10/25
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Luiz Capitulino, 2011/10/25
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Alon Levy, 2011/10/26
- Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async, Gerd Hoffmann, 2011/10/25
[Qemu-devel] [PATCH 5/5] qxl: support async monitor screen dump, Alon Levy, 2011/10/24
[Qemu-devel] [PATCH 2/5] qxl: s/__FUNCTION__/__func__/, change logging levels,
Alon Levy <=
[Qemu-devel] [PATCH 3/5] qxl: support concurrent async commands, Alon Levy, 2011/10/24