qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qdev: add return value to init() callbacks.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] qdev: add return value to init() callbacks.
Date: Thu, 13 Aug 2009 16:31:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

     save output object
     set up output object to point to the appropriate sink
     call stuff (may print messages via output object to sink)
     restore output object

i.e. something like the attached patch?

(qemu-kvm might need some more care due to the io thread).

cheers,
  Gerd

Attachment: fix
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]