qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Andriy Gapon <avg@FreeBSD.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] in_asm substitute for accel=kvm:tcg
Date: Tue, 17 Sep 2013 14:32:54 +0200	[thread overview]
Message-ID: <52384BF6.5030302@suse.de> (raw)
In-Reply-To: <52383EED.6080602@FreeBSD.org>

Hi,

Am 17.09.2013 13:37, schrieb Andriy Gapon:
> 
> It seems that when qemu is run with accel=kvm:tcg then -d in_asm does not
> produce anything.  At least, with the qemu and kvm that I have access to.

Are you saying that with accel=kvm:tcg when falling back to TCG, -d
in_asm does not work?

For accel=kvm it's expected not to produce any output since QEMU does
not process any Translation Blocks then.

> Is there any way to obtain equivalent logging in such a configuration?
> A note: a host and a guest are both amd64 (x86_64).

Under Linux, trace options for the kvm kernel module can be enabled via
the file system.

Regards,
Andreas

> 
> Some background.  I am trying to debug a problem with booting a FreeBSD VM.  If
> acceleration is not used then the VM boots just fine.  But with acceleration the
> boot process hangs somewhere in FreeBSD boot loader, judging from what I see on
> a screen.
> I suspect that there could be a problem with jumping from real to protected mode
> or some such "exotic" environment.  To narrow down the possibilities I would
> like to examine execution trace and see where execution goes into the weeds.
> 
> Thank you very much in advance.
> 


-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2013-09-17 12:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 11:37 [Qemu-devel] in_asm substitute for accel=kvm:tcg Andriy Gapon
2013-09-17 12:32 ` Andreas Färber [this message]
2013-09-17 14:33   ` Andriy Gapon
2013-09-17 18:49     ` Gleb Natapov
2013-09-19 14:36       ` Andriy Gapon
2013-09-19 16:53         ` Paolo Bonzini
2013-09-19 17:18           ` Andriy Gapon
2013-09-19 17:26             ` Paolo Bonzini
2013-09-19 18:05               ` Andriy Gapon
2013-09-19 17:49           ` Andriy Gapon
2013-09-22  6:31             ` Gleb Natapov
2013-09-22  8:05               ` Andriy Gapon
2013-09-22  8:17                 ` Gleb Natapov
2013-09-22  9:41                   ` Andriy Gapon

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=52384BF6.5030302@suse.de \
    --to=afaerber@suse.de \
    --cc=avg@FreeBSD.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).