From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Huang Subject: Re: KVM on ARM64 Date: Tue, 05 Aug 2014 00:00:40 -0500 Message-ID: <53E064F8.2010008@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Mathew Li , KVM Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18357 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754385AbaHEFAm (ORCPT ); Tue, 5 Aug 2014 01:00:42 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 08/04/2014 07:35 PM, Mathew Li wrote: > Hi, > > I have a quick question. How do we add a hard disk to the qemu ARM VM? > > I tried: > > qemu-system-aarch64 -machine virt -hda disk.img -kernel image -initrd initrd.img > > qemu-system-aarch64 -machine virt -sd disk.img -kernel image -initrd initrd.img > > qemu-system-aarch64 -machine virt -mtdblock disk.img -kernel image > -initrd initrd.img > > Nothing seems to work. I am not able to see any disk (i.e. dev/sdX) > inside guest OS. > You can expose disk to guest VM via virtio, then guest can mount /dev/vda as rootfs. -Wei > Can someone please guide on this? > > Many thanks in advance! > Mathew > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >