|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 8/9] spice: simple display |
Date: | Thu, 19 Aug 2010 10:34:12 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 |
On 08/19/2010 10:23 AM, malc wrote:
+ +void qemu_spice_destroy_update(SimpleSpiceDisplay *sdpy, SimpleSpiceUpdate *update) +{ + qemu_free(update->bitmap); + qemu_free(update); +} + +void qemu_spice_create_host_memslot(SimpleSpiceDisplay *ssd) +{ + QXLDevMemSlot memslot; + + if (debug) + fprintf(stderr, "%s:\n", __FUNCTION__);a dprintf() would better fit qemu's style.A dprintf is a POSIX function.
Apparently a recent POSIX function... Preferred alternatives? I really dislike all caps macros. Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |