All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Huang <wehuang@redhat.com>
To: Mathew Li <mathew.li100@gmail.com>, KVM <kvm@vger.kernel.org>
Subject: Re: KVM on ARM64
Date: Tue, 05 Aug 2014 00:00:40 -0500	[thread overview]
Message-ID: <53E064F8.2010008@redhat.com> (raw)
In-Reply-To: <CALU2kfkSJoGfkA2rwduiFeMP1tgDi71BO6ehjtn8eqOUsy1fXw@mail.gmail.com>



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
>

  reply	other threads:[~2014-08-05  5:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05  0:35 KVM on ARM64 Mathew Li
2014-08-05  5:00 ` Wei Huang [this message]
2014-08-05 14:18 ` Joel Schopp
2014-08-06 16:15   ` Christoffer Dall
2014-08-06 16:48     ` Joel Schopp
2014-08-07 16:51       ` Mathew Li
2014-08-07 16:52         ` Joel Schopp
2014-08-07 17:53         ` Christoffer Dall
2014-08-07 18:06           ` Wei Huang
2014-08-07 20:03             ` Christoffer Dall
2014-08-07 18:21           ` Joel Schopp
2014-08-07 17:50       ` Christoffer Dall

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=53E064F8.2010008@redhat.com \
    --to=wehuang@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mathew.li100@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.