All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kazuya Saito <saito.kazuya@jp.fujitsu.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 0/5] Add some tracepoints for clarification of the cause of troubles
Date: Thu, 28 Mar 2013 14:53:34 +0900	[thread overview]
Message-ID: <5153DADE.4000901@jp.fujitsu.com> (raw)
In-Reply-To: <2098812672.15904995.1364373909716.JavaMail.root@redhat.com>

(2013/03/27 17:45), Paolo Bonzini wrote:>
>>> Wouldn't you get the same information from the command line?
>>
>> I think the information you said is different from what I meant. The
>> information I wanted to know is whether QEMU creates/deletes a device
>> successfully or not.
>
> Failing to create a device will always exit QEMU.  If you cannot assume
> that, you're really in debugging territory and your tools should
> be the "info" monitor commands (info qtree, info pci) or gdb...

That's a good point.

>> We cannot get it from the command line.
>> I was sure I specified a NIC device for the guest, but the Windows
>> guest didn't have it when it booted.  There were two possibilities.  One
>> was QEMU failed to create the NIC device, and the other was QEMU created
>> it successfully and the Windows guest failed to detect it.  Since QEMU
>> output limited message at the moment, it was difficult to prove that
>> it was not QEMU's issue.  I took a coredump of the QEMU and proved
>> the QEMU must have a valid structures for the NIC device.  I believe the
>> tracepoints could have allowed me to figure out where the issue
>> existed a lot faster and easier.
>
> Had you tried "info qtree" or "info pci"?

I didn't try these commands. I tried them just now and it seems to solve
the problem. So I think no need to add the tracepoints I posted.
Thank you for your kindness.

Kazuya

  reply	other threads:[~2013-03-28  5:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22  8:25 [Qemu-devel] [PATCH 0/5] Add some tracepoints for clarification of the cause of troubles Kazuya Saito
2013-03-22  8:26 ` [Qemu-devel] [PATCH 1/5] vl: add runstate_set tracepoint Kazuya Saito
2013-03-22 11:13   ` Paolo Bonzini
2013-03-28 13:21   ` Stefan Hajnoczi
2013-03-22  8:27 ` [Qemu-devel] [PATCH 2/5] kvm-all: add kvm_ioctl, kvm_vm_ioctl, kvm_vcpu_ioctl tracepoints Kazuya Saito
2013-03-22 11:12   ` Paolo Bonzini
2013-03-22  8:28 ` [Qemu-devel] [PATCH 3/5] kvm-all: add kvm_run_exit tracepoint Kazuya Saito
2013-03-22 11:12   ` Paolo Bonzini
2013-03-22  8:29 ` [Qemu-devel] [PATCH 4/5] qdev: add qdev_{create,free} tracepoints Kazuya Saito
2013-03-27 11:03   ` [Qemu-devel] [PATCH 4/5] qdev: add qdev_{create, free} tracepoints Andreas Färber
2013-03-28  5:56     ` Kazuya Saito
2013-03-22  8:29 ` [Qemu-devel] [PATCH 5/5] qdev-monitor: add device_add tracepoint Kazuya Saito
2013-03-22 11:13 ` [Qemu-devel] [PATCH 0/5] Add some tracepoints for clarification of the cause of troubles Paolo Bonzini
2013-03-26  7:13   ` Kazuya Saito
2013-03-26  7:15     ` Paolo Bonzini
2013-03-27  6:21       ` Kazuya Saito
2013-03-27  8:45         ` Paolo Bonzini
2013-03-28  5:53           ` Kazuya Saito [this message]
2013-03-28  8:52             ` Paolo Bonzini
2013-03-28 12:49               ` Anthony Liguori
2013-03-28 13:21                 ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5153DADE.4000901@jp.fujitsu.com \
    --to=saito.kazuya@jp.fujitsu.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.