<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz" -->

---
title: Quick hack: Experiments with crosvm | daily.dev
description: A hands-on experiment running crosvm, Google&#x27;s Rust-based KVM monitor from Chromium OS, on Fedora 26 for application isolation research. The post walks through...
canonical: https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Quick hack: Experiments with crosvm | daily.dev
og:description: A hands-on experiment running crosvm, Google&#x27;s Rust-based KVM monitor from Chromium OS, on Fedora 26 for application isolation research. The post walks through...
og:url: https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz
og:image: https://api.daily.dev/og/posts/qFTK6yXGz.png
og:image:alt: Quick hack: Experiments with crosvm
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick hack: Experiments with crosvm

**[Collabora Blog](https://daily.dev/sources/collabora)** · 2 min read · 0 upvotes · 0 comments

## Summary

A hands-on experiment running crosvm, Google's Rust-based KVM monitor from Chromium OS, on Fedora 26 for application isolation research. The post walks through building the Linux kernel (v4.12), minijail, and crosvm from source, generating a rootfs with debootstrap, and launching a VM — working around the lack of minijail distro packages using linker environment variables. Future work targets Wayland guest-host compositor integration and efficient GPU passthrough.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.collabora.com/news-and-blog/blog/2017/11/09/quick-hack-experiments-with-crosvm>

## Questions this post answers

### How do I build and run crosvm outside Chromium OS without installing minijail system-wide?

Clone minijail from the Android source tree and build it locally, then pass its path via LIBRARY_PATH when building crosvm with cargo, and LD_LIBRARY_PATH when running it. The full flow is: build a Linux kernel (v4.12 tested), build minijail, run `LIBRARY_PATH=~/src/minijail cargo build` inside the crosvm repo, create an ext4 rootfs with debootstrap, then launch with `LD_LIBRARY_PATH=~/src/minijail ./target/debug/crosvm run`.

_Developers experimenting with Linux virtualization and sandboxing share findings like these on daily.dev._

## Similar posts on daily.dev

- [Sandbox AI coding agents with microVMs on Fedora Linux](https://daily.dev/posts/sandbox-ai-coding-agents-with-microvms-on-fedora-linux-xfe5hlygw) · Fedora Magazine · 0 upvotes · 0 comments
- [Your Container Is Not a Sandbox](https://daily.dev/posts/your-container-is-not-a-sandbox-dkskd3kl8) · Lobsters · 26 upvotes · 1 comments
- [We rebuilt the Linux microVM stack on Apple Silicon](https://daily.dev/posts/we-rebuilt-the-linux-microvm-stack-on-apple-silicon-2hmxgetth) · Encore · 21 upvotes · 2 comments
- [New Linux kernel flaw allows VM escape on Intel, AMD devices](https://daily.dev/posts/new-linux-kernel-flaw-allows-vm-escape-on-intel-amd-devices-pgteqqq1i) · BleepingComputer · 2 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#infrastructure](https://daily.dev/tags/infrastructure), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Quick hack: Experiments with crosvm","url":"https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz"},"datePublished":"2026-08-11T08:56:23.099Z","dateModified":"2026-08-11T09:30:18.906Z","description":"A hands-on experiment running crosvm, Google's Rust-based KVM monitor from Chromium OS, on Fedora 26 for application isolation research. The post walks through...","image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","thumbnailUrl":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","isAccessibleForFree":true,"articleSection":"Collabora Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collabora Blog","logo":"https://media.daily.dev/image/upload/s--ZGZ0FjqS--/f_auto,q_auto/v1786438306/logos/collabora?_a=BAMAMicg0","url":"https://daily.dev/sources/collabora"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,infrastructure,rust","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collabora Blog","item":"https://daily.dev/sources/collabora"},{"@type":"ListItem","position":3,"name":"Quick hack: Experiments with crosvm"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/quick-hack-experiments-with-crosvm-qftk6yxgz#faq","mainEntity":[{"@type":"Question","name":"How do I build and run crosvm outside Chromium OS without installing minijail system-wide?","acceptedAnswer":{"@type":"Answer","text":"Clone minijail from the Android source tree and build it locally, then pass its path via LIBRARY_PATH when building crosvm with cargo, and LD_LIBRARY_PATH when running it. The full flow is: build a Linux kernel (v4.12 tested), build minijail, run `LIBRARY_PATH=~/src/minijail cargo build` inside the crosvm repo, create an ext4 rootfs with debootstrap, then launch with `LD_LIBRARY_PATH=~/src/minijail ./target/debug/crosvm run`. Developers experimenting with Linux virtualization and sandboxing share findings like these on daily.dev."}}]}
```

