On 04/28/11 10:29, Alon Levy wrote:
With this you can output the command log and/or the guest debug (driver)
output to a chardev instead of stderr:

-global qxl-vga.cmdlog_chardev=qxl_cmdlog_chardev
-global qxl-vga.debug_chardev=qxl_debug_chardev

useful for debugging. if no chardev is specified prints to stderr like the old
code.

Hmm. That is a bit too much ad-hoc debug hacking IMHO. Also I'm not sure I like the idea to send debug stuff through chardev instead of just writing them to stderr or some logfile.

I do see why you are doing that though. Unfortunaly qemu has no sane debug logging infrastructure. This is long overdue IMHO, so we don't need hacks like this one and also don't reinvent stuff over and over.

cheers,
  Gerd


Reply via email to