All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kashyap Chamarthy <kchamart@redhat.com>
To: Development discussions related to Fedora
	<devel@lists.fedoraproject.org>
Cc: linux-riscv@lists.infradead.org, spacemit@lists.linux.dev
Subject: Re: Wiki resource for Fedora RISC-V + KVM on the Spacemit K3 Com260 board
Date: Thu, 1 Oct 2026 21:50:21 +0200	[thread overview]
Message-ID: <ar65faZP8T-4FOJ4@kchamart.csb> (raw)
In-Reply-To: <b143791b-7bba-a6a4-64ac-9c6dc0735ff3@namei.org>

On Tue, Sep 29, 2026 at 04:52:18PM -0700, James Morris wrote:
> Hi Folks,

Hi,

> I've been playing with Fedora RISC-V on the Spacemit K3 Com260 board 
> (which implements full virtualization per the RVA23 spec).
>
> I've captured the bringup process as a wiki with the help of an LLM. This 
> supports a native KVM host running an F44 guest image. It's current for 
> F44, with F45-beta a WIP.
> 
> Wiki: https://github.com/xjamesmorris/k3-com260-info/wiki

Thanks for sharing.  I don't have a K3 CoM260 myself, but some folks on
the Fedora RISC-V Matrix have it.

Looking through your wiki, I see you have an elaborate script for the
KVM part.  At first, the name of the script tricked me
('k3-run-fedora-guest.sh').  From quick skimming, I see it is handling a
lot more than just "running" the guest. It handles the entire guest
lifecycle management with plain QEMU, w/o libvirtd, QMP socket
validation, `flock` syscall handling, qcow2 backing file format
validation (a good security instinct :)) and more.


[1] https://github.com/xjamesmorris/k3-com260-info/blob/57400da095e944c75e63154b1c187e18a3ac3359/k3-com260-fedora-howto/scripts/k3-run-fedora-guest.sh


-- 
Kashyap Chamarthy / Red Hat / RISC-V and Fedora


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

WARNING: multiple messages have this Message-ID (diff)
From: Kashyap Chamarthy <kchamart@redhat.com>
To: Development discussions related to Fedora
	<devel@lists.fedoraproject.org>
Cc: linux-riscv@lists.infradead.org, spacemit@lists.linux.dev
Subject: Re: Wiki resource for Fedora RISC-V + KVM on the Spacemit K3 Com260 board
Date: Thu, 1 Oct 2026 21:50:21 +0200	[thread overview]
Message-ID: <ar65faZP8T-4FOJ4@kchamart.csb> (raw)
In-Reply-To: <b143791b-7bba-a6a4-64ac-9c6dc0735ff3@namei.org>

On Tue, Sep 29, 2026 at 04:52:18PM -0700, James Morris wrote:
> Hi Folks,

Hi,

> I've been playing with Fedora RISC-V on the Spacemit K3 Com260 board 
> (which implements full virtualization per the RVA23 spec).
>
> I've captured the bringup process as a wiki with the help of an LLM. This 
> supports a native KVM host running an F44 guest image. It's current for 
> F44, with F45-beta a WIP.
> 
> Wiki: https://github.com/xjamesmorris/k3-com260-info/wiki

Thanks for sharing.  I don't have a K3 CoM260 myself, but some folks on
the Fedora RISC-V Matrix have it.

Looking through your wiki, I see you have an elaborate script for the
KVM part.  At first, the name of the script tricked me
('k3-run-fedora-guest.sh').  From quick skimming, I see it is handling a
lot more than just "running" the guest. It handles the entire guest
lifecycle management with plain QEMU, w/o libvirtd, QMP socket
validation, `flock` syscall handling, qcow2 backing file format
validation (a good security instinct :)) and more.


[1] https://github.com/xjamesmorris/k3-com260-info/blob/57400da095e944c75e63154b1c187e18a3ac3359/k3-com260-fedora-howto/scripts/k3-run-fedora-guest.sh


-- 
Kashyap Chamarthy / Red Hat / RISC-V and Fedora


  reply	other threads:[~2026-10-01 19:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29 23:52 Wiki resource for Fedora RISC-V + KVM on the Spacemit K3 Com260 board James Morris
2026-09-29 23:52 ` James Morris
2026-10-01 19:50 ` Kashyap Chamarthy [this message]
2026-10-01 19:50   ` Kashyap Chamarthy

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=ar65faZP8T-4FOJ4@kchamart.csb \
    --to=kchamart@redhat.com \
    --cc=devel@lists.fedoraproject.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=spacemit@lists.linux.dev \
    /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.