From: Shannon Zhao <zhaoshenglong@huawei.com>
To: r.sande@samsung.com,
"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
qemu-arm@nongnu.org
Cc: Marc Zyngier <marc.zyngier@arm.com>,
Andre Przywara <andre.przywara@arm.com>,
qemu-devel@nongnu.org,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [Query] Does Linux & Qemu support KVM for ARM32 guest on ARM64 host
Date: Thu, 28 Apr 2016 10:33:50 +0800 [thread overview]
Message-ID: <5721768E.407@huawei.com> (raw)
In-Reply-To: <BE.E9.04928.D4C61275@epcpsbgx1.samsung.com>
On 2016/4/28 9:50, RAVINDRA KUMAR SANDE wrote:
>
> What I did :
> 1) Just for investigation, I took a ARMv8 ( OdroidC2 ) board
> 2) I compiled Linux 3.14 with KVM support for this ARMv8 ( OdroidC2 )
> board, with modification replacing meson_timer by arm timer in its dts
> file.
> Why Linux 3.14 : I took Linux 3.14 because display drivers for this
> board are officially for this version; and I am interested in seeing
> some Linux guest booting with display on.
> 3) I see from boot log of that KVM is initialized successfully, and I
> can see /dev/kvm node.
> 4) I built latest Qemu with --enable-kvm on this board natively.
>
> What I find :
> 1) running "qemu-system-arm -enable-kvm -machine vexpress-a9 ...."
> gives error : no accelerator found
> 2) running "qemu-system-aarch64 -enable-kvm -machine vexpress-a9 ...."
> gives error : kmv_init_vcpu (IOCtl on /dev/kvm) failed, guest not supported
> ( I experimented some modifications as well to overcome above error,
> such as replacing value assigned to cpu->kvm_target etc, but IOCtl call
> is failing)
>
> Query:
> 1) Does Arm64 Linux not enable KVM support for Arm32 guest ?
> 2) Can qemu-system-arm not use the KVM feature on Arm64 host ?
> 3) Can qemu-system-aarch64 not use KVM feature for Arm32 guest ?
>
You can use below command to boot a ARM32 guest on ARM64:
qemu-system-aarch64 -enable-kvm -machine virt,kernel_irqchip=on -cpu
host,aarch64=off ....
--
Shannon
WARNING: multiple messages have this Message-ID (diff)
From: Shannon Zhao <zhaoshenglong@huawei.com>
To: <r.sande@samsung.com>,
"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
<qemu-arm@nongnu.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>,
Andre Przywara <andre.przywara@arm.com>,
qemu-devel@nongnu.org,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [Qemu-arm] [Query] Does Linux & Qemu support KVM for ARM32 guest on ARM64 host
Date: Thu, 28 Apr 2016 10:33:50 +0800 [thread overview]
Message-ID: <5721768E.407@huawei.com> (raw)
In-Reply-To: <BE.E9.04928.D4C61275@epcpsbgx1.samsung.com>
On 2016/4/28 9:50, RAVINDRA KUMAR SANDE wrote:
>
> What I did :
> 1) Just for investigation, I took a ARMv8 ( OdroidC2 ) board
> 2) I compiled Linux 3.14 with KVM support for this ARMv8 ( OdroidC2 )
> board, with modification replacing meson_timer by arm timer in its dts
> file.
> Why Linux 3.14 : I took Linux 3.14 because display drivers for this
> board are officially for this version; and I am interested in seeing
> some Linux guest booting with display on.
> 3) I see from boot log of that KVM is initialized successfully, and I
> can see /dev/kvm node.
> 4) I built latest Qemu with --enable-kvm on this board natively.
>
> What I find :
> 1) running "qemu-system-arm -enable-kvm -machine vexpress-a9 ...."
> gives error : no accelerator found
> 2) running "qemu-system-aarch64 -enable-kvm -machine vexpress-a9 ...."
> gives error : kmv_init_vcpu (IOCtl on /dev/kvm) failed, guest not supported
> ( I experimented some modifications as well to overcome above error,
> such as replacing value assigned to cpu->kvm_target etc, but IOCtl call
> is failing)
>
> Query:
> 1) Does Arm64 Linux not enable KVM support for Arm32 guest ?
> 2) Can qemu-system-arm not use the KVM feature on Arm64 host ?
> 3) Can qemu-system-aarch64 not use KVM feature for Arm32 guest ?
>
You can use below command to boot a ARM32 guest on ARM64:
qemu-system-aarch64 -enable-kvm -machine virt,kernel_irqchip=on -cpu
host,aarch64=off ....
--
Shannon
WARNING: multiple messages have this Message-ID (diff)
From: zhaoshenglong@huawei.com (Shannon Zhao)
To: linux-arm-kernel@lists.infradead.org
Subject: [Query] Does Linux & Qemu support KVM for ARM32 guest on ARM64 host
Date: Thu, 28 Apr 2016 10:33:50 +0800 [thread overview]
Message-ID: <5721768E.407@huawei.com> (raw)
In-Reply-To: <BE.E9.04928.D4C61275@epcpsbgx1.samsung.com>
On 2016/4/28 9:50, RAVINDRA KUMAR SANDE wrote:
>
> What I did :
> 1) Just for investigation, I took a ARMv8 ( OdroidC2 ) board
> 2) I compiled Linux 3.14 with KVM support for this ARMv8 ( OdroidC2 )
> board, with modification replacing meson_timer by arm timer in its dts
> file.
> Why Linux 3.14 : I took Linux 3.14 because display drivers for this
> board are officially for this version; and I am interested in seeing
> some Linux guest booting with display on.
> 3) I see from boot log of that KVM is initialized successfully, and I
> can see /dev/kvm node.
> 4) I built latest Qemu with --enable-kvm on this board natively.
>
> What I find :
> 1) running "qemu-system-arm -enable-kvm -machine vexpress-a9 ...."
> gives error : no accelerator found
> 2) running "qemu-system-aarch64 -enable-kvm -machine vexpress-a9 ...."
> gives error : kmv_init_vcpu (IOCtl on /dev/kvm) failed, guest not supported
> ( I experimented some modifications as well to overcome above error,
> such as replacing value assigned to cpu->kvm_target etc, but IOCtl call
> is failing)
>
> Query:
> 1) Does Arm64 Linux not enable KVM support for Arm32 guest ?
> 2) Can qemu-system-arm not use the KVM feature on Arm64 host ?
> 3) Can qemu-system-aarch64 not use KVM feature for Arm32 guest ?
>
You can use below command to boot a ARM32 guest on ARM64?
qemu-system-aarch64 -enable-kvm -machine virt,kernel_irqchip=on -cpu
host,aarch64=off ....
--
Shannon
WARNING: multiple messages have this Message-ID (diff)
From: Shannon Zhao <zhaoshenglong@huawei.com>
To: <r.sande@samsung.com>,
"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
<qemu-arm@nongnu.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>,
Andre Przywara <andre.przywara@arm.com>,
qemu-devel@nongnu.org,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [Query] Does Linux & Qemu support KVM for ARM32 guest on ARM64 host
Date: Thu, 28 Apr 2016 10:33:50 +0800 [thread overview]
Message-ID: <5721768E.407@huawei.com> (raw)
In-Reply-To: <BE.E9.04928.D4C61275@epcpsbgx1.samsung.com>
On 2016/4/28 9:50, RAVINDRA KUMAR SANDE wrote:
>
> What I did :
> 1) Just for investigation, I took a ARMv8 ( OdroidC2 ) board
> 2) I compiled Linux 3.14 with KVM support for this ARMv8 ( OdroidC2 )
> board, with modification replacing meson_timer by arm timer in its dts
> file.
> Why Linux 3.14 : I took Linux 3.14 because display drivers for this
> board are officially for this version; and I am interested in seeing
> some Linux guest booting with display on.
> 3) I see from boot log of that KVM is initialized successfully, and I
> can see /dev/kvm node.
> 4) I built latest Qemu with --enable-kvm on this board natively.
>
> What I find :
> 1) running "qemu-system-arm -enable-kvm -machine vexpress-a9 ...."
> gives error : no accelerator found
> 2) running "qemu-system-aarch64 -enable-kvm -machine vexpress-a9 ...."
> gives error : kmv_init_vcpu (IOCtl on /dev/kvm) failed, guest not supported
> ( I experimented some modifications as well to overcome above error,
> such as replacing value assigned to cpu->kvm_target etc, but IOCtl call
> is failing)
>
> Query:
> 1) Does Arm64 Linux not enable KVM support for Arm32 guest ?
> 2) Can qemu-system-arm not use the KVM feature on Arm64 host ?
> 3) Can qemu-system-aarch64 not use KVM feature for Arm32 guest ?
>
You can use below command to boot a ARM32 guest on ARM64:
qemu-system-aarch64 -enable-kvm -machine virt,kernel_irqchip=on -cpu
host,aarch64=off ....
--
Shannon
WARNING: multiple messages have this Message-ID (diff)
From: Shannon Zhao <zhaoshenglong@huawei.com>
To: r.sande@samsung.com,
"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
qemu-arm@nongnu.org
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Marc Zyngier <marc.zyngier@arm.com>,
Andre Przywara <andre.przywara@arm.com>,
qemu-devel@nongnu.org,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [Qemu-devel] [Query] Does Linux & Qemu support KVM for ARM32 guest on ARM64 host
Date: Thu, 28 Apr 2016 10:33:50 +0800 [thread overview]
Message-ID: <5721768E.407@huawei.com> (raw)
In-Reply-To: <BE.E9.04928.D4C61275@epcpsbgx1.samsung.com>
On 2016/4/28 9:50, RAVINDRA KUMAR SANDE wrote:
>
> What I did :
> 1) Just for investigation, I took a ARMv8 ( OdroidC2 ) board
> 2) I compiled Linux 3.14 with KVM support for this ARMv8 ( OdroidC2 )
> board, with modification replacing meson_timer by arm timer in its dts
> file.
> Why Linux 3.14 : I took Linux 3.14 because display drivers for this
> board are officially for this version; and I am interested in seeing
> some Linux guest booting with display on.
> 3) I see from boot log of that KVM is initialized successfully, and I
> can see /dev/kvm node.
> 4) I built latest Qemu with --enable-kvm on this board natively.
>
> What I find :
> 1) running "qemu-system-arm -enable-kvm -machine vexpress-a9 ...."
> gives error : no accelerator found
> 2) running "qemu-system-aarch64 -enable-kvm -machine vexpress-a9 ...."
> gives error : kmv_init_vcpu (IOCtl on /dev/kvm) failed, guest not supported
> ( I experimented some modifications as well to overcome above error,
> such as replacing value assigned to cpu->kvm_target etc, but IOCtl call
> is failing)
>
> Query:
> 1) Does Arm64 Linux not enable KVM support for Arm32 guest ?
> 2) Can qemu-system-arm not use the KVM feature on Arm64 host ?
> 3) Can qemu-system-aarch64 not use KVM feature for Arm32 guest ?
>
You can use below command to boot a ARM32 guest on ARM64:
qemu-system-aarch64 -enable-kvm -machine virt,kernel_irqchip=on -cpu
host,aarch64=off ....
--
Shannon
next prev parent reply other threads:[~2016-04-28 2:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 1:50 [Query] Does Linux & Qemu support KVM for ARM32 guest on ARM64 host RAVINDRA KUMAR SANDE
2016-04-28 2:33 ` Shannon Zhao [this message]
2016-04-28 2:33 ` [Qemu-devel] " Shannon Zhao
2016-04-28 2:33 ` Shannon Zhao
2016-04-28 2:33 ` Shannon Zhao
2016-04-28 2:33 ` [Qemu-arm] " Shannon Zhao
-- strict thread matches above, loose matches on Subject: below --
2016-04-28 6:03 RAVINDRA KUMAR SANDE
2016-04-28 6:46 ` Peter Maydell
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=5721768E.407@huawei.com \
--to=zhaoshenglong@huawei.com \
--cc=andre.przywara@arm.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=marc.zyngier@arm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=r.sande@samsung.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.