#virtio — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #virtio, aggregated by home.social.
-
Паравиртуализация при отладке графических приложений KasperskyOS в QEMU
Привет! Меня зовут Денис Молодяков, я — тимлид команды графики в KasperskyOS . Мы отвечаем за разработку графического стека полного цикла для микроядерной ОС: от создания низкоуровневых графических драйверов до всего необходимого для фреймворков. Современная реальность разработки диктует новые правила: удаленка и распределенные команды стали нормой. Моя команда не исключение — ребята базируются в разных регионах. При этом каждому разработчику требуется доступ к аппаратным платформам для сборки, запуска ОС, написания и отладки драйверов. Обеспечение каждого сотрудника полным набором плат сопряжено с серьезными логистическими и финансовыми затратами. В этой статье я хочу рассказать, как мы искали оптимальное решение этой проблемы и почему пришли к использованию методики паравиртуализации.
https://habr.com/ru/companies/kaspersky/articles/1067226/
#gpu #virtio #ci #системное_программирование #паравиртуализация #микроядро #wayland #kasperskyos #qemu #виртуализация
-
#FreeBSD #virtio #vsock a couple of months ago I worked on hooking https://github.com/apple/container up so it could run FreeBSD which is obviously far more useful to my community.
This was a relatively trivial exercise involving adding an additional tty and abusing it with a JSON line protocol to exchange messages with a crappy little daemon.
That worked enough, and was enough to nerd snipe much smarter people than me to look at doing it properly, using the VSOCK API.
Here’s a nice article on doing that for #linux with go - https://mdlayher.com/blog/linux-vm-sockets-in-go/
Keep an eye out on CURRENT as other parts of this land for FreeBSD:
⁃ Danilo‘s original work https://www.freebsd.org/status/report-2024-07-2024-09/vsock/
⁃ Mina‘s work which I only just discovered https://codeberg.org/meena/vsock-tests & https://codeberg.org/meena/freebsd-src/src/branch/vsock
⁃ Faraz‘s recent additions https://github.com/freebsd/freebsd-src/pull/2319 & https://github.com/freebsd/freebsd-src/pull/2322 -
Wie man #QEMU und #Virt-Manager installiert und danach ein Windows mit den #Virtio-Treibern installiert.
Mir hat schon immer eine Erklärung für den Virt-Manager gefehlt, die vom Anfang zum Ende führt, weswegen ich schon öfter die Virtualbox verwendet habe, die aber auch öfter Probleme hat. Weswegen ich das hier für mich und andere einmal zusammenfasse.
-
Friends don't let friends expose #usb devices to their #qemu guests, especially when #virtio is right there. The usb sub-system is one of our older ones and is currently Orphaned will all the security implications that entails. We don't need more #llm driven vulnerability scanning - we need maintainers who know the problem domain taking the reigns.
-
This previous weekend I wrote and Submitted Rust bindings for virtio drivers in the Linux kernel mailing list including a WIP sample driver for virtio-rtc device https://lore.kernel.org/all/20260505-r[email protected]/
#Virtualization #RustForLinux #kernel #RustLang #virtio -
Virtualisation on Apple silicon Macs is different
-
as far as I understand
#Xen: What is the minimal hardware we need to emulate to get a VM? We might need to customise/change the operating system.
qemu(+kvm): Let's emulate the full PC with mainboard and all chipsets and everything. Damn that is slow. Lets reinvent optimised virtual hardware in the #VirtIO project.
-
@alfonsosiciliano confirmed:
– the bug is reproducible without the desktop script.
-
Another subprocess for vmd(8) https://www.undeadly.org/cgi?action=article;sid=20260226110600 #openbsd #vmd #virtualization #virtio
-
Getting started with a cool new project: building my own minimalist Linux OS for x86_64 using Buildroot! 🛠️
Just finished the full cross-compilation with the pc_x86_64_bios_defconfig. The resulting tiny system is up and running in QEMU.
Excited to spend the next few days exploring Buildroot's potential, from custom kernels to package management. Time to dig into the embedded world! 🚀
#Buildroot #Linux #EmbeddedSystems #QEMU #CrossCompilation #OSDev #VirtIO #OpenSource
-
@joeress another one where it was useful was generating a cut down test case for #latex. I was diagnosing a problem with the #virtio specs caused by a regression in htlatex and #gemini was able to generate a nice concise reproducer much faster than I could have.
We got a bunch of security reports for #qemu recently: https://gitlab.com/sculizhenghao. Fortunately these were not slop reports and having test cases with the reports was very useful.
-
So I was curious about VirtioFS today and decided to satisfy that curiosity with the Help of Gemini DeepResearch. The Resulting document was an interesting read. It looks like the Tool manages not to Hallucinate as it has direct sources. The Part that VirtioFS is basically FUSE was new to me. When I finished reading it I thought, maybe some people might like this read aswell.
https://www.wegmueller.it/blog/Implementing%20Virtiofs%20Driver%20in%20Illumos%20Rust/
-
So … while this is obviously nice for virtualized gaming, what about video decode/encode acceleration?
Is there a way to give a #Linux guest access to the host #GPU's video codec acceleration without GPU passthrough?
Just like it's possible to pass /dev/dri into a container, can I do a similar thing with a #QEMU / #KVM virtual machine?
#libvirt #virtualization #HWAccel #VideoEncoding #VirtIO #VirtIOGPU #VirGL
-
@tulilirockz I'm sure it all it would really take is someone putting together a DirectX pass-through driver over #VirtIO in the same way Mesa can encapsulate OpenGL or Vulkan. #wine/#proton should understand enough to be able to render DirectX on the host side. I don't know how many #FLOSS folks there are that want to hack on Windows drivers.
-
One Open-source Project Daily
Quickly create and run optimised Windows, macOS and Linux virtual machines
https://github.com/quickemu-project/quickemu
#1ospd #opensource #efi #hackintosh #hacktoberfest #kvm #linux #macos #qemu #spice #tpm #virgl #virglrenderer #virtio #virtualization #windows -
So, to allow a linux vm to access a directory from Fedora host with virtio-9p, I'll need to run:
# semanage fcontext -a -t svirt_home_t "/some/dir"
# restorecon -vR /some/dirIdk why sealert offers this non-working solution instead. It's really weird.:
# semanage fcontext -a -t virt_image_t 'dir'
# restorecon -v 'dir'#fedora #linux #selinux #qemu #kvm #vm #virtualmachines #9p #virtio #fedora42 #virtmanager
-
Introduction to VirtIO, Part 2: Vhost
https://blogs.oracle.com/linux/post/introduction-to-virtio-part-2-vhost
Jonah Palmer writes: ""[…] #Vhost is a key optimization to #VirtIO that was created to offload data-plane processing from #Qemu into more efficient components.
We’ll start off by taking a more in-depth look into the causes of overhead in the data plane of a pure VirtIO configuration. We’ll talk about the costly operations that are involved, such as VM exits, VM entries, context switches, and userspace processing by Qemu. Then we’ll introduce vhost and elaborate on how it addresses these issues by moving data-plane operations either into the kernel (kernel-based vhost) or into a specialized userspace process (via vhost-user).
We’ll then dive into both #kernel-based vhost and vhost-user architectures, examining each in detail—including their advantages, drawbacks, typical use cases, and how they affect performance. […]"