qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Greetings qemu folks


From: John Snow
Subject: Re: [Qemu-devel] Greetings qemu folks
Date: Mon, 9 Sep 2019 12:55:35 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0


On 9/7/19 9:58 AM, Toe Dev wrote:
> I am new in QEMU developing and I have general questions about QEMU source
> code as I could not find any guidelines about it.
> 

Hi, welcome!

> 1) I have no success running qemu in nographic mode.
>    The internet says using chardev driver to redirect kernel output to host
> OS...
>    what is the right way to do that?

What have you tried and what were the results?

For me, with standard Fedora installations, I can usually just pass
`-monitor stdio` and get a console in my terminal (along with a GTK window.)

`-nographic` also seems to work just fine.

Post your command line, QEMU version, and the version of the guest OS
you're trying to boot. The guest OS may or may not need to be configured
to actually send output to the console.

> 
> 2) My main target is to output a lot of this to console cause I new to qemu
> and I want fast                    feedback on stuff like this. I try start
> qemu with -D option but the log files never have been              written
> by qemu, but either no success.
> 

QEMU doesn't output a lot of information by default, `-D` might be kind
of misleading. (Actually, I've never used it...)

We have a tracing subsystem, but it might differ from logging in that
you enable tracepoints on a per-trace basis.

Take a look at qemu/docs/devel/tracing.txt for information on driving
the tracing module.

> 3) What is the right way to do logging in qemu for development purposes?
> 

The tracing subsystem.

> Best Regards,
> 
> Yali.
> 



reply via email to

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