From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: pci-stub error and MSI-X for KVM guest Date: Mon, 4 Jan 2010 07:16:59 -0800 Message-ID: <20100104151659.GA27601@sequoia.sous-sol.org> References: <0199E0D51A61344794750DC57738F58E6D718922FC@GVW1118EXC.americas.hpqcorp.net> <20091221191923.GA5979@sequoia.sous-sol.org> <0199E0D51A61344794750DC57738F58E6D71892321@GVW1118EXC.americas.hpqcorp.net> <20091221195849.GC5979@sequoia.sous-sol.org> <0199E0D51A61344794750DC57738F58E6D723AADC9@GVW1118EXC.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Wright , "kvm@vger.kernel.org" To: "Fischer, Anna" Return-path: Received: from sous-sol.org ([216.99.217.87]:56553 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753508Ab0ADPRH (ORCPT ); Mon, 4 Jan 2010 10:17:07 -0500 Content-Disposition: inline In-Reply-To: <0199E0D51A61344794750DC57738F58E6D723AADC9@GVW1118EXC.americas.hpqcorp.net> Sender: kvm-owner@vger.kernel.org List-ID: * Fischer, Anna (anna.fischer@hp.com) wrote: > > Ouch. Can you do "debuginfo-install qemu-system-x86" to get the debug > > packages, then attach gdb to the QEMU process so that when you do lspci > > -v > > in the guest (assuming this is QEMU segfaulting) you'll get a backtrace? > > I don't know how I can tell virt-manager through the GUI to enable debug mode, e.g. call virt-manager with '-s'. From the command line I can attach gdb like this, but when running virt-manager from the GUI then I cannot connect to localhost:1234. However, the issues only arise when starting virt-manager from the GUI. I can't find the configuration option to somehow tell that I want it to be launched with '-s'? Just looking for a backtrace of the qemu-kvm process itself. So after you launch it via virt-manager, gdb /usr/bin/qemu-kvm $(pidof qemu-kvm) should be sufficient. thanks, -chris