From: Joel Schopp <joel.schopp@amd.com>
To: Mathew Li <mathew.li100@gmail.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>,
KVM <kvm@vger.kernel.org>
Subject: Re: KVM on ARM64
Date: Thu, 7 Aug 2014 11:52:55 -0500 [thread overview]
Message-ID: <53E3AEE7.2070500@amd.com> (raw)
In-Reply-To: <CALU2kf=wEXFQbx2Ar_-LMa+n76NBwp-o1wrrNREXOt4Yf97rqA@mail.gmail.com>
virtio will get you the best performance so why would you want to use
something slower?
-Joel
On 08/07/2014 11:51 AM, Mathew Li wrote:
> Great. VirtIO works for me. Thanks for your help folks!
>
> Is there is any other way to add virtual disk, more like a traditional
> disk to qemu-system-aarch64? For example IDE disk or SATA disk or
> maybe as a SCSI disk?
>
> On Wed, Aug 6, 2014 at 9:48 AM, Joel Schopp <joel.schopp@amd.com> wrote:
>> It turns out that after a recent rebase of my kernel and qemu to the
>> latest the problem is fixed. Rather than hunt down what fixed it I'm
>> just accepting the win and moving on. -smp 4 now works.
>>
>> -Joel
>>
>> On 08/06/2014 11:15 AM, Christoffer Dall wrote:
>>> On Tue, Aug 5, 2014 at 4:18 PM, Joel Schopp <joel.schopp@amd.com> wrote:
>>>> 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.
>>>> I've been running something like this:
>>>>
>>>> qemu-system-aarch64 -smp 1 --enable-kvm -nographic -netdev tap,id=t0,ifname=tap0,script=no,downscript=no,vhost=on -device virtio-net-device,netdev=t0,id=nic0 \
>>>> -kernel /extra/rootfs/boot/Image -drive file=/extra/rootfs.img,id=fs -device virtio-blk-device,drive=fs -m 512 -M virt -cpu host -append "console=ttyAMA0 console=ttyS0 root=/dev/vda"
>>>>
>>>>
>>>> On my system -smp 2 or higher hangs in the guest kernel.
>>> The -smp 2 hang issue is probably due to a missing PSCI v0.2 follow-up
>>> patch to QEMU, you can try:
>>> https://git.linaro.org/people/christoffer.dall/qemu-arm.git/shortlog/refs/heads/psci2-smp-fix
>>>
>>> [disclaimer: there may be a better fix somewhere on the qemu list, I
>>> haven't kept track the last couple of days]
>>>
>>> -Christoffer
next prev parent reply other threads:[~2014-08-07 16:53 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
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 [this message]
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=53E3AEE7.2070500@amd.com \
--to=joel.schopp@amd.com \
--cc=christoffer.dall@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox