public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: kvm@vger.kernel.org
Subject: segfault when kvm modules are not loaded
Date: Wed, 2 Sep 2009 16:30:47 -0300	[thread overview]
Message-ID: <20090902163047.4ceefce4@doriath> (raw)


 Hi there,

 This is probably minor, but I'm getting the following segfault when
trying to run qemu-kvm w/o kvm modules loaded:

"""
sudo ./qemu-kvm -hda fedora-11-kratos-i386.img -m 1G -snapshot
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
Segmentation fault (core dumped)
"""

 I've debugged a little and found that:

1. Problem was introduced by 79c788

2. Segfault happens in exec.c:901, because the second call to
   tb_alloc() fails

                 reply	other threads:[~2009-09-02 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090902163047.4ceefce4@doriath \
    --to=lcapitulino@redhat.com \
    --cc=kvm@vger.kernel.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