From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: Virtio block device and LVM Date: Sat, 22 Mar 2008 19:57:56 -0500 Message-ID: <47E5AB14.2010200@codemonkey.ws> References: <47E581AF.2060206@conversis.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: Dennis Jacobfeuerborn Return-path: In-Reply-To: <47E581AF.2060206@conversis.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Dennis Jacobfeuerborn wrote: > Hi, > I'm trying to get the paravirtualized block device going but get in trouble > with LVM. Both host and guest a very recent snapshot of Fedora 9 rawhide. > The guest is a pristine F9 install with / mounted as /dev/VolGroup00/LogVol00. > > When I boot with the command: > /usr/bin/qemu-kvm -m 512 -drive file=/root/test-1.img,media=disk,boot=on > the guest boots fine but when I try to boot with: > /usr/bin/qemu-kvm -m 512 -drive file=/root/test-1.img,if=virtio,boot=on > the kernel panics because it cannot find any volume-groups and thus not > mount /. > > Do I have to make any specific changes to the guest to make it > recognize/detect the volume-group on the virtual block device? > You need to make sure virtio_blk and virtio_pci are included in your initrd. Regards, Anthony Liguori > Regards, > Dennis > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/