A Guide to GPU Passthrough with QEMU/KVM

Main Repo URL Gitlab About this Guide My current setup is the same as was in my Single GPU Passthrough Guide, just with an addition RTX 3070. Two dedicated graphic cards, however, this should also work on intergrated graphic + dedicated graphic card(s), as commonly found on Intel platforms. Laptops could work, possibly, but with many caveats that I am not familiar with. This guide is best served as a compliment to the Arch Wiki: PCI passthrough via OVMF, please take a look at that first if you can, and I will be constantly referencing and linking to the articles in there....

Sep 25, 2022 12:00 · ledisthebest

File Operations Using CLI

Now we know how to navigate around our system, let’s interact with some files: Normally is good to have filenames with extension, but sometime that is not the case on linux/Unix/Unix-like systems, To figure out what type of file it is: file <filename> Copying files to copy some files: cp [options] <source files> <destination> it support wildcards for file names, such as: # this will copy every file with name starts with "image" # and extension of "....

Oct 2, 2022 13:00 · liucreator

Navigating Linux Using CLI (and alternatives)

So I have been daily driving Linux systems on my PCs for a year now, but I still haven’t “learn Linux” systematicly yet, so here I decided to take a course on this, and here are my notes. Basic Navigations When we open up a terminal emulator or TTY, we are usually in our home directory by default. Print Working Directory To see the where we are currently, use:...

Sep 28, 2022 12:00 · liucreator

Learning Rust - Common Programming Concepts

Based on “The Rust Programming” Variables and Mutability Constant are like immutable varibles, but always immutable. declare constants using the const keyword, and the type of the value must be annotated. constants can be declared in any scope, including the global scope. constants may be set only to a constant expression, not the result of a value that could only be computed at runtime. Rust’s naming convention for constants is to use all uppercase with underscores between words, such as THREE_HOURS_IN_SECONDS the compiler is able to evaluate a limited set of operations at compile time, which lets us choose to write out this value in a way that’s easier to understand and verify Shadow is different from a variable marked as mut will get a compile-time error if we accidentally try to reassign to this variable without using the let keyword....

May 30, 2022 00:00 · 9 min · ledisthebest