pwshub.com

Xen to RISC-V port progresses with foundational efforts

The effort to bring the Xen hypervisor to the RISC-V instruction set architecture has advanced – a little – but big jobs that would make both projects a contender for more workloads are still on developers' to-do lists.

The Register offers that assertion after a Monday post from Vates – the org that gave the world the Xen fork XCP-NG and has taken a leading role in bringing the open source hypervisor to the permissively-licensed world of RISC-V.

"One of the most notable advancements has been the integration of several patch series into Xen's staging branch (which is already a great success by itself, knowing the code quality level in Xen)," the post opens, adding that "These patches primarily focus on leveraging Xen's common codebase to reduce redundant architecture-specific code. This move streamlines development and helps to future-proof the codebase for multi-architecture compatibility."

The post offers some examples of that effort, leading with implementation of "previously introduced generic handling macros from <xen/bug.h>, like BUG(), WARN(), and others, [which] can now be used with minimal additional code."

"The primary task is defining BUG_INSN, which enables the proper handling of these macros and related sections in the linker file (lds.S). This simplification reduces the need for complex, architecture-specific implementations," the post adds.

Worthy foundational stuff, then.

  • SiFive expands from RISC-V cores for AI chips to designing its own full-fat accelerator
  • Faulty instructions in Alibaba's T-Head C910 RISC-V CPUs blow away all security
  • World's first RISC-V laptop with Ubuntu preloaded touts AI smarts and octa-core chip
  • Lenovo brings virtualization, cloud stack to Chinese chip designer Loongson's CPU arch

"To build a fully functioning Xen environment on RISC-V, several architecture-specific header files have been introduced," the post adds. Some of those headers are placeholders needed to satisfy common code dependencies during the build process. Others add code that's needed to make Xen work on RISC-V, namely:

Some other features are already in development – among them interrupt handling, device tree mapping to help the hypervisor manage hardware, page table handling to manage memory, and extensions to handle inter-processor comms.

The post states these features are "will be introduced soon," but also reveals that some important items remain on developers' to-do lists. Among those are device passthrough that would allow Xen-on-Risc-V to access physical devices, and efficient memory isolation.

Both are necessary to make the combination of Xen and RISC-V a contender for the kind of machines and workloads that enjoy the isolation and security afforded by virtual machines – servers, edge devices, and automotive kit – but there's no timeframe on their arrival.

Vates did offer an optimistic view of this project's future by writing "The pace of development for Xen on RISC-V is accelerating." ®

Source: theregister.com

Related stories
1 month ago - The Xen Project has delivered a new cut of its open source hypervisor. Version 4.19 debuted on Thursday, billed as "a significant milestone in...
1 month ago - It needs to – Virtzilla's customers, allies, and enemies are all pondering off-ramps and trying to lure unhappy users VMware Explore Adopting – or increasing the use of – a proprietary computing architecture like IBM's POWER is a very...
1 month ago - The latest round of Half-Life 3 rumors seem to have started with a voice actor spilling the beans accidentally, followed by corroboration via data mining. However, it actually was the other way around, so we'll start chronologically.Read...
1 week ago - VirtualBox, Parallels, and VMware have all upgraded September has been a big month for desktop hypervisors, with the field's big players all delivering significant updates.…
Other stories
14 minutes ago - When robots.txt just ain't cutting the mustard Cloudflare on Monday expanded its defense against the dark arts of AI web scrapers by providing customers with a bit more visibility into, and control over, unwelcome content raids.…
59 minutes ago - Need protein in a pinch? Here's a quick and easy cooking hack to perfectly make poached eggs.
59 minutes ago - Security is key, especially when it comes to keeping your home and everyone and everything in it secure. So check out our picks for the best indoor security cameras, tested by our very own CNET experts.
4 hours ago - Duolingo, a CNET Editors' Choice Award pick, announced at Tuesday's virtual Duocon conference that it's introducing two new features to its language...
5 hours ago - Here's today's Connections answer and hints for groups. These clues will help you solve New York Times' popular puzzle game, Connections, every day!