qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Is it possible to boot a riscv32 guest on riscv64 host using KVM?
@ 2023-06-26 11:27 Philippe Mathieu-Daudé
  2023-06-27 13:24 ` Anup Patel
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-06-26 11:27 UTC (permalink / raw)
  To: Yifei Jiang, Mingwang Li, Alistair Francis, Anup Patel
  Cc: qemu-riscv, QEMU Developers, Paolo Bonzini

Hi,

I'm working on a tree-wide accelerator refactor and want
to run various configs to be sure I didn't broke anything.

QEMU theoretically supports running a riscv32 guest using
KVM on a riscv64 host, however the documentation I'm finding
only refers to riscv64 guests:
https://github.com/kvm-riscv/howto/wiki

So I wonder, is this a valid / supported config? If so,
do you mind helping me with pointing me to a guest image
and its command line?

Thanks,

Phil.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is it possible to boot a riscv32 guest on riscv64 host using KVM?
  2023-06-26 11:27 Is it possible to boot a riscv32 guest on riscv64 host using KVM? Philippe Mathieu-Daudé
@ 2023-06-27 13:24 ` Anup Patel
  2023-06-27 14:31   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: Anup Patel @ 2023-06-27 13:24 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Yifei Jiang, Mingwang Li, Alistair Francis, qemu-riscv,
	QEMU Developers, Paolo Bonzini

On Mon, Jun 26, 2023 at 4:57 PM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
>
> Hi,
>
> I'm working on a tree-wide accelerator refactor and want
> to run various configs to be sure I didn't broke anything.
>
> QEMU theoretically supports running a riscv32 guest using
> KVM on a riscv64 host, however the documentation I'm finding
> only refers to riscv64 guests:
> https://github.com/kvm-riscv/howto/wiki
>
> So I wonder, is this a valid / supported config? If so,
> do you mind helping me with pointing me to a guest image
> and its command line?

Currently, we only support running rv64 guest on rv64 host
and rv32 guest on rv32 host.

In the future, we might support running rv32 guest on rv64 host
but as of now we don't see a strong push for it.

Regards,
Anup

>
> Thanks,
>
> Phil.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is it possible to boot a riscv32 guest on riscv64 host using KVM?
  2023-06-27 13:24 ` Anup Patel
@ 2023-06-27 14:31   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-06-27 14:31 UTC (permalink / raw)
  To: Anup Patel
  Cc: Yifei Jiang, Mingwang Li, Alistair Francis, qemu-riscv,
	QEMU Developers, Paolo Bonzini

On 27/6/23 15:24, Anup Patel wrote:
> On Mon, Jun 26, 2023 at 4:57 PM Philippe Mathieu-Daudé
> <philmd@linaro.org> wrote:
>>
>> Hi,
>>
>> I'm working on a tree-wide accelerator refactor and want
>> to run various configs to be sure I didn't broke anything.
>>
>> QEMU theoretically supports running a riscv32 guest using
>> KVM on a riscv64 host, however the documentation I'm finding
>> only refers to riscv64 guests:
>> https://github.com/kvm-riscv/howto/wiki
>>
>> So I wonder, is this a valid / supported config? If so,
>> do you mind helping me with pointing me to a guest image
>> and its command line?
> 
> Currently, we only support running rv64 guest on rv64 host
> and rv32 guest on rv32 host.

Good news, less configs to test!

Thank you,

Phil.

> In the future, we might support running rv32 guest on rv64 host
> but as of now we don't see a strong push for it.
> 
> Regards,
> Anup
> 
>>
>> Thanks,
>>
>> Phil.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-27 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 11:27 Is it possible to boot a riscv32 guest on riscv64 host using KVM? Philippe Mathieu-Daudé
2023-06-27 13:24 ` Anup Patel
2023-06-27 14:31   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).